From a456abafce40df08afeb7cf0eac5cd1cdfac18ee Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 19 Aug 2008 16:30:55 +0000 Subject: 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 --- meta/packages/base-files/base-files/profile | 2 +- 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 = " \ -- cgit v1.2.3