]> code.ossystems Code Review - openembedded-core.git/commitdiff
base-files: Don't fork to call id in profile
authorRichard Purdie <richard@openedhand.com>
Tue, 19 Aug 2008 16:30:55 +0000 (16:30 +0000)
committerRichard Purdie <richard@openedhand.com>
Tue, 19 Aug 2008 16:30:55 +0000 (16:30 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5076 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/base-files/base-files/profile
meta/packages/base-files/base-files_3.0.14.bb

index 3dc22f316a18121345a053fa70be598c2c063240..edfcab30641367119b05247ef815a49f7957391e 100644 (file)
@@ -11,7 +11,7 @@ if [ ! -e /etc/localtime ]; then
        export TZ
 fi
 
-if [ "`id -u`" -eq 0 ]; then
+if [ "$HOME" = "/home/root" ]; then
    PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:
 fi
 if [ "$PS1" ]; then
index 42cd031573db9ad81b206618181c4b5f728bd5e7..623c782606836845bd50c90319ac876c31b6401e 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Miscellaneous files for the base system."
 SECTION = "base"
 PRIORITY = "required"
-PR = "r60"
+PR = "r61"
 LICENSE = "GPL"
 
 SRC_URI = " \