Skip to contentSkip to conversation

kernel: fix menuconfig

PATCH Applied Bruce Ashfield 2 participants 3 messages Mar 1, 2011 – Mar 3, 2011

lore
Share & tools
lore
#0 lore raw

cover kernel: fix menuconfig

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 <[email protected]>
---

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

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

PATCH 1/1 kernel: remove explicit bash call in do_menuconfig

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.

---
 meta/classes/kernel.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/kernel.bbclass +1 -1
index 5d9b86a..a1b1354 100644
@@ -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."
Signature · 1 line
1.7.0.4
Applied
#2 lore raw
In reply to Bruce Ashfield
Quoted 28 lines · Bruce Ashfield

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<[email protected]>
---

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

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

_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky

Merged into Bernard, OE-Core and Master

Thanks
Sau!