generic-poky/meta/recipes-core
Kevin Tian abc25cb885 base-files: remove ending colon from default $PATH for root user
now the PATH for root user defined in a problematic way
    PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:

from eglibc:
    /* Two adjacent colons, or a colon at the beginning or the end
       of `PATH' means to search the current directory.  */

that means current directory is always searched as the last path,
which could generate undesired behavior.

One example is found in LTP cron_deny01 test, which always complains
    "sh: cron_deny01 not found"

cron_deny01 is a shell script which setups the initial test preparation
and then invokes itself for real test under a different user:
    su $TEST_USER1 -c "$0"

'su' doesn't inherit PATH into the sub-shell, and thus $0 has to
be an absolute path to have right script found.

ltp appends the path of cron_deny01 to $PATH before running the test:
    export PATH="${PATH}:${LTPROOT}/testcases/bin"

In ideal way "${LTPROOT}/testcases/bin/cron_deny01" is found and becomes
$0, which works well.

However due to the ending colon in original PATH:
    PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin::${LTPROOT}/testcases/bin
$0 becomes 'cron_deny01' w/o leading path which makes sub-shell under 'su'
failed to locate cron_deny01.

remove ending colon then fixes this problem.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2011-01-28 16:49:12 +00:00
..
base-files base-files: remove ending colon from default $PATH for root user 2011-01-28 16:49:12 +00:00
base-passwd SRC_URI Checksums Additionals 2010-12-09 08:18:17 -08:00
busybox SRC_URI Checksums Additionals 2010-12-09 08:18:17 -08:00
console-tools SRC_URI Checksums Additionals 2010-12-09 08:18:17 -08:00
coreutils coreutils: upgrade to version 8.9 2011-01-21 01:36:16 -08:00
dbus dbus: Drop now unneeded DEPENDS on glib-2.0 2011-01-21 13:37:15 +00:00
dbus-wait recpies: use SRCPV instead of SRCREV for PV 2011-01-06 10:37:30 +00:00
dropbear recipes-core: Cleanup package descriptions and summaries 2010-10-11 22:15:10 +01:00
eggdbus SRC_URI Checksums Additionals 2010-12-09 08:18:17 -08:00
eglibc gcc/libc: Change bootstrap to use an intermediate sysroot and hence no longer overwrite files 2011-01-25 12:25:45 +00:00
expat SRC_URI Checksums Additionals 2010-12-09 08:18:17 -08:00
feed-config poky-feed-config-opkg: Add license checksum to bb file 2010-12-02 05:24:44 -08:00
gettext gettext: Add source and license checkums 2010-12-21 09:29:12 +00:00
glib-2.0 glib-2.0: Add missing DEPENDS on dbus 2011-01-21 13:37:30 +00:00
glibc gcc/libc: Change bootstrap to use an intermediate sysroot and hence no longer overwrite files 2011-01-25 12:25:45 +00:00
images poky-image*-dev: Add -dev Images contianing headers and libraries 2011-01-21 11:18:37 +00:00
initrdscripts Correct DESCRIPTION typos in various recipes 2010-12-10 22:01:42 -08:00
initscripts RDEPENDS, RRECOMMENDS -> RDPEPENDS_${PN}, RRECOMMENDS_${PN} 2010-12-30 10:03:10 +00:00
jpeg SRC_URI Checksums Additionals 2010-12-09 08:18:17 -08:00
libxml libxml2: Enable "--with-docbook --with-debug --with-catalog" for LSB test. 2011-01-20 21:37:01 +00:00
meta external-python-tarball: include multiprocessing module 2011-01-27 15:27:20 +00:00
ncurses ncurses: upgrade to version 5.7 2011-01-02 01:25:40 -08:00
netbase netbase: upgrade to version 4.44 2010-12-30 12:06:53 +00:00
psplash psplash_svn.bb: Change poky boot logo to yocto logo 2011-01-18 17:54:52 +00:00
readline SRC_URI Checksums Additionals 2010-12-09 08:18:17 -08:00
site_config ncurses: rename site_config that was mis-merged when ncurses moved 2010-09-10 12:57:34 +01:00
sysfsutils SRC_URI Checksums Additionals 2010-12-09 08:18:17 -08:00
sysvinit SRC_URI Checksums Additionals 2010-12-09 08:18:17 -08:00
tasks libtool: Adjusted content of various libtool packages. 2011-01-20 21:36:57 +00:00
tinylogin SRC_URI Checksums Additionals 2010-12-09 08:18:17 -08:00
uclibc recipes-core: Cleanup package descriptions and summaries 2010-10-11 22:15:10 +01:00
udev udev: Add rule to create /dev/fb to fix igep0020 platform X boot issue 2010-12-16 17:28:06 +00:00
update-rc.d recipes-core: Cleanup package descriptions and summaries 2010-10-11 22:15:10 +01:00
util-linux util-linux.inc: Fix DEPENDS on gettext for native case 2011-01-25 19:52:04 +00:00
zlib SRC_URI Checksums Additionals 2010-12-09 08:18:17 -08:00