Skip to contentSkip to conversation

meta-virtualization][PATCH 3/7] lxc: update to 4.0.10 and switch to git

PATCH virendra thakur 1 participant 1 message May 19, 2023 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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.

(cherry picked from commit 47f9bdaa9ea883b23f596342033ecebd905c890e)
---
 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%)
recipes-containers/lxc/ renamed from recipes-containers/lxc/lxc_4.0.9.bb +0 -0

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

recipes-containers/lxc/lxc_git.bb renamed from recipes-containers/lxc/lxc_4.0.9.bb +0 -0
@@ -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.
#

Signature · 1 line
2.17.1