kernel: fix menuconfig
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(-)
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
@@ -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
Saul Wold
AppliedQuoted 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_PRELOADcannot 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/kernelThanks,
Bruce Ashfield<[email protected]>
---Bruce Ashfield (1):
kernel: remove explicit bash call indo_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!