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 | poky-a456abafce40df08afeb7cf0eac5cd1cdfac18ee.tar.gz | |
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 3dc22f316a..edfcab3064 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 | |||
| 11 | export TZ | 11 | export TZ |
| 12 | fi | 12 | fi |
| 13 | 13 | ||
| 14 | if [ "`id -u`" -eq 0 ]; then | 14 | if [ "$HOME" = "/home/root" ]; then |
| 15 | PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin: | 15 | PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin: |
| 16 | fi | 16 | fi |
| 17 | if [ "$PS1" ]; then | 17 | 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 42cd031573..623c782606 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 @@ | |||
| 1 | DESCRIPTION = "Miscellaneous files for the base system." | 1 | DESCRIPTION = "Miscellaneous files for the base system." |
| 2 | SECTION = "base" | 2 | SECTION = "base" |
| 3 | PRIORITY = "required" | 3 | PRIORITY = "required" |
| 4 | PR = "r60" | 4 | PR = "r61" |
| 5 | LICENSE = "GPL" | 5 | LICENSE = "GPL" |
| 6 | 6 | ||
| 7 | SRC_URI = " \ | 7 | SRC_URI = " \ |
