diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2010-05-03 07:09:07 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-05-03 07:30:44 +0200 |
commit | 87d5cdd0b62783b137f3186397b6bd8f584a9916 (patch) | |
tree | 1b852b66ea48af8600ad5a6e8c0ec0d44af4c27e /recipes/base-files | |
parent | c4abd9d669741e7f238c1ed82acad72878acb557 (diff) |
base-files: adjust SHR /etc/profile
* export HOME if it's empty, because xserver-nodm needs that to run
x-window-manager (E17 was creating .e in / not real HOME)
* don't export LANG, as users cannot overwrite it with extra file
in /etc/profile.d/, if it's really needed put extra file there with
default LANG
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 | 8 | ||||
-rw-r--r-- | recipes/base-files/base-files_3.0.14.bb | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/recipes/base-files/base-files/shr/profile b/recipes/base-files/base-files/shr/profile index 202a9ae7b4..ea5e2705e3 100644 --- a/recipes/base-files/base-files/shr/profile +++ b/recipes/base-files/base-files/shr/profile @@ -36,14 +36,14 @@ alias pico=nano alias fso='cd /local/pkg/fso' alias ipkg='opkg' export PS1="\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \\$\[\033[00m\] " -if [ "$DISPLAY" = "" ] -then +if [ "$DISPLAY" = "" ] ; then export DISPLAY=localhost:0 fi +if [ "$HOME" = "" ] ; then + export HOME=/home/root +fi export HISTFILESIZE=1000 export HISTSIZE=1000 alias rm='rm -i'; alias cp='cp -i'; alias mv='mv -i' alias la='ls -ltrA'; alias lh='ls -ltrh'; alias lr='ls -ltr'; alias lR='ls -ltrR' -# set your locale here: -export LANG=en_US.UTF-8 diff --git a/recipes/base-files/base-files_3.0.14.bb b/recipes/base-files/base-files_3.0.14.bb index 7cb4061aed..05001f837f 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 = "r92" +PR = "r93" LICENSE = "GPL" SRC_URI = " \ |