summaryrefslogtreecommitdiffstats
path: root/recipes-containers/lxc/lxc_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-containers/lxc/lxc_git.bb')
-rw-r--r--recipes-containers/lxc/lxc_git.bb21
1 files changed, 10 insertions, 11 deletions
diff --git a/recipes-containers/lxc/lxc_git.bb b/recipes-containers/lxc/lxc_git.bb
index ee0e442f..63123590 100644
--- a/recipes-containers/lxc/lxc_git.bb
+++ b/recipes-containers/lxc/lxc_git.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c
5 file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ 5 file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \
6" 6"
7 7
8DEPENDS = "libxml2 libcap" 8DEPENDS = "libxml2 libcap dbus"
9RDEPENDS:${PN} = " \ 9RDEPENDS:${PN} = " \
10 rsync \ 10 rsync \
11 curl \ 11 curl \
@@ -36,7 +36,7 @@ RDEPENDS:${PN}-ptest += "file make gmp nettle gnutls bash libgcc"
36 36
37RDEPENDS:${PN}-networking += "iptables" 37RDEPENDS:${PN}-networking += "iptables"
38 38
39SRC_URI = "git://github.com/lxc/lxc.git;branch=stable-5.0;protocol=https \ 39SRC_URI = "git://github.com/lxc/lxc.git;branch=stable-6.0;protocol=https \
40 file://lxc-1.0.0-disable-udhcp-from-busybox-template.patch \ 40 file://lxc-1.0.0-disable-udhcp-from-busybox-template.patch \
41 file://run-ptest \ 41 file://run-ptest \
42 file://templates-actually-create-DOWNLOAD_TEMP-directory.patch \ 42 file://templates-actually-create-DOWNLOAD_TEMP-directory.patch \
@@ -47,12 +47,10 @@ SRC_URI = "git://github.com/lxc/lxc.git;branch=stable-5.0;protocol=https \
47 file://0001-template-if-busybox-contains-init-use-it-in-containe.patch \ 47 file://0001-template-if-busybox-contains-init-use-it-in-containe.patch \
48 file://dnsmasq.conf \ 48 file://dnsmasq.conf \
49 file://lxc-net \ 49 file://lxc-net \
50 file://0001-lxc-test-usernic-drop-cgroup-handling.patch \
51 file://0001-tests-remove-old-and-broken-cgroup-handling-code-fro.patch \
52 " 50 "
53 51
54SRCREV = "cb8e38aca27a23964941f0f011a8919aab8bebab" 52SRCREV = "fe31d844e882d5cc176a7935a93b14b4b2823992"
55PV = "5.0.3+git" 53PV = "v6.0.3"
56 54
57S = "${WORKDIR}/git" 55S = "${WORKDIR}/git"
58 56
@@ -80,9 +78,8 @@ PACKAGECONFIG[doc] = "-Dman=true,-Dman=false,,"
80PACKAGECONFIG[apparmor] = "-Dapparmor=true,-Dapparmor=false,apparmor,apparmor" 78PACKAGECONFIG[apparmor] = "-Dapparmor=true,-Dapparmor=false,apparmor,apparmor"
81PACKAGECONFIG[templates] = ",,, ${PN}-templates" 79PACKAGECONFIG[templates] = ",,, ${PN}-templates"
82PACKAGECONFIG[selinux] = "-Dselinux=true,-Dselinux=false,libselinux,libselinux" 80PACKAGECONFIG[selinux] = "-Dselinux=true,-Dselinux=false,libselinux,libselinux"
83PACKAGECONFIG[seccomp] ="-Dseccomp=true,-Dseccomp=false,libseccomp,libseccomp" 81PACKAGECONFIG[seccomp] = "-Dseccomp=true,-Dseccomp=false,libseccomp,libseccomp"
84# meson equiv for the unitdir found yet 82PACKAGECONFIG[systemd] = "-Dsystemd-unitdir=${sysconfdir}/systemd/system/, -Dsystemd-unitdir=, systemd,"
85# PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir,systemd,"
86PACKAGECONFIG[systemd] = "-Dinit-script=systemd,-Dinit-script=sysvinit,systemd," 83PACKAGECONFIG[systemd] = "-Dinit-script=systemd,-Dinit-script=sysvinit,systemd,"
87 84
88# required by python3 to run setup.py 85# required by python3 to run setup.py
@@ -130,6 +127,8 @@ FILES:${PN}-networking += " \
130# am_cv_python_pythondir='${PYTHON_SITEPACKAGES_DIR}' \ 127# am_cv_python_pythondir='${PYTHON_SITEPACKAGES_DIR}' \
131#" 128#"
132 129
130INSANE_SKIP:${PN}-staticdev += "buildpaths"
131
133do_install:append() { 132do_install:append() {
134 # The /var/cache/lxc directory created by the Makefile 133 # The /var/cache/lxc directory created by the Makefile
135 # is wiped out in volatile, we need to create this at boot. 134 # is wiped out in volatile, we need to create this at boot.
@@ -161,12 +160,12 @@ do_install:append() {
161 # /etc/default/lxc sources lxc-net, this allows lxc bridge when lxc-networking 160 # /etc/default/lxc sources lxc-net, this allows lxc bridge when lxc-networking
162 # is not installed this results in no lxcbr0, but when lxc-networking is installed 161 # is not installed this results in no lxcbr0, but when lxc-networking is installed
163 # lxcbr0 will be fully configured. 162 # lxcbr0 will be fully configured.
164 install -m 644 ${WORKDIR}/lxc-net ${D}${sysconfdir}/default/ 163 install -m 644 ${UNPACKDIR}/lxc-net ${D}${sysconfdir}/default/
165 164
166 # Force the main dnsmasq instance to bind only to specified interfaces and 165 # Force the main dnsmasq instance to bind only to specified interfaces and
167 # to not bind to virbr0. Libvirt will run its own instance on this interface. 166 # to not bind to virbr0. Libvirt will run its own instance on this interface.
168 install -d ${D}/${sysconfdir}/dnsmasq.d 167 install -d ${D}/${sysconfdir}/dnsmasq.d
169 install -m 644 ${WORKDIR}/dnsmasq.conf ${D}/${sysconfdir}/dnsmasq.d/lxc 168 install -m 644 ${UNPACKDIR}/dnsmasq.conf ${D}/${sysconfdir}/dnsmasq.d/lxc
170} 169}
171 170
172EXTRA_OEMAKE += "TEST_DIR=${D}${PTEST_PATH}/src/tests" 171EXTRA_OEMAKE += "TEST_DIR=${D}${PTEST_PATH}/src/tests"