diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2010-05-03 18:44:40 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-05-03 19:32:31 +0200 |
commit | 34f9008f3d3770200dc8a47537232df4fe5f6f05 (patch) | |
tree | 596d8dc80f8c7272c2925d5432a76c6034ba5045 /recipes/base-files | |
parent | d278903da154f5c55bc214539899700fe13df54c (diff) |
base-files: adjust SHR profile a bit more
* on some targets HOME is set to '/' before /etc/profile gets sourced
* Haven't found yet, why it's set '/' in first place, but will apply
this workaround proposed by Joachim Ott for now.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/base-files')
-rw-r--r-- | recipes/base-files/base-files/shr/profile | 2 | ||||
-rw-r--r-- | recipes/base-files/base-files_3.0.14.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/base-files/base-files/shr/profile b/recipes/base-files/base-files/shr/profile index ea5e2705e3..05e8490fd8 100644 --- a/recipes/base-files/base-files/shr/profile +++ b/recipes/base-files/base-files/shr/profile @@ -39,7 +39,7 @@ export PS1="\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \\$\[\033[00m\] " if [ "$DISPLAY" = "" ] ; then export DISPLAY=localhost:0 fi -if [ "$HOME" = "" ] ; then +if [ "$HOME" = "" -o "$HOME" = "/" ] ; then export HOME=/home/root fi export HISTFILESIZE=1000 diff --git a/recipes/base-files/base-files_3.0.14.bb b/recipes/base-files/base-files_3.0.14.bb index 05001f837f..9801f8ae8c 100644 --- a/recipes/base-files/base-files_3.0.14.bb +++ b/recipes/base-files/base-files_3.0.14.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Miscellaneous files for the base system." SECTION = "base" PRIORITY = "required" -PR = "r93" +PR = "r94" LICENSE = "GPL" SRC_URI = " \ |