diff options
author | Andrew Gaffney <agaffney@gentoo.org> | 2008-12-07 14:55:23 -0600 |
---|---|---|
committer | Andrew Gaffney <agaffney@gentoo.org> | 2008-12-07 14:55:23 -0600 |
commit | 40efdee49c6ea28cebeae872556f531f24480978 (patch) | |
tree | f785e9e1555f0e3c0b92f7e96f26c0727efe4597 /netboot | |
parent | Move all netboot logic from catalyst into gk (diff) | |
download | genkernel-40efdee49c6ea28cebeae872556f531f24480978.tar.gz genkernel-40efdee49c6ea28cebeae872556f531f24480978.tar.bz2 genkernel-40efdee49c6ea28cebeae872556f531f24480978.zip |
Enable CONFIG_FEATURE_PREFER_APPLETS busybox option
export PATH at top of netboot linuxrc
Diffstat (limited to 'netboot')
-rw-r--r-- | netboot/linuxrc.x | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/netboot/linuxrc.x b/netboot/linuxrc.x index 87d04b9..5285fa5 100644 --- a/netboot/linuxrc.x +++ b/netboot/linuxrc.x @@ -3,14 +3,12 @@ # Copyright 2001-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later - +export PATH="/usr/sbin:/usr/bin:/sbin:/bin" #// Path, basic vars #//-------------------------------------------------------------------------------- BasicSetup() { - export PATH=/usr/sbin:/usr/bin:/sbin:/bin - #// Copyright year, Build date in YYYYMMDD format, and in MMDDYYYY to make busybox 'date' happy MYDATE="`cat /etc/build_date`" CPYYEAR="$(echo ${MYDATE} | cut -c 1-4)" @@ -27,9 +25,9 @@ BasicSetup() { StartUp() { if [ ! -f "/tmp/.startup" ]; then #// Mount proc && sys - /bin/mount proc /proc -t proc # /proc - /bin/mount sys /sys -t sysfs # /sys - /bin/mount mdev /dev -t tmpfs -o size=800k # /dev for mdev + mount proc /proc -t proc # /proc + mount sys /sys -t sysfs # /sys + mount mdev /dev -t tmpfs -o size=800k # /dev for mdev #// Let busybox build its applets /bin/busybox --install -s |