|
|
@@ -174,6 +174,9 @@ function chrootStep {
|
|
|
systemctl enable NetworkManager >&2 || exit $?
|
|
|
systemctl start NetworkManager >&2 || exit $?
|
|
|
|
|
|
+ printf "Install bootloader (systemd-boot)\n" | tee -a $LOGFILE
|
|
|
+ bootctl install
|
|
|
+
|
|
|
printf "Add decryption kernel options for UKI images\n" | tee -a $LOGFILE
|
|
|
LUKSUUID=$(blkid | grep "${ROOTPART}" | sed -E 's/^.*\bUUID\b="(\S+)".*$/\1/') || exit $?
|
|
|
mkdir -p /etc/cmdline.d >&2 || exit $?
|
|
|
@@ -190,9 +193,6 @@ function chrootStep {
|
|
|
printf "Rebuild kernel\n" | tee -a $LOGFILE
|
|
|
mkinitcpio -p linux 2>&1 || exit $?
|
|
|
|
|
|
- printf "Install bootloader (systemd-boot)\n" | tee -a $LOGFILE
|
|
|
- bootctl install
|
|
|
-
|
|
|
printf "Exiting chroot\n" | tee -a $LOGFILE
|
|
|
exit
|
|
|
}
|