You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to build safeboot-hooks into the initramfs doesn't work right now with kernels 5.10 and 5.11. It appears that this is because safeboot-hooks runs set -e, while hook-functions returns a 1 if the file already exists in the initramfs (i.e. this is probably not an error?) and error codes >1 for other errors.
Proposed solution: add a wrapper to safeboot-hooks to make idempotent copies to the initramfs and replace all calls to copy_file with it:
Attempting to build safeboot-hooks into the initramfs doesn't work right now with kernels 5.10 and 5.11. It appears that this is because
safeboot-hooks
runsset -e
, whilehook-functions
returns a 1 if the file already exists in the initramfs (i.e. this is probably not an error?) and error codes >1 for other errors.Proposed solution: add a wrapper to
safeboot-hooks
to make idempotent copies to the initramfs and replace all calls tocopy_file
with it:The text was updated successfully, but these errors were encountered: