[poky] [PATCH 1/1] busybox.bbappend: add override for poky-tiny defconfig

Martin Jansa martin.jansa at gmail.com
Mon Nov 4 13:50:53 PST 2013


On Mon, Nov 04, 2013 at 02:58:32PM -0600, Tom Zanussi wrote:
> The defconfig for poky-tiny resides in {$P}/poky-tiny, so that needs
> to be added to FILESEXTRAPATHS if the distro is poky-tiny.
> 
> This fixes boot problems such as below, where init doesn't work
> because setsid isn't found, because setsid isn't configured into
> busybox, because the defconfig adding it isn't found:
> 
>   /init: line 26: setsid: not found
>   Console sh exited with 127, respawning...

Have you checked FILESPATH variable in bitbake-e? IIRC all
FILESOVERRIDES are used for FILESEXTRAPATHS dirs, so all you need is to
add
FILESEXTRAPATHS_prepend_poky-tiny := "${THISDIR}/${P}:"

otherwise FILESPATH will list also entries like
meta-yocto/recipes-core/busybox/busybox/poky-tiny/poky-tiny
meta-yocto/recipes-core/busybox/busybox/poky-tiny/qemux86
...

> 
> Signed-off-by: Tom Zanussi <tom.zanussi at linux.intel.com>
> ---
>  meta-yocto/recipes-core/busybox/busybox_1.21.1.bbappend | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta-yocto/recipes-core/busybox/busybox_1.21.1.bbappend b/meta-yocto/recipes-core/busybox/busybox_1.21.1.bbappend
> index ffe8631..e15f2b6 100644
> --- a/meta-yocto/recipes-core/busybox/busybox_1.21.1.bbappend
> +++ b/meta-yocto/recipes-core/busybox/busybox_1.21.1.bbappend
> @@ -1,2 +1,3 @@
>  FILESEXTRAPATHS_prepend_poky := "${THISDIR}/${P}:"
> +FILESEXTRAPATHS_prepend_poky-tiny := "${THISDIR}/${P}/${DISTRO}:"
>  
> -- 
> 1.8.3.1
> 
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20131104/bb09ee90/attachment.pgp>


More information about the poky mailing list