[meta-virtualization] [PATCH 1/2] lxc: specify distro
Joe Slater
jslater at windriver.com
Fri May 24 11:05:24 PDT 2013
CQID: 418191
Do not query the host to find out our distro. We
specify the bitbake variable ${DISTRO} in order
to get the desired runtime default config file.
Signed-off-by: Joe Slater <jslater at windriver.com>
---
recipes-containers/lxc/lxc_0.9.0.bb | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/recipes-containers/lxc/lxc_0.9.0.bb b/recipes-containers/lxc/lxc_0.9.0.bb
index 63ce2d6..1db6d40 100644
--- a/recipes-containers/lxc/lxc_0.9.0.bb
+++ b/recipes-containers/lxc/lxc_0.9.0.bb
@@ -3,7 +3,7 @@ SECTION = "console/utils"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
PRIORITY = "optional"
-PR = "r1"
+PR = "r2"
DEPENDS = "libxml2 libcap"
RDEPENDS_${PN} = " \
rsync \
@@ -30,6 +30,10 @@ SRC_URI[sha256sum] = "1e1767eae6cc5fbf892c0e193d25da420ba19f2db203716c38f7cdea3b
S = "${WORKDIR}/${PN}-${PV}"
+# Let's not configure for the host distro.
+#
+EXTRA_OECONF += "--with-distro=${DISTRO}"
+
PACKAGECONFIG ??= ""
PACKAGECONFIG[doc] = "--enable-doc,--disable-doc"
PACKAGECONFIG[rpath] = "--enable-rpath,--disable-rpath"
--
1.7.3.4
More information about the meta-virtualization
mailing list