All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Tom Zanussi <tom.zanussi@linux.intel.com>
Cc: poky@yoctoproject.org
Subject: Re: [PATCH 1/1] busybox.bbappend: add override for poky-tiny defconfig
Date: Mon, 4 Nov 2013 22:50:53 +0100	[thread overview]
Message-ID: <20131104215053.GG3684@jama> (raw)
In-Reply-To: <5431bd9e48a771622d9aa143793ec42d3a273782.1383598600.git.tom.zanussi@linux.intel.com>

[-- Attachment #1: Type: text/plain, Size: 1705 bytes --]

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@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  reply	other threads:[~2013-11-04 21:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-04 20:58 [PATCH 0/1] poky-tiny fix Tom Zanussi
2013-11-04 20:58 ` [PATCH 1/1] busybox.bbappend: add override for poky-tiny defconfig Tom Zanussi
2013-11-04 21:50   ` Martin Jansa [this message]
2013-11-04 22:23   ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131104215053.GG3684@jama \
    --to=martin.jansa@gmail.com \
    --cc=poky@yoctoproject.org \
    --cc=tom.zanussi@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.