Skip to contentSkip to conversation

lxc: Fix download URL from SRC_URI

PATCH New Daniel Dragomir 1 participant 1 message Mar 12, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 \
Signature · 1 line
2.17.1