]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel: remove explicit bash call in do_menuconfig
authorBruce Ashfield <bruce.ashfield@windriver.com>
Tue, 1 Mar 2011 21:11:12 +0000 (16:11 -0500)
committerSaul Wold <sgw@linux.intel.com>
Wed, 2 Mar 2011 17:48:53 +0000 (09:48 -0800)
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

index 5d9b86a819183ac1eafc713c24bb7a3a4dc3b636..a1b135478831f42fcf43080bfcb5f2e177d8b586 100644 (file)
@@ -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."