[meta-virtualization] [PATCH] container-dummy-provides: Update to match changes in oe-core

Richard Purdie <[email protected]>
Newsgroups org.yoctoproject.lists.meta-virtualization
Message-ID <[email protected]>
OE-Core made changes to the way dummy providers work, update the
container-dummy-provides to match them. It now needs a hint in layer.conf
to make the core components aware of the presence of the dummy recipe.

Signed-off-by: Richard Purdie <[email protected]>
---
 conf/layer.conf                               | 2 ++
 recipes-core/meta/container-dummy-provides.bb | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/conf/layer.conf b/conf/layer.conf
index cbf95e6a..a387d35e 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -75,3 +75,5 @@ HOSTTOOLS_NONFATAL += "getent"
 DISTRO_FEATURES_NATIVE:append = " ${@bb.utils.contains_any('DISTRO_FEATURES', 'vcontainer virtualization', 'virtualization', '', d)}"
 
 NON_MULTILIB_RECIPES:append:x86-64 = " kubernetes"
+
+DUMMY_PACKAGE_ARCHS_TARGET += "container-dummy-provides"
diff --git a/recipes-core/meta/container-dummy-provides.bb b/recipes-core/meta/container-dummy-provides.bb
index 2ab42be3..1d58c672 100644
--- a/recipes-core/meta/container-dummy-provides.bb
+++ b/recipes-core/meta/container-dummy-provides.bb
@@ -3,4 +3,6 @@ DUMMYPROVIDES = "\
    /bin/sh \
    /usr/bin/env \
 "
+DUMMYSDK_PKGDATA_VARNAME = "PKGDATA_DIR"
+DUMMYSDK_EXTRASTAMP_VARNAME = "MACHINE"
 require recipes-core/meta/dummy-sdk-package.inc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.