Skip to contentSkip to conversation

lxc: correct use of PN vs. BPN to fix multilib builds

PATCH In review Mark Asselstine 2 participants 2 messages Nov 24, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lxc: correct use of PN vs. BPN to fix multilib builds

BPN should be used in place of PN otherwise the fetcher will attempt to download a file with the multilib prefix,and fail, and S will not be what is expected, causing patching and other failures.

---
 recipes-containers/lxc/lxc_0.9.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-containers/lxc/lxc_0.9.0.bb +2 -2
index 03d4589..24e0249 100644
@@ -21,7 +21,7 @@ RDEPENDS_${PN} = " \
 		perl-module-exporter-heavy \
 "
 
-SRC_URI = "http://linuxcontainers.org/downloads/${PN}-${PV}.tar.gz \
+SRC_URI = "http://linuxcontainers.org/downloads/${BPN}-${PV}.tar.gz \
 	file://lxc-0.9.0-disable-udhcp-from-busybox-template.patch \
 	file://lxc-0.9.0-enable-chroot-chpasswd-functionality-for-busybox-hosts.patch \
 	file://lxc-0.9.0-check-when-bind-mounting-libdirs.patch \
@@ -31,7 +31,7 @@ SRC_URI = "http://linuxcontainers.org/downloads/${PN}-${PV}.tar.gz \
 SRC_URI[md5sum] = "8552a4479090616f4bc04d8473765fc9"
 SRC_URI[sha256sum] = "1e1767eae6cc5fbf892c0e193d25da420ba19f2db203716c38f7cdea3b654120"
 
-S = "${WORKDIR}/${PN}-${PV}"
+S = "${WORKDIR}/${BPN}-${PV}"
 
 # Let's not configure for the host distro.
 #
Signature · 1 line
1.8.1.2
#1 lore raw
Quoted 3 lines · Mark Asselstine

BPN should be used in place of PN otherwise the fetcher will attempt to download a file with the multilib prefix,and fail, and S will not be what is expected, causing patching and other failures.

merged.

Bruce

Quoted 35 lines
---
 recipes-containers/lxc/lxc_0.9.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-containers/lxc/lxc_0.9.0.bb +2 -3
index 03d4589..24e0249 100644
@@ -21,7 +21,7 @@ RDEPENDS_${PN} = " \
                perl-module-exporter-heavy \
 "
 
-SRC_URI = "http://linuxcontainers.org/downloads/${PN}-${PV}.tar.gz \
+SRC_URI = "http://linuxcontainers.org/downloads/${BPN}-${PV}.tar.gz \
        file://lxc-0.9.0-disable-udhcp-from-busybox-template.patch \
        file://lxc-0.9.0-enable-chroot-chpasswd-functionality-for-busybox-hosts.patch \
        file://lxc-0.9.0-check-when-bind-mounting-libdirs.patch \
@@ -31,7 +31,7 @@ SRC_URI = "http://linuxcontainers.org/downloads/${PN}-${PV}.tar.gz \
 SRC_URI[md5sum] = "8552a4479090616f4bc04d8473765fc9"
 SRC_URI[sha256sum] = "1e1767eae6cc5fbf892c0e193d25da420ba19f2db203716c38f7cdea3b654120"
 
-S = "${WORKDIR}/${PN}-${PV}"
+S = "${WORKDIR}/${BPN}-${PV}"
 
 # Let's not configure for the host distro.
 #
--

1.8.1.2

_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"