Poky Project Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] kernel: fix menuconfig
@ 2011-03-01 21:28 Bruce Ashfield
  2011-03-01 21:28 ` [PATCH 1/1] kernel: remove explicit bash call in do_menuconfig Bruce Ashfield
  2011-03-03 19:12 ` [PATCH 0/1] kernel: fix menuconfig Saul Wold
  0 siblings, 2 replies; 3+ messages in thread
From: Bruce Ashfield @ 2011-03-01 21:28 UTC (permalink / raw)
  To: rpurdie; +Cc: yocto, poky, saul.wold

Fixes [BUGID #598]

The explicit addition of "bash" before "make menuconfig"
is clearing variables that are required for pseudo. The
end result is that menuconfig often fails silently with:

ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.

Removing bash from the menuconfig SHELLCMDS variable fixes
the pseudo problem.

As near as I can tell this is unversally safe (i.e. with
a different TERMCMD), but I'm willing to be correct and/or
replaced by a better patch. But this definitely fixed the
problem for me.

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: zedd/kernel
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel

Thanks,
    Bruce Ashfield <bruce.ashfield@windriver.com>
---


Bruce Ashfield (1):
  kernel: remove explicit bash call in do_menuconfig

 meta/classes/kernel.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] kernel: remove explicit bash call in do_menuconfig
  2011-03-01 21:28 [PATCH 0/1] kernel: fix menuconfig Bruce Ashfield
@ 2011-03-01 21:28 ` Bruce Ashfield
  2011-03-03 19:12 ` [PATCH 0/1] kernel: fix menuconfig Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Bruce Ashfield @ 2011-03-01 21:28 UTC (permalink / raw)
  To: rpurdie; +Cc: yocto, poky, saul.wold

Fixes [BUGID #598]

The explicit addition of "bash" before "make menuconfig"
is clearing variables that are required for pseudo. The
end result is that menuconfig often fails silently with:

ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.

Removing bash from the menuconfig SHELLCMDS variable fixes
the psudo problem.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 meta/classes/kernel.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 5d9b86a..a1b1354 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -202,7 +202,7 @@ do_menuconfig() {
         export DBUS_SESSION_BUS_ADDRESS='${DBUS_SESSION_BUS_ADDRESS}'
         export XAUTHORITY='${XAUTHORITY}'
 	export TERMWINDOWTITLE="${PN} Kernel Configuration"
-	export SHELLCMDS="bash make menuconfig"
+	export SHELLCMDS="make menuconfig"
 	${TERMCMDRUN}
 	if [ $? -ne 0 ]; then
 		echo "Fatal: '${TERMCMD}' not found. Check TERMCMD variable."
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/1] kernel: fix menuconfig
  2011-03-01 21:28 [PATCH 0/1] kernel: fix menuconfig Bruce Ashfield
  2011-03-01 21:28 ` [PATCH 1/1] kernel: remove explicit bash call in do_menuconfig Bruce Ashfield
@ 2011-03-03 19:12 ` Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2011-03-03 19:12 UTC (permalink / raw)
  To: poky

On 03/01/2011 01:28 PM, Bruce Ashfield wrote:
> Fixes [BUGID #598]
>
> The explicit addition of "bash" before "make menuconfig"
> is clearing variables that are required for pseudo. The
> end result is that menuconfig often fails silently with:
>
> ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.
>
> Removing bash from the menuconfig SHELLCMDS variable fixes
> the pseudo problem.
>
> As near as I can tell this is unversally safe (i.e. with
> a different TERMCMD), but I'm willing to be correct and/or
> replaced by a better patch. But this definitely fixed the
> problem for me.
>
> Pull URL: git://git.pokylinux.org/poky-contrib.git
>    Branch: zedd/kernel
>    Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel
>
> Thanks,
>      Bruce Ashfield<bruce.ashfield@windriver.com>
> ---
>
>
> Bruce Ashfield (1):
>    kernel: remove explicit bash call in do_menuconfig
>
>   meta/classes/kernel.bbclass |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
Merged into Bernard, OE-Core and Master

Thanks
	Sau!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-03 19:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-01 21:28 [PATCH 0/1] kernel: fix menuconfig Bruce Ashfield
2011-03-01 21:28 ` [PATCH 1/1] kernel: remove explicit bash call in do_menuconfig Bruce Ashfield
2011-03-03 19:12 ` [PATCH 0/1] kernel: fix menuconfig Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox