All of lore.kernel.org
 help / color / mirror / Atom feed
* Help on Handle BASH_FUNC shellshock implication
@ 2021-05-10  6:45 Zhang, Qiang
  2021-05-10  7:45 ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Zhang, Qiang @ 2021-05-10  6:45 UTC (permalink / raw)
  To: Richard Purdie; +Cc: bitbake-devel

Hello  Richard Purdie

Excuse me, I have some questions to ask
 I've added this modification :
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=eb2ea6fd2d2dc626ead13de1ec334d4220651612

In Ubuntu 18.04
but   I enter the following command , it will still fail:

foobar() { echo "foobar"; }

export -f foobar

bitbake -c menuconfig linux-yocto

the error occur, not launch menuconfig

0: linux-yocto-5.4.x+gitAUTOINC+d676bf5ff7_1b10854a10-r0 do_menuconfig - 0s (pid 6398)
Trying to run: tmux att -t devshell-6398
can't find session devshell-6398
Trying to run: tmux att -t devshell-6398
can't find session devshell-6398

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

* Re: Help on Handle BASH_FUNC shellshock implication
  2021-05-10  6:45 Help on Handle BASH_FUNC shellshock implication Zhang, Qiang
@ 2021-05-10  7:45 ` Richard Purdie
  2021-05-10  8:19   ` 回复: " Zhang, Qiang
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2021-05-10  7:45 UTC (permalink / raw)
  To: Zhang, Qiang; +Cc: bitbake-devel

On Mon, 2021-05-10 at 06:45 +0000, Zhang, Qiang wrote:
> Excuse me, I have some questions to ask
>  I've added this modification :
> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=eb2ea6fd2d2dc626ead13de1ec334d4220651612
> 
> In Ubuntu 18.04
> but   I enter the following command , it will still fail:
> 
> foobar() { echo "foobar"; }
> 
> export -f foobar
> 
> bitbake -c menuconfig linux-yocto
> 
> the error occur, not launch menuconfig
> 
> 0: linux-yocto-5.4.x+gitAUTOINC+d676bf5ff7_1b10854a10-r0 do_menuconfig - 0s (pid 6398)
> Trying to run: tmux att -t devshell-6398
> can't find session devshell-6398
> Trying to run: tmux att -t devshell-6398
> can't find session devshell-6398

I'm not seeing the connection between the export command and menuconfig not 
starting. Are you saying that bash function exports are breaking menuconfig?

I'm not sure what you're asking...

Cheers,

Richard


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

* 回复: Help on Handle BASH_FUNC shellshock implication
  2021-05-10  7:45 ` Richard Purdie
@ 2021-05-10  8:19   ` Zhang, Qiang
  0 siblings, 0 replies; 3+ messages in thread
From: Zhang, Qiang @ 2021-05-10  8:19 UTC (permalink / raw)
  To: Richard Purdie; +Cc: bitbake-devel



________________________________________
发件人: Richard Purdie <richard.purdie@linuxfoundation.org>
发送时间: 2021年5月10日 15:45
收件人: Zhang, Qiang
抄送: bitbake-devel@lists.openembedded.org
主题: Re: Help on  Handle BASH_FUNC shellshock implication

[Please note: This e-mail is from an EXTERNAL e-mail address]

On Mon, 2021-05-10 at 06:45 +0000, Zhang, Qiang wrote:
> Excuse me, I have some questions to ask
>  I've added this modification :
> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=eb2ea6fd2d2dc626ead13de1ec334d4220651612
>
> In Ubuntu 18.04
> but   I enter the following command , it will still fail:
>
> foobar() { echo "foobar"; }
>
> export -f foobar
>
> bitbake -c menuconfig linux-yocto
>
> the error occur, not launch menuconfig
>
> 0: linux-yocto-5.4.x+gitAUTOINC+d676bf5ff7_1b10854a10-r0 do_menuconfig - 0s (pid 6398)
> Trying to run: tmux att -t devshell-6398
> can't find session devshell-6398
> Trying to run: tmux att -t devshell-6398
> can't find session devshell-6398

>I'm not seeing the connection between the export >command and menuconfig not
>starting. Are you saying that bash function exports are >breaking menuconfig?

Yes, the that bash function exports affect menuconfig,

Thanks
Qiang
>
>I'm not sure what you're asking...
>
>Cheers,
>
>Richard


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

end of thread, other threads:[~2021-05-10  8:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-10  6:45 Help on Handle BASH_FUNC shellshock implication Zhang, Qiang
2021-05-10  7:45 ` Richard Purdie
2021-05-10  8:19   ` 回复: " Zhang, Qiang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.