Message ID | 20250421061157.3912745-1-mingli.yu@eng.windriver.com |
---|---|
State | New |
Headers | show |
Series | [1/2] base-files: Make PATH retain the existing value | expand |
diff --git a/meta/recipes-core/base-files/base-files/profile b/meta/recipes-core/base-files/base-files/profile index 5e8393c91c..375be64891 100644 --- a/meta/recipes-core/base-files/base-files/profile +++ b/meta/recipes-core/base-files/base-files/profile @@ -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