Skip to content

Commit

Permalink
Merge remote-tracking branch 'tlaurion-github/generate_passphrase-reo…
Browse files Browse the repository at this point in the history
…wnership_qr_code' into introduce_quiet_mode-diceware_STAGING

Signed-off-by: Thierry Laurion <[email protected]>
  • Loading branch information
tlaurion committed Dec 7, 2024
2 parents ae97467 + 4b4ac60 commit 0166533
Show file tree
Hide file tree
Showing 7 changed files with 2,849 additions and 1,135 deletions.
10 changes: 10 additions & 0 deletions initrd/bin/kexec-sign-config
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ assert_signable

confirm_gpg_card

# remount /boot as rw
mount -o remount,rw /boot

# update hashes in /boot before signing
if [ "$update" = "y" ]; then
(
Expand Down Expand Up @@ -81,8 +84,15 @@ for tries in 1 2 3; do
; then
# successful - update the validated params
check_config $paramsdir

# remount /boot as ro
mount -o remount,ro /boot

exit 0
fi
done

# remount /boot as ro
mount -o remount,ro /boot

die "$paramsdir: Unable to sign kexec hashes"
Loading

0 comments on commit 0166533

Please sign in to comment.