]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bash: explicitly define NON_INTERACTIVE_LOGIN_SHELLS in CFLAGS ChenQi/bug-5539-7137
authorChen Qi <Qi.Chen@windriver.com>
Tue, 21 Apr 2015 09:18:00 +0000 (17:18 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Tue, 21 Apr 2015 09:28:40 +0000 (17:28 +0800)
commitfb6ace7c72d1026cae4af1417822f424f991563f
treee9c47d422836c674bade8793d7b94639f8e2e191
parent4dc3c26daf47ec52cc46ed0b46eccbbe834cc43b
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]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
meta/recipes-extended/bash/bash.inc