From: Olof Johansson <olof.johansson@axis.com>
To: "wenzong.fan@windriver.com" <wenzong.fan@windriver.com>
Cc: "openembedded-core@"
<lists.openembedded.orgopenembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] bash: define NON_INTERACTIVE_LOGIN_SHELLS
Date: Tue, 7 Jul 2015 09:18:08 +0200 [thread overview]
Message-ID: <1436253280-sup-824@axis.com> (raw)
In-Reply-To: <1436248608-29008-1-git-send-email-wenzong.fan@windriver.com>
Excerpts from wenzong.fan@windriver.com's message of 2015-07-07 07:56:48 +0200:
> From: Li Wang <li.wang@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@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
prev parent reply other threads:[~2015-07-07 7:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-07 5:56 [PATCH] bash: define NON_INTERACTIVE_LOGIN_SHELLS wenzong.fan
2015-07-07 7:18 ` Olof Johansson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1436253280-sup-824@axis.com \
--to=olof.johansson@axis.com \
--cc=lists.openembedded.orgopenembedded-core@lists.openembedded.org \
--cc=wenzong.fan@windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox