mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
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>
This commit is contained in:
parent
71c83bd62f
commit
156b6a6db1
|
@ -3,7 +3,7 @@ SECTION = "console/utils"
|
||||||
LICENSE = "GPLv2"
|
LICENSE = "GPLv2"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
|
||||||
PRIORITY = "optional"
|
PRIORITY = "optional"
|
||||||
PR = "r1"
|
PR = "r2"
|
||||||
DEPENDS = "libxml2 libcap"
|
DEPENDS = "libxml2 libcap"
|
||||||
RDEPENDS_${PN} = " \
|
RDEPENDS_${PN} = " \
|
||||||
rsync \
|
rsync \
|
||||||
|
@ -32,6 +32,10 @@ SRC_URI[sha256sum] = "1e1767eae6cc5fbf892c0e193d25da420ba19f2db203716c38f7cdea3b
|
||||||
|
|
||||||
S = "${WORKDIR}/${PN}-${PV}"
|
S = "${WORKDIR}/${PN}-${PV}"
|
||||||
|
|
||||||
|
# Let's not configure for the host distro.
|
||||||
|
#
|
||||||
|
EXTRA_OECONF += "--with-distro=${DISTRO}"
|
||||||
|
|
||||||
PACKAGECONFIG ??= ""
|
PACKAGECONFIG ??= ""
|
||||||
PACKAGECONFIG[doc] = "--enable-doc,--disable-doc"
|
PACKAGECONFIG[doc] = "--enable-doc,--disable-doc"
|
||||||
PACKAGECONFIG[rpath] = "--enable-rpath,--disable-rpath"
|
PACKAGECONFIG[rpath] = "--enable-rpath,--disable-rpath"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user