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.

Signed-off-by: Mark Asselstine <asselsm@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
Mark Asselstine 2013-11-23 23:25:03 -05:00 committed by Bruce Ashfield
parent 0192b43754
commit 61f1cd9c44

View File

@ -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.
#