[OE-core] [RFC PATCH 0/2] image.bbclass: support two-stage deployment of image artifacts

Bartosz Golaszewski brgl at bgdev.pl
Thu Mar 19 16:44:01 UTC 2020


From: Bartosz Golaszewski <bgolaszewski at baylibre.com>

This is a follow-up to the discussion I started on the OE-core mailing
list a couple days ago[1]. These patches propose to split the deployment
of image artifacts into two stages where the first one includes all
"regular" images and takes place before do_image_complete and the second
is mostly aimed at wic right now and happens after do_image_complete.

These patches work but I'm sending them as RFC mostly to continue the
discussion about possible solutions for the circular dependencies between
the rootfs and initramfs.

[1] http://lists.openembedded.org/pipermail/openembedded-core/2020-March/294094.html

Bartosz Golaszewski (2):
  image.bbclass: add an intermediate deploy task
  image.bbclass: deploy artifacts in two stages

 meta/classes/image.bbclass                    | 54 ++++++++++++++-----
 meta/classes/image_types.bbclass              |  3 ++
 meta/classes/image_types_wic.bbclass          |  4 +-
 .../images/build-appliance-image_15.0.0.bb    |  2 +-
 4 files changed, 47 insertions(+), 16 deletions(-)

-- 
2.19.1



More information about the Openembedded-core mailing list