From d246fd5f0f09f43af32f2034cec37e43c76e520c Mon Sep 17 00:00:00 2001 From: Tommy Date: Thu, 6 Jun 2024 13:01:03 -0700 Subject: [PATCH] Generate secureboot keys in arch-chroot --- easy-arch.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/easy-arch.sh b/easy-arch.sh index 675950e..f000e38 100755 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -411,6 +411,10 @@ arch-chroot /mnt /bin/bash -e </dev/null + # Create SecureBoot keys. + # This isn't strictly necessary, linux-hardened preset expects it and mkinitcpio will fail without it. + sbctl create-keys + # Generating a new initramfs. mkinitcpio -P &>/dev/null