[yocto] [meta-raspberrypi][PATCH 1/3] rpi-mkimage: install to ${libexecdir}

Andrei Gherzan andrei at gherzan.ro
Sun Feb 28 02:21:50 PST 2016


On Sun, Feb 28, 2016 at 12:46:47AM +1100, Jonathan Liu wrote:
> It doesn't make sense to install to ${libexecdir}/rpi-mkimage as it
> changes the path on fido and earlier branches from:
>   [...]/sysroots/x86_64-linux/usr/lib/rpi-mkimage
> to:
>   [...]/sysroots/x86_64-linux/usr/lib/rpi-mkimage/rpi-mkimage
> 
> Using ${libexecdir} instead of ${libexecdir}/rpi-mkimage preserves
> the path for fido and earlier.
> 
> Signed-off-by: Jonathan Liu <net147 at gmail.com>
> ---
>  recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb b/recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb
> index 2c8ecb1..7dea43d 100644
> --- a/recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb
> +++ b/recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb
> @@ -15,8 +15,8 @@ SRC_URI = " \
>  S = "${WORKDIR}/git"
>  
>  do_install () {
> -    install -d ${D}${libexecdir}/rpi-mkimage
> -    install -t ${D}${libexecdir}/rpi-mkimage ./mkimage/*
> +    install -d ${D}${libexecdir}
> +    install -t ${D}${libexecdir} mkimage/*
>  }
>  
>  BBCLASSEXTEND = "native"
> -- 
> 2.7.1
> 
Merged to master. Thanks.
-- 
Andrei Gherzan



More information about the yocto mailing list