From: Bruce Ashfield <[email protected]>

To more easily pull in fixes / backports from newer versions, switching
to git. This also allows bisecting and easier support when we run into
upgrade issues.

Signed-off-by: Bruce Ashfield <[email protected]>
(cherry picked from commit 47f9bdaa9ea883b23f596342033ecebd905c890e)
Signed-off-by: virendra thakur <[email protected]>
---
 recipes-containers/lxc/{lxc_4.0.9.bb => lxc_git.bb} | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
 rename recipes-containers/lxc/{lxc_4.0.9.bb => lxc_git.bb} (96%)

diff --git a/recipes-containers/lxc/lxc_4.0.9.bb b/recipes-containers/lxc/
lxc_git.bb
similarity index 96%
rename from recipes-containers/lxc/lxc_4.0.9.bb
rename to recipes-containers/lxc/lxc_git.bb
index 8b165e2..76e0493 100644
--- a/recipes-containers/lxc/lxc_4.0.9.bb
+++ b/recipes-containers/lxc/lxc_git.bb
@@ -36,7 +36,7 @@ RDEPENDS_${PN}-ptest += "file make gmp nettle gnutls bash
libgcc"

 RDEPENDS_${PN}-networking += "iptables"

-SRC_URI = "http://linuxcontainers.org/downloads/${BPN}/${BPN}-${PV}.tar.gz
\
+SRC_URI = "git://github.com/lxc/lxc.git;branch=stable-4.0 \
        file://lxc-1.0.0-disable-udhcp-from-busybox-template.patch \
        file://run-ptest \
        file://lxc-fix-B-S.patch \
@@ -52,12 +52,10 @@ SRC_URI = "
http://linuxcontainers.org/downloads/${BPN}/${BPN}-${PV}.tar.gz \
         file://enable_seccomp_profile_when_compiled_libseccomp.patch \
        "

-SRC_URI[md5sum] = "365fcca985038910e19a1e0fff15ed07"
-SRC_URI[sha256sum] =
"1fcf0610e9140eceb4be2334eb537bb9c5a213faea77c793ab3c62b86f37e52b"
+SRCREV = "cec7cb14b2a4367d4cb21a90e1b90d0f98a9d874"
+PV = "4.0.10+git${SRCPV}"

-
-
-S = "${WORKDIR}/${BPN}-${PV}"
+S = "${WORKDIR}/git"

 # Let's not configure for the host distro.
 #
-- 
2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8067): 
https://lists.yoctoproject.org/g/meta-virtualization/message/8067
Mute This Topic: https://lists.yoctoproject.org/mt/99008080/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to