Re: [PATCH] lxc: Fix download URL from SRC_URI

Daniel Dragomir

Sorry Bruce! Now I saw there is a similar patch sent on mailing list. Please ignore this one.
Still... I don't see the other patch merged upstream on master.
And I have this error on dunfell and thud branches too. Can you backport this change untill thud?


From: meta-virtualization@... <meta-virtualization@...> on behalf of Daniel Dragomir <Daniel.Dragomir@...>
Sent: Friday, March 12, 2021 12:22 PM
To: meta-virtualization@... <meta-virtualization@...>
Subject: [meta-virtualization][PATCH] lxc: Fix download URL from SRC_URI
Download URL from for lxc has changed.

URL transformed to HTTPS due to an HSTS policy
--2021-03-12 09:53:23--
Resolving (, 2602:fd23:8:1::8
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-03-12 09:53:24 ERROR 404: Not Found.

Signed-off-by: Daniel Dragomir <Daniel.Dragomir@...>
 recipes-containers/lxc/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-containers/lxc/ b/recipes-containers/lxc/
index ddff9af..b422909 100644
--- a/recipes-containers/lxc/
+++ b/recipes-containers/lxc/
@@ -36,7 +36,7 @@ RDEPENDS_${PN}-ptest += "file make gmp nettle gnutls bash libgcc"
 RDEPENDS_${PN}-networking += "iptables"
-SRC_URI = "${BPN}-${PV}.tar.gz \
+SRC_URI = "${BPN}/${BPN}-${PV}.tar.gz \
         file://lxc-1.0.0-disable-udhcp-from-busybox-template.patch \
         file://run-ptest \
         file://lxc-fix-B-S.patch \

Join to automatically receive all group messages.