diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2023-11-26 21:30:01 +0100 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2023-11-26 21:30:01 +0100 |
commit | b1b3c063d4f5de12fc17f8b705c18f331fde61df (patch) | |
tree | 5c2bd9cfd39a8d0cfed82d90a7412e8216f26037 | |
parent | 6d8358b99589ec7f07d1c1316f5eb250726ba753 (diff) | |
download | prepare-lastboot-b1b3c063d4f5de12fc17f8b705c18f331fde61df.tar.gz prepare-lastboot-b1b3c063d4f5de12fc17f8b705c18f331fde61df.tar.bz2 prepare-lastboot-b1b3c063d4f5de12fc17f8b705c18f331fde61df.zip |
Remove executable flag from initramfs copyv1.4
-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 |