Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Conversation

@pohly
Copy link
Contributor

@pohly pohly commented Jul 20, 2016

When testing this, beware that task-depends.dot is incorrect
unless the new "cooker: Fix incorrect dot file generation" fix is
applied to bitbake. But it already works in practise also without
that patch.

@igor-stoppa: please review

When creating swupd images, all instances of the same base image must
share the same uefiapp binary blob and partition settings, because
that uefiapp gets copied into each rootfs and should match what's getting
installed in the image.

But do_uefiapp ran once for each instance of the image recipe
(i.e. for ostro-image-swupd, bundle-ostro-image-swupd-mega, etc.) and
therefore the (almost) same files were getting created multiple
times. In practice, the impact was low because the actual EFI blob
always had the same content (only some partition UUIDs varied).  This
problem was only detected accidentally when writing the output files
concurrently into the same location failed.

The fix is to create the do_uefiapp task only once and share the
results via the deploy directory.

uefiapps still need to be created separately for different image
recipes because those image recipes may have different parameters for
the uefiapp creation (in particular APPEND is meant to be customizable
per image recipe).

Signed-off-by: Patrick Ohly <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant