Previously, we didn't have the EFI boot files being copied into the right place

for the raw build output, cab404 uses the bootinsh.sh which is run when creating
an ISO rather than producing a build with EFI embedded (which I'm attempting to
do)
pull/84/head
root 2019-09-28 16:45:01 +00:00
parent 356ebcbbd7
commit 0d5fdcc060
1 changed files with 6 additions and 0 deletions

6
build
View File

@ -54,6 +54,12 @@ cat bootfiles/syslinux.cfg | sed -r "s:/boot/:/$LIVEKITNAME/boot/:" > $BOOT/sysl
cat bootfiles/bootinst.bat | sed -r "s:/boot/:/$LIVEKITNAME/boot/:" | sed -r "s:\\\\boot\\\\:\\\\$LIVEKITNAME\\\\boot\\\\:" > $BOOT/bootinst.bat cat bootfiles/bootinst.bat | sed -r "s:/boot/:/$LIVEKITNAME/boot/:" | sed -r "s:\\\\boot\\\\:\\\\$LIVEKITNAME\\\\boot\\\\:" > $BOOT/bootinst.bat
cp $VMLINUZ $BOOT/ || exit cp $VMLINUZ $BOOT/ || exit
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.32} $BOOT/EFI/Boot
cp $BOOT/syslinux.cfg $BOOT/EFI/Boot/syslinux.cfg
# create compressed 01-core.sb # create compressed 01-core.sb
COREFS="" COREFS=""
for i in $MKMOD; do for i in $MKMOD; do