I can't get vesamenu to work yet, menu works thought

based on https://github.com/Tomas-M/linux-live/pull/75#issuecomment-535481117
pull/84/head
root 2019-09-28 19:10:34 +00:00
parent 05ffc0a874
commit ef504eb2af
1 changed files with 3 additions and 1 deletions

4
build
View File

@ -49,15 +49,17 @@ if [ "$INITRAMFS" != "" ]; then
mv "$INITRAMFS" $BOOT/initrfs.img mv "$INITRAMFS" $BOOT/initrfs.img
fi fi
# BIOS / BMR booting
cp bootfiles/* $BOOT cp bootfiles/* $BOOT
cat bootfiles/syslinux.cfg | sed -r "s:/boot/:/$LIVEKITNAME/boot/:" > $BOOT/syslinux.cfg 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 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
# UEFI booting
mkdir -p $BOOT/EFI/Boot mkdir -p $BOOT/EFI/Boot
cp bootfiles/efi-files/syslinux.efi $BOOT/EFI/Boot/bootx64.efi cp bootfiles/efi-files/syslinux.efi $BOOT/EFI/Boot/bootx64.efi
cp bootfiles/efi-files/{ldlinux.e64,menu.c32,libutil.c32} $BOOT/EFI/Boot cp bootfiles/efi-files/{ldlinux.e64,menu.c32,libutil.c32} $BOOT/EFI/Boot
cp $BOOT/syslinux.cfg $BOOT/EFI/Boot/syslinux.cfg cat $BOOT/syslinux.cfg | sed -r 's/\/boot\/vesa//' > $BOOT/EFI/Boot/syslinux.cfg
# create compressed 01-core.sb # create compressed 01-core.sb