aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2006-06-19 05:03:54 +0000
committerJoshua Kinard <kumba@gentoo.org>2006-06-19 05:03:54 +0000
commitf91b026e0540a4d96413d7c0741ee192bfd6c7ac (patch)
treee550bc42c700c8f2b371f0df7b1c25b3e63e4a97 /netboot
parentEnable the config option for busybox's --install parameter. (diff)
downloadgenkernel-f91b026e0540a4d96413d7c0741ee192bfd6c7ac.tar.gz
genkernel-f91b026e0540a4d96413d7c0741ee192bfd6c7ac.tar.bz2
genkernel-f91b026e0540a4d96413d7c0741ee192bfd6c7ac.zip
Remove getdvhoff hack in gen_initramfs.sh for mips livecds (it's a busybox applet now), tweak the ip32r5k config, add wget to the mips netboot busybox config. Also import the remaining 2006.1 mips-sources configs and remove the old 2006.0 ones.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@412 67a159dc-881f-0410-a524-ba9dfbe2cb84
Diffstat (limited to 'netboot')
-rw-r--r--netboot/linuxrc.x15
1 files changed, 6 insertions, 9 deletions
diff --git a/netboot/linuxrc.x b/netboot/linuxrc.x
index 2e87535a..c1b7e6ab 100644
--- a/netboot/linuxrc.x
+++ b/netboot/linuxrc.x
@@ -29,7 +29,7 @@ StartUp() {
#// Mount proc && sys
mount none /proc -t proc # /proc
mount none /sys -t sysfs # /sys
- mount udev /dev -t tmpfs -o size=250k # /dev for udev
+ mount udev /dev -t tmpfs -o size=800k # /dev for mdev
#// Let busybox build its applets
/bin/busybox --install
@@ -46,19 +46,16 @@ StartUp() {
#// Mount remaining filesystems
mount none /tmp -t tmpfs -o rw # /tmp
- mount devpts /dev/pts -t devpts # /dev/pts
+ mount devpts /dev/pts -t devpts -o size=300k # /dev/pts
#// Create mtab
ln -sf /proc/mounts /etc/mtab # mtab (symlink -> /proc/mounts)
- #// Udevstart segfaults if this file exists; Works for our needs fine w/o it.
- rm -f /etc/udev/rules.d/50-udev.rules
+ #// Start mdev
+ echo "/sbin/mdev" > /proc/sys/kernel/hotplug # mdev handles hotplug events
+ /sbin/mdev -s # have mdev populate /dev
- #// Start udev
- echo "/sbin/udevsend" > /proc/sys/kernel/hotplug
- /sbin/udevstart
-
- #// udev doesn't create RAID devices or std* for us
+ #// mdev doesn't create RAID devices or std* for us
mknod /dev/md0 b 9 0
mknod /dev/md1 b 9 1
mknod /dev/md2 b 9 2