From: Ed Bartosh Date: Tue, 1 Mar 2016 09:00:56 +0000 (+0200) Subject: bootimg: set default value for LABELS variable X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~26706 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8cb64714cb9ca3174f11a245ee1cf5367dd432f;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass index 7946839ce0f..0249a9dcf76 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.