Skip to contentSkip to conversation

lxc: Fix download URL from SRC_URI

PATCH Daniel Dragomir 2 participants 2 messages Mar 12, 2021 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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: [email protected] <[email protected]> on behalf of Daniel Dragomir <[email protected]>
Sent: Friday, March 12, 2021 12:22 PM
To: [email protected] <[email protected]>
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.
---
 recipes-containers/lxc/lxc_4.0.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-containers/lxc/lxc_4.0.6.bb +1 -1
index ddff9af..b422909 100644
@@ -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

#2 lore raw
Quoted 3 lines · 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.

No worries! It definitely showed that people are in fact using the old branches regularly :D

Quoted 2 lines

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

Quoted 41 lines

Thanks!
Daniel
________________________________
From: [email protected] <[email protected]> on behalf of Daniel Dragomir <[email protected]>
Sent: Friday, March 12, 2021 12:22 PM
To: [email protected] <[email protected]>
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.
---
 recipes-containers/lxc/lxc_4.0.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-containers/lxc/lxc_4.0.6.bb +1 -2
index ddff9af..b422909 100644
@@ -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

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