diff options
-rw-r--r-- | prepare-lastboot | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/prepare-lastboot b/prepare-lastboot index f13afc2..21ab825 100644 --- a/prepare-lastboot +++ b/prepare-lastboot @@ -36,6 +36,7 @@ if [ "$ROOT_FS" = "$BASE/$DEFAULT" ]; then echo "unpack current initramfs to /boot/initramfs-$(uname -r).img" objcopy -O binary -j.initrd "$EFI_DIR/EFI/Linux/$LASTBOOT-$DEFAULT.efi" "/boot/initramfs-$(uname -r).img" + chmod a-x "/boot/initramfs-$(uname -r).img" else echo "not booted to $BASE/$DEFAULT, taking no action" fi |