[OE-core] [PATCH] bash: define NON_INTERACTIVE_LOGIN_SHELLS
Olof Johansson
olof.johansson at axis.com
Tue Jul 7 07:18:08 UTC 2015
Excerpts from wenzong.fan at windriver.com's message of 2015-07-07 07:56:48 +0200:
> From: Li Wang <li.wang at windriver.com>
>
> Allow login shells to read the startup files, even if they are not
> interactive.
>
> The patch comes from:
> * bash-3.2-30.fc10.src.rpm - bash-2.03-profile.patch
How is this different from
commit 3985cef24de2da3b6895e67f4d577d4806c032b0
Author: Chen Qi <Qi.Chen at windriver.com>
Date: Tue Apr 21 17:30:47 2015 +0800
bash: explicitly define NON_INTERACTIVE_LOGIN_SHELLS in CFLAGS
If NON_INTERACTIVE_LOGIN_SHELLS is defined, all login shells read the
startup files, even if they are not interactive.
This is the behaviour of other major distros like Ubuntu and Fedora.
We also need to set it so that when executing `su -l xxx -c env' command,
/etc/profile is parsed.
[YOCTO #5359]
[YOCTO #7137]
?
--
olof johansson
More information about the Openembedded-core
mailing list