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.bbclass4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index 0249a9dcf7..70ce07032b 100644
--- a/meta/classes/bootimg.bbclass
+++ b/meta/classes/bootimg.bbclass
@@ -49,8 +49,6 @@ EFI_CLASS = "${@bb.utils.contains("MACHINE_FEATURES", "efi", "${EFI_PROVIDER}",
49 49
50KERNEL_IMAGETYPE ??= "bzImage" 50KERNEL_IMAGETYPE ??= "bzImage"
51 51
52LABELS ?= "boot install"
53
54# Include legacy boot if MACHINE_FEATURES includes "pcbios" or if it does not 52# Include legacy boot if MACHINE_FEATURES includes "pcbios" or if it does not
55# contain "efi". This way legacy is supported by default if neither is 53# contain "efi". This way legacy is supported by default if neither is
56# specified, maintaining the original behavior. 54# specified, maintaining the original behavior.
@@ -282,8 +280,8 @@ build_hddimg() {
282} 280}
283 281
284python do_bootimg() { 282python do_bootimg() {
283 set_live_vm_vars(d, 'LIVE')
285 if d.getVar("PCBIOS", True) == "1": 284 if d.getVar("PCBIOS", True) == "1":
286 syslinux_set_vars(d, 'LIVE')
287 bb.build.exec_func('build_syslinux_cfg', d) 285 bb.build.exec_func('build_syslinux_cfg', d)
288 if d.getVar("EFI", True) == "1": 286 if d.getVar("EFI", True) == "1":
289 bb.build.exec_func('build_efi_cfg', d) 287 bb.build.exec_func('build_efi_cfg', d)