[PATCH openbmc 2/2] Don't inherit image-overlay by default

Joel Stanley joel at jms.id.au
Tue Mar 1 10:18:00 AEDT 2016


On Tue, Mar 1, 2016 at 5:10 AM, OpenBMC Patches
<openbmc-patches at stwcx.xyz> wrote:
> From: Brad Bishop <bradleyb at fuzziesquirrel.com>
>
> This attempts to address a race condition in the build where
> we attempt to build a complete flash image before all the sub-images
> are available (specifically the initramfs image).
>
> Any classes in IMAGE_CLASSES are inherited by all image recipes, including
> the initramfs image.  OE-Core's live/hddimg recipes address this
> by pulling in the class configuration in recipe scope, rather than
> global scope.  Copy that behavior here.

Nice work Brad. This fixes our build failure issues on the Jenkins CI box.

Acked-by: Joel Stanley <joel at jms.id.au>

> ---
>  meta-phosphor/classes/image-overlay.bbclass            | 8 +++++---
>  meta-phosphor/classes/obmc-phosphor-image.bbclass      | 7 +++++++
>  meta-phosphor/conf/machine/include/obmc-bsp-common.inc | 1 -
>  3 files changed, 12 insertions(+), 4 deletions(-)


More information about the openbmc mailing list