From: Martin Jansa Date: Mon, 3 May 2010 16:44:40 +0000 (+0200) Subject: base-files: adjust SHR profile a bit more X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34f9008f3d3770200dc8a47537232df4fe5f6f05;p=openembedded.git 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 --- 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 = " \