[OE-core] [PATCH 1/1] bash: make job control really work

Cui, Dexuan dexuan.cui at intel.com
Wed Nov 2 15:48:11 UTC 2011


Richard Purdie wrote on 2011-11-02:
> On Wed, 2011-11-02 at 15:10 +0800, Cui, Dexuan wrote:
>> Richard Purdie wrote on 2011-11-01:
>>> On Tue, 2011-11-01 at 16:05 +0800, Dexuan Cui wrote:
> I had a go at this problem myself and it took a bit of figuring out.
> The problem is that bash ships "config.h.in" but autoheader overwrites it.
> This removes the start/end includes from config.h or config-bot.h and
> config-top.h. We can do something like this:
> 
> export AUTOHEADER = "true"
> 
> do_configure_prepend () {
>        if [ ! -e acinclude.m4 ]; then
>                cat aclocal.m4 > acinclude.m4
>        fi
> }
> 
> instead of the current do_configure override. The _prepend ensures the
> bash specific macros are preserved and the export AUTOHEADER stops
> autoheader from running at all.
> 
> Could you test those changes against bash 4.x and bash 3.x (replacing
> the current do_configure in bash.inc) and then if that works send a patch please?
Looks bug 487 only happens to bash 4.x and bash 3.x doesn't have such a bug (the
recipe of bash 3.x doesn't use bash.inc, either)

RP, thanks a lot for the help! Here is the new patch:
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=dcui/bug487&id=b524337ed5670de2c0d294c3f6970e24f23847eb

Thanks,
-- Dexuan



More information about the Openembedded-core mailing list