diff --git a/meta-agl-lxc/recipes-platform/images/lxc-host-image-minimal.bb b/meta-agl-lxc/recipes-platform/images/lxc-host-image-minimal.bb
index f9c17448a422f4111f1bf2e2e41caf3c4ef7d469..1790244779e4522ed60823aa519d2e80f6ddae48 100644
--- a/meta-agl-lxc/recipes-platform/images/lxc-host-image-minimal.bb
+++ b/meta-agl-lxc/recipes-platform/images/lxc-host-image-minimal.bb
@@ -22,7 +22,7 @@ python __anonymous() {
     for c in (d.getVar('CONTAINER_IMAGES') or "").split():
         (mc, image) = c.split(':')
         dependency = 'mc::' + mc + ':' + image + ':do_image_complete'
-        d.setVarFlag('do_rootfs', 'mcdepends', dependency)
+        d.appendVarFlag('do_rootfs', 'mcdepends', ' ' + dependency)
 
         # Assume there is a X-lxc-config package for guest-image-X
         config = image