summaryrefslogtreecommitdiffstats
path: root/meta/classes/bootimg.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/bootimg.bbclass')
-rw-r--r--meta/classes/bootimg.bbclass9
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index 70ce07032b..d9ed7dbbdb 100644
--- a/meta/classes/bootimg.bbclass
+++ b/meta/classes/bootimg.bbclass
@@ -40,6 +40,11 @@ EFIIMGDIR = "${S}/efi_img"
40COMPACT_ISODIR = "${S}/iso.z" 40COMPACT_ISODIR = "${S}/iso.z"
41COMPRESSISO ?= "0" 41COMPRESSISO ?= "0"
42 42
43ISOLINUXDIR ?= "/isolinux"
44ISO_BOOTIMG = "isolinux/isolinux.bin"
45ISO_BOOTCAT = "isolinux/boot.cat"
46MKISOFS_OPTIONS = "-no-emul-boot -boot-load-size 4 -boot-info-table"
47
43BOOTIMG_VOLUME_ID ?= "boot" 48BOOTIMG_VOLUME_ID ?= "boot"
44BOOTIMG_EXTRA_SPACE ?= "512" 49BOOTIMG_EXTRA_SPACE ?= "512"
45 50
@@ -59,10 +64,10 @@ def pcbios(d):
59 return pcbios 64 return pcbios
60 65
61PCBIOS = "${@pcbios(d)}" 66PCBIOS = "${@pcbios(d)}"
67PCBIOS_CLASS = "${@['','syslinux'][d.getVar('PCBIOS', True) == '1']}"
62 68
63# The syslinux is required for the isohybrid command and boot catalog
64inherit syslinux
65inherit ${EFI_CLASS} 69inherit ${EFI_CLASS}
70inherit ${PCBIOS_CLASS}
66 71
67populate() { 72populate() {
68 DEST=$1 73 DEST=$1