diff options
author | Joe Slater <jslater@windriver.com> | 2013-05-24 11:05:24 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-05-24 21:01:24 -0700 |
commit | 156b6a6db154e1069b512c484b5ce758dc720e6b (patch) | |
tree | 0489b53af540a87eac96b065f2038df897eda5f7 | |
parent | 71c83bd62fea1e654a36107fbddb5a622fee5e43 (diff) | |
download | meta-virtualization-156b6a6db154e1069b512c484b5ce758dc720e6b.tar.gz |
lxc: specify distro
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@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | 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 bed7e4a1..21c7e922 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" | |||
3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
5 | PRIORITY = "optional" | 5 | PRIORITY = "optional" |
6 | PR = "r1" | 6 | PR = "r2" |
7 | DEPENDS = "libxml2 libcap" | 7 | DEPENDS = "libxml2 libcap" |
8 | RDEPENDS_${PN} = " \ | 8 | RDEPENDS_${PN} = " \ |
9 | rsync \ | 9 | rsync \ |
@@ -32,6 +32,10 @@ SRC_URI[sha256sum] = "1e1767eae6cc5fbf892c0e193d25da420ba19f2db203716c38f7cdea3b | |||
32 | 32 | ||
33 | S = "${WORKDIR}/${PN}-${PV}" | 33 | S = "${WORKDIR}/${PN}-${PV}" |
34 | 34 | ||
35 | # Let's not configure for the host distro. | ||
36 | # | ||
37 | EXTRA_OECONF += "--with-distro=${DISTRO}" | ||
38 | |||
35 | PACKAGECONFIG ??= "" | 39 | PACKAGECONFIG ??= "" |
36 | PACKAGECONFIG[doc] = "--enable-doc,--disable-doc" | 40 | PACKAGECONFIG[doc] = "--enable-doc,--disable-doc" |
37 | PACKAGECONFIG[rpath] = "--enable-rpath,--disable-rpath" | 41 | PACKAGECONFIG[rpath] = "--enable-rpath,--disable-rpath" |