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?

Thanks!
Daniel


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 linuxcontainers.org for lxc has changed.

URL transformed to HTTPS due to an HSTS policy
--2021-03-12 09:53:23--  https://linuxcontainers.org/downloads/lxc-4.0.6.tar.gz
Resolving linuxcontainers.org (linuxcontainers.org)... 170.39.196.167, 2602:fd23:8:1::8
Connecting to linuxcontainers.org (linuxcontainers.org)|170.39.196.167|: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/lxc_4.0.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-containers/lxc/lxc_4.0.6.bb b/recipes-containers/lxc/lxc_4.0.6.bb
index ddff9af..b422909 100644
--- a/recipes-containers/lxc/lxc_4.0.6.bb
+++ b/recipes-containers/lxc/lxc_4.0.6.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}-${PV}.tar.gz \
+SRC_URI = "http://linuxcontainers.org/downloads/${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 \
--
2.17.1

Join meta-virtualization@lists.yoctoproject.org to automatically receive all group messages.