mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
base-files: Make PATH retain the existing value
We may set the PATH variable such as in /etc/environment for ssh session, so make PATH retain the previous existing value to fix the gap. (From OE-Core rev: 4340cd7da25c69424915f29c2bb9531fc33617e6) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
9e2219219e
commit
4ac36e4b08
|
@ -1,7 +1,7 @@
|
|||
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
|
||||
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
|
||||
|
||||
PATH="/usr/local/bin:/usr/bin:/bin"
|
||||
PATH="$PATH:/usr/local/bin:/usr/bin:/bin"
|
||||
[ "$TERM" ] || TERM="vt100" # Basic terminal capab. For screen etc.
|
||||
|
||||
# Add /sbin & co to $PATH for the root user
|
||||
|
|
Loading…
Reference in New Issue
Block a user