* [PATCH 0/1] poky-tiny fix
@ 2013-11-04 20:58 Tom Zanussi
2013-11-04 20:58 ` [PATCH 1/1] busybox.bbappend: add override for poky-tiny defconfig Tom Zanussi
0 siblings, 1 reply; 4+ messages in thread
From: Tom Zanussi @ 2013-11-04 20:58 UTC (permalink / raw)
To: poky; +Cc: Tom Zanussi
This fixes a boot problem I had with poky-tiny.
The following changes since commit 9160f376065752e2e92c8b37ee9a80d0eb86b53b:
bitbake: toaster: enable required classes in the toaster startup script (2013-11-04 09:36:22 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib.git tzanussi/tiny-busybox-defconfig-fix
http://git.yoctoproject.org/cgit.cgi//log/?h=tzanussi/tiny-busybox-defconfig-fix
Tom Zanussi (1):
busybox.bbappend: add override for poky-tiny defconfig
meta-yocto/recipes-core/busybox/busybox_1.21.1.bbappend | 1 +
1 file changed, 1 insertion(+)
--
1.8.3.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/1] busybox.bbappend: add override for poky-tiny defconfig
2013-11-04 20:58 [PATCH 0/1] poky-tiny fix Tom Zanussi
@ 2013-11-04 20:58 ` Tom Zanussi
2013-11-04 21:50 ` Martin Jansa
2013-11-04 22:23 ` Richard Purdie
0 siblings, 2 replies; 4+ messages in thread
From: Tom Zanussi @ 2013-11-04 20:58 UTC (permalink / raw)
To: poky; +Cc: Tom Zanussi
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@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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] busybox.bbappend: add override for poky-tiny defconfig
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
2013-11-04 22:23 ` Richard Purdie
1 sibling, 0 replies; 4+ messages in thread
From: Martin Jansa @ 2013-11-04 21:50 UTC (permalink / raw)
To: Tom Zanussi; +Cc: poky
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] busybox.bbappend: add override for poky-tiny defconfig
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
@ 2013-11-04 22:23 ` Richard Purdie
1 sibling, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2013-11-04 22:23 UTC (permalink / raw)
To: Tom Zanussi; +Cc: Hart, Darren, poky
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@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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-11-04 22:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2013-11-04 22:23 ` Richard Purdie
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.