From 1ec415e852e5bce150c393efd19b5a1f58c30bd5 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 3 Oct 2019 20:28:11 +0000 Subject: [PATCH] Build now needs to do less work as the /EFI/Boot stucture is now correct in the source --- build | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/build b/build index 4fb2751..f9e3536 100755 --- a/build +++ b/build @@ -49,16 +49,13 @@ if [ "$INITRAMFS" != "" ]; then mv "$INITRAMFS" $BOOT/initrfs.img fi -# BIOS / MBR booting -cp bootfiles/* $BOOT +cp -r bootfiles/* $BOOT cat bootfiles/syslinux.cfg | sed -r "s:/boot/:/$LIVEKITNAME/boot/:" > $BOOT/syslinux.cfg cat bootfiles/bootinst.bat | sed -r "s:/boot/:/$LIVEKITNAME/boot/:" | sed -r "s:\\\\boot\\\\:\\\\$LIVEKITNAME\\\\boot\\\\:" > $BOOT/bootinst.bat cp $VMLINUZ $BOOT/ || exit # UEFI booting -mkdir -p $BOOT/EFI/Boot -cp bootfiles/efi-files/syslinux.efi $BOOT/EFI/Boot/bootx64.efi -cp bootfiles/efi-files/{ldlinux.e64,menu.c32,libutil.c32} $BOOT/EFI/Boot +mv $BOOT/EFI/Boot/syslinux.efi $BOOT/EFI/Boot/bootx64.efi cat $BOOT/syslinux.cfg | sed -r "s:/$LIVEKITNAME/boot/vesa::" > $BOOT/EFI/Boot/syslinux.cfg # create compressed 01-core.sb