[meta-virtualization] [PATCH] lxc: correct use of PN vs. BPN to fix multilib builds

Bruce Ashfield bruce.ashfield at gmail.com
Sat Nov 23 21:06:41 PST 2013


On Sat, Nov 23, 2013 at 11:25 PM, Mark Asselstine <asselsm at gmail.com> wrote:
> 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

>
> Signed-off-by: Mark Asselstine <asselsm at gmail.com>
> ---
>  recipes-containers/lxc/lxc_0.9.0.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-containers/lxc/lxc_0.9.0.bb b/recipes-containers/lxc/lxc_0.9.0.bb
> index 03d4589..24e0249 100644
> --- a/recipes-containers/lxc/lxc_0.9.0.bb
> +++ b/recipes-containers/lxc/lxc_0.9.0.bb
> @@ -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
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


More information about the meta-virtualization mailing list