From 87d5cdd0b62783b137f3186397b6bd8f584a9916 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Mon, 3 May 2010 07:09:07 +0200 Subject: 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 --- recipes/base-files/base-files/shr/profile | 8 ++++---- recipes/base-files/base-files_3.0.14.bb | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'recipes') 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 = " \ -- cgit 1.2.3-korg