diff options
Diffstat (limited to 'meta-agl-ic-container/recipes-platform/images/agl-lxc-multiconfig-build.inc')
-rw-r--r-- | meta-agl-ic-container/recipes-platform/images/agl-lxc-multiconfig-build.inc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-agl-ic-container/recipes-platform/images/agl-lxc-multiconfig-build.inc b/meta-agl-ic-container/recipes-platform/images/agl-lxc-multiconfig-build.inc new file mode 100644 index 00000000..73ec163f --- /dev/null +++ b/meta-agl-ic-container/recipes-platform/images/agl-lxc-multiconfig-build.inc @@ -0,0 +1,16 @@ +python __anonymous() { + for c in (d.getVar('CONTAINER_IMAGES') or "").split(): + (mc, image) = c.split(':') + dependency = 'mc::' + mc + ':' + image + ':do_image_complete' + d.appendVarFlag('do_rootfs', 'mcdepends', ' ' + dependency) +} + +# +# Force rebuild of rootfs on every build to work around mcdepends issue +# +# NOTE: +# This is currently required as bitbake fails to trigger do_rootfs +# sometimes even when the guest image has in fact rebuilt. This is +# being investigated with upstream. +# +do_rootfs[nostamp] = "1" |