diff options
Diffstat (limited to 'meta/classes/bootimg.bbclass')
-rw-r--r-- | meta/classes/bootimg.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass index 11a29cdf2b..17c329a142 100644 --- a/meta/classes/bootimg.bbclass +++ b/meta/classes/bootimg.bbclass | |||
@@ -36,7 +36,7 @@ BOOTIMG_VOLUME_ID ?= "boot" | |||
36 | BOOTIMG_EXTRA_SPACE ?= "512" | 36 | BOOTIMG_EXTRA_SPACE ?= "512" |
37 | 37 | ||
38 | EFI = "${@base_contains("MACHINE_FEATURES", "efi", "1", "0", d)}" | 38 | EFI = "${@base_contains("MACHINE_FEATURES", "efi", "1", "0", d)}" |
39 | EFI_CLASS = "${@base_contains("MACHINE_FEATURES", "efi", "grub-efi", "dummy", d)}" | 39 | EFI_CLASS = "${@base_contains("MACHINE_FEATURES", "efi", "grub-efi", "", d)}" |
40 | 40 | ||
41 | # Include legacy boot if MACHINE_FEATURES includes "pcbios" or if it does not | 41 | # Include legacy boot if MACHINE_FEATURES includes "pcbios" or if it does not |
42 | # contain "efi". This way legacy is supported by default if neither is | 42 | # contain "efi". This way legacy is supported by default if neither is |
@@ -50,7 +50,7 @@ def pcbios(d): | |||
50 | def pcbios_class(d): | 50 | def pcbios_class(d): |
51 | if d.getVar("PCBIOS", True) == "1": | 51 | if d.getVar("PCBIOS", True) == "1": |
52 | return "syslinux" | 52 | return "syslinux" |
53 | return "dummy" | 53 | return "" |
54 | 54 | ||
55 | PCBIOS = "${@pcbios(d)}" | 55 | PCBIOS = "${@pcbios(d)}" |
56 | PCBIOS_CLASS = "${@pcbios_class(d)}" | 56 | PCBIOS_CLASS = "${@pcbios_class(d)}" |