From 34f9008f3d3770200dc8a47537232df4fe5f6f05 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Mon, 3 May 2010 18:44:40 +0200 Subject: 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 --- recipes/base-files/base-files/shr/profile | 2 +- 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 = " \ -- cgit v1.2.3