[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:49:50 UTC 2020
czw., 19 mar 2020 o 17:44 Bartosz Golaszewski <brgl at bgdev.pl> napisał(a):
>
> 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
>
Just for clarity: this what the task order would look like for a
standard beaglebone-yocto image with these patches:
do_prepare_recipe_sysroot (32199): log.do_prepare_recipe_sysroot.32199
do_deploy_source_date_epoch (32201): log.do_deploy_source_date_epoch.32201
do_rootfs (32246): log.do_rootfs.32246
do_write_qemuboot_conf (8655): log.do_write_qemuboot_conf.8655
do_image_qa (8657): log.do_image_qa.8657
do_image (8661): log.do_image.8661
do_image_ext4 (35128): log.do_image_ext4.35128
do_image_tar (35133): log.do_image_tar.35133
do_image_jffs2 (35136): log.do_image_jffs2.35136
do_image_deploy (35246): log.do_image_deploy.35246
do_image_complete (35262): log.do_image_complete.35262
do_rootfs_wicenv (35264): log.do_rootfs_wicenv.35264
do_populate_lic_deploy (35267): log.do_populate_lic_deploy.35267
do_image_wic (35283): log.do_image_wic.35283
do_image_deploy_late (35448): log.do_image_deploy_late.35448
Bart
More information about the Openembedded-core
mailing list