Add support integration type of multi partition
[AGL/meta-agl-devel.git] / meta-agl-ic-container / recipes-platform / images / agl-lxc-multiconfig-build.inc
1 python __anonymous() {
2     for c in (d.getVar('CONTAINER_IMAGES') or "").split():
3         (mc, image) = c.split(':')
4         dependency = 'mc::' + mc + ':' + image + ':do_image_complete'
5         d.appendVarFlag('do_rootfs', 'mcdepends', ' ' + dependency)
6 }
7
8 #
9 # Force rebuild of rootfs on every build to work around mcdepends issue
10 #
11 # NOTE:
12 # This is currently required as bitbake fails to trigger do_rootfs
13 # sometimes even when the guest image has in fact rebuilt.  This is
14 # being investigated with upstream.
15 #
16 do_rootfs[nostamp] = "1"