mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 00:49:33 +02:00
bootimg.bbclass: only inherit syslinux when pcbios
syslinux.bbclass should not be seen when use efi. (From OE-Core rev: f994eef0aeae861857756d3cc05c49cca17bd12b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
1b1de89304
commit
e0bc781ce0
@@ -40,6 +40,11 @@ EFIIMGDIR = "${S}/efi_img"
|
||||
COMPACT_ISODIR = "${S}/iso.z"
|
||||
COMPRESSISO ?= "0"
|
||||
|
||||
ISOLINUXDIR ?= "/isolinux"
|
||||
ISO_BOOTIMG = "isolinux/isolinux.bin"
|
||||
ISO_BOOTCAT = "isolinux/boot.cat"
|
||||
MKISOFS_OPTIONS = "-no-emul-boot -boot-load-size 4 -boot-info-table"
|
||||
|
||||
BOOTIMG_VOLUME_ID ?= "boot"
|
||||
BOOTIMG_EXTRA_SPACE ?= "512"
|
||||
|
||||
@@ -59,10 +64,10 @@ def pcbios(d):
|
||||
return pcbios
|
||||
|
||||
PCBIOS = "${@pcbios(d)}"
|
||||
PCBIOS_CLASS = "${@['','syslinux'][d.getVar('PCBIOS', True) == '1']}"
|
||||
|
||||
# The syslinux is required for the isohybrid command and boot catalog
|
||||
inherit syslinux
|
||||
inherit ${EFI_CLASS}
|
||||
inherit ${PCBIOS_CLASS}
|
||||
|
||||
populate() {
|
||||
DEST=$1
|
||||
|
||||
Reference in New Issue
Block a user