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


Bruce Ashfield
 

On Fri, Mar 12, 2021 at 3:39 AM Daniel Dragomir
<Daniel.Dragomir@...> wrote:

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.
No worries! It definitely showed that people are in fact using the old
branches regularly :D

And I have this error on dunfell and thud branches too. Can you backport this change untill thud?
I just pushed master/gatesgarth/dunfell, and can also do some
cherry-picks to the older branches now.

Bruce

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




--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

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