Fix multiple container installation issue 50/26750/10
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Wed, 6 Oct 2021 22:07:47 +0000 (07:07 +0900)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 1 Nov 2021 20:10:23 +0000 (20:10 +0000)
When I build lxc-host-image-demo, that out error message;

Nothing RPROVIDES 'lxc-config-cluster-demolxc-config-ivi-demo'
(but ~/meta-agl-devel/meta-agl-lxc/recipes-platform/images/
lxc-host-image-demo.bb RDEPENDS on or otherwise requires it)

The 'lxc-config-cluster-demolxc-config-ivi-demo' is must
describe to 'lxc-config-cluster-demo lxc-config-ivi-demo',
that need space between image name and image name.

This patch fix this issue.

Bug-AGL: SPEC-4109

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I3e3f057264c0e05872a1f04f9bf5c72af54115e1

meta-agl-lxc/recipes-platform/images/lxc-host-image-minimal.bb

index 912d868..f9c1744 100644 (file)
@@ -28,7 +28,7 @@ python __anonymous() {
         config = image
         if config.startswith('guest-image-'):
             config = config[len('guest-image-'):]
-        d.appendVar('LXC_CONTAINER_CONFIGS', 'lxc-config-' + config)
+        d.appendVar('LXC_CONTAINER_CONFIGS', ' ' + 'lxc-config-' + config)
 }
 
 install_container_images() {