commit fb212c12d0aec4f2932eaffe963a6191ab406e04
parent 4006a3ecc03f3ecbb73074ae81bff35dc70ea3ca
Author: parazyd <parazyd@dyne.org>
Date: Sun, 5 Nov 2017 23:15:07 +0100
zlibs/iso: change initrd to initrd.img
grub-efi looks for initrd.img and this seems like a sane way to mitigate
without hacks
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/zlibs/iso b/zlibs/iso
@@ -49,7 +49,7 @@ iso_setup_isolinux() {
sudo mkdir -p binary/{live,isolinux}
act "copying kernel and initrd"
sudo cp $strapdir/boot/vmlinuz* binary/live/vmlinuz
- sudo cp $strapdir/boot/initrd* binary/live/initrd
+ sudo cp $strapdir/boot/initrd* binary/live/initrd.img
#sudo cp $strapdir/boot/memtest86+.bin binary/live/memtest
sudo cp "$R"/extra/syslinux/isolinux.bin binary/isolinux || zerr
@@ -74,7 +74,7 @@ label live-${arch}
menu label ^${os} live (${arch})
menu default
linux /live/vmlinuz
-append initrd=/live/initrd boot=live
+append initrd=/live/initrd.img boot=live
endtext
EOF