From e72233a6a17853d3047f01f3a579feec384be3a7 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Tue, 1 Mar 2016 11:00:56 +0200 Subject: bootimg: set default value for LABELS variable With empty LABELS variable build_efi_cfg skips most of its functionality producing warning message: 'LABELS not defined, nothing to do' This causes build failure for efi images. Setting default value for LABELS to 'boot install' should fix this issue. (From OE-Core rev: b8cb64714cb9ca3174f11a245ee1cf5367dd432f) Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- meta/classes/bootimg.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/classes/bootimg.bbclass') diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass index 7946839ce0..0249a9dcf7 100644 --- a/meta/classes/bootimg.bbclass +++ b/meta/classes/bootimg.bbclass @@ -49,6 +49,8 @@ EFI_CLASS = "${@bb.utils.contains("MACHINE_FEATURES", "efi", "${EFI_PROVIDER}", KERNEL_IMAGETYPE ??= "bzImage" +LABELS ?= "boot install" + # Include legacy boot if MACHINE_FEATURES includes "pcbios" or if it does not # contain "efi". This way legacy is supported by default if neither is # specified, maintaining the original behavior. -- cgit v1.2.3-54-g00ecf