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

Richard Purdie richard.purdie at linuxfoundation.org
Mon Nov 4 14:23:05 PST 2013


On Mon, 2013-11-04 at 14:58 -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...
> 
> 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}:"

In addition to Martin's comment, why isn't tiny using the standard poky
overrides?

poky-lsb and poky-bleeding do:

DISTROOVERRIDES = "poky"

or variants thereof. Shouldn't tiny be doing "poky-tiny:poky" or
something like that (I forget the right order)?

The above line suggests that poky-tiny was using the poky override but
stopped for some reason, otherwise the file would never have worked?

Cheers,

Richard








More information about the poky mailing list