32-bit UEFI system needs bootia32.efi not bootx32.efi

This commit is contained in:
gouchi 2016-09-07 14:12:50 +02:00
parent 008f95027e
commit e55fabb3cc
3 changed files with 8 additions and 0 deletions

View File

@ -337,6 +337,8 @@ do_install_quick() {
cp $TMPDIR/part1/syslinux.cfg $TMPDIR/part1/EFI/BOOT
cp /usr/share/syslinux/bootx64.efi $TMPDIR/part1/EFI/BOOT
cp /usr/share/syslinux/ldlinux.e64 $TMPDIR/part1/EFI/BOOT
cp /usr/share/syslinux/bootia32.efi $TMPDIR/part1/EFI/BOOT
cp /usr/share/syslinux/ldlinux.e32 $TMPDIR/part1/EFI/BOOT
fi
sync

View File

@ -81,6 +81,8 @@ makeinstall_host() {
cp bios/mbr/gptmbr.bin $ROOT/$TOOLCHAIN/share/syslinux
cp efi64/efi/syslinux.efi $ROOT/$TOOLCHAIN/share/syslinux/bootx64.efi
cp efi64/com32/elflink/ldlinux/ldlinux.e64 $ROOT/$TOOLCHAIN/share/syslinux
cp efi32/efi/syslinux.efi $ROOT/$TOOLCHAIN/share/syslinux/bootia32.efi
cp efi32/com32/elflink/ldlinux/ldlinux.e32 $ROOT/$TOOLCHAIN/share/syslinux
}
makeinstall_target() {
@ -96,4 +98,6 @@ makeinstall_target() {
cp bios/mbr/gptmbr.bin $INSTALL/usr/share/syslinux
cp efi64/efi/syslinux.efi $INSTALL/usr/share/syslinux/bootx64.efi
cp efi64/com32/elflink/ldlinux/ldlinux.e64 $INSTALL/usr/share/syslinux
cp efi32/efi/syslinux.efi $INSTALL/usr/share/syslinux/bootia32.efi
cp efi32/com32/elflink/ldlinux/ldlinux.e32 $INSTALL/usr/share/syslinux
}

View File

@ -200,6 +200,8 @@ EOF
mkdir -p "$OE_TMP/EFI/BOOT"
cp $ROOT/$TOOLCHAIN/share/syslinux/bootx64.efi "$OE_TMP/EFI/BOOT"
cp $ROOT/$TOOLCHAIN/share/syslinux/ldlinux.e64 "$OE_TMP/EFI/BOOT"
cp $ROOT/$TOOLCHAIN/share/syslinux/bootia32.efi "$OE_TMP/EFI/BOOT"
cp $ROOT/$TOOLCHAIN/share/syslinux/ldlinux.e32 "$OE_TMP/EFI/BOOT"
cat << EOF > "$OE_TMP"/EFI/BOOT/syslinux.cfg
DEFAULT installer