diff options
author | Richard Purdie <richard@openedhand.com> | 2008-08-19 16:30:55 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-08-19 16:30:55 +0000 |
commit | a456abafce40df08afeb7cf0eac5cd1cdfac18ee (patch) | |
tree | aea891de00fe6edd5d4a1f826fb9ccbe2870f5ba | |
parent | 9469a087a78507dab6d4df1011040a83e62a2dac (diff) | |
download | openembedded-core-a456abafce40df08afeb7cf0eac5cd1cdfac18ee.tar.gz openembedded-core-a456abafce40df08afeb7cf0eac5cd1cdfac18ee.tar.bz2 openembedded-core-a456abafce40df08afeb7cf0eac5cd1cdfac18ee.tar.xz openembedded-core-a456abafce40df08afeb7cf0eac5cd1cdfac18ee.zip |
base-files: Don't fork to call id in profile
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5076 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/packages/base-files/base-files/profile | 2 | ||||
-rw-r--r-- | meta/packages/base-files/base-files_3.0.14.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/packages/base-files/base-files/profile b/meta/packages/base-files/base-files/profile index 3dc22f316..edfcab306 100644 --- a/meta/packages/base-files/base-files/profile +++ b/meta/packages/base-files/base-files/profile @@ -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 diff --git a/meta/packages/base-files/base-files_3.0.14.bb b/meta/packages/base-files/base-files_3.0.14.bb index 42cd03157..623c78260 100644 --- a/meta/packages/base-files/base-files_3.0.14.bb +++ b/meta/packages/base-files/base-files_3.0.14.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Miscellaneous files for the base system." SECTION = "base" PRIORITY = "required" -PR = "r60" +PR = "r61" LICENSE = "GPL" SRC_URI = " \ |