Removed runUdev, since we no longer use it.
authorChris Gianelloni <wolf31o2@gentoo.org>
Sat, 2 Feb 2008 17:21:23 +0000 (17:21 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Sat, 2 Feb 2008 17:21:23 +0000 (17:21 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@581 67a159dc-881f-0410-a524-ba9dfbe2cb84

ChangeLog
generic/initrd.defaults
generic/initrd.scripts

index 1ce810c6702a82d0100648852f8a2975aa1b57de..6ec1085a69e61535f70fa1a588f5d9ab3704eb71 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  02 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+  generic/initrd.defaults, generic/initrd.scripts:
+  Removed runUdev, since we no longer use it.
+
   11 Jan 2008; Chris Gianelloni <wolf31o2@gentoo.org> gen_initramfs.sh,
   gen_initrd.sh, genkernel:
   Fixing a problem where we were copying the busybox binary cache into the
index c45eb35fac59c6544c98d1eabdd9aefbea4802f5..5d0a2b0060383595a897bd7adf6ad9dea7f159cc 100644 (file)
@@ -52,7 +52,7 @@ KV="`uname -r`"
 KMAJOR=`echo $KV | cut -f1 -d.`
 KMINOR=`echo $KV | cut -f2 -d.`
 KVER="${KMAJOR}.${KMINOR}"
-MISCOPTS='idebug detect'
+MISCOPTS='debug detect'
 
 if [ "${KMAJOR}" -eq 2 -a "${KMINOR}" -ge '6' ]
 then
index f6a8d419dd2b468ed50975f99645eabae22110ae..9f2351c0e2416106d9ce7b056f04a2b89becfd96 100644 (file)
@@ -269,8 +269,8 @@ findnfsmount() {
                                else
                                        bad_msg "NFS Mounting failed. Is the path correct ?"
                                fi
-                               # FIXME: Need to start portmap and the other rpc daemons in order to
-                               # FIXME: remount rw.
+                               # FIXME: Need to start portmap and the other rpc daemons in
+                               # order to remount rw.
                        fi
 
                fi
@@ -297,32 +297,6 @@ run_shell() {
        /bin/ash
 }
 
-runUdev() {
-       mount -t tmpfs -o size=100k udev /dev
-       mkdir /dev/pts
-       mkdir /dev/shm
-       echo  > /proc/sys/kernel/hotplug 
-       /sbin/udevd --daemon
-       mkdir -p /dev/.udev/queue
-       /sbin/udevtrigger
-
-       good_msg 'Letting udev process events'
-       loop=0
-       while test -d /dev/.udev/queue; do
-               sleep 1;
-               test "$loop" -gt 30 && break
-               loop=$(($loop + 1))
-       done
-       good_msg "Udev finished proccsing after $loop iterations"
-
-       killall udevd > /dev/null 2>&1
-       ln -snf /proc/self/fd /dev/fd
-       ln -snf /proc/self/fd/0 /dev/stdin
-       ln -snf /proc/self/fd/1 /dev/stdout
-       ln -snf /proc/self/fd/2 /dev/stderr
-       ln -snf /proc/kcore /dev/core
-}
-
 runmdev() {
        # busybox udev replacement
        mdev -s
@@ -379,7 +353,8 @@ crypt_filter() {
 }
 
 whereis(){
-       # $1 = variable whose value is the path (examples: "REAL_ROOT", "LUKS_KEYDEV")
+       # $1 = variable whose value is the path (examples: "REAL_ROOT",
+       #      "LUKS_KEYDEV")
        # $2 = label
        # $3 = optional explanations for failure
 
@@ -431,7 +406,6 @@ start_dev_mgr() {
                [ "${DO_slowusb}" ] && sleep 10
                kill_devfsd
                good_msg 'Activating mdev'
-#              runUdev
                runmdev
                [ "${DO_slowusb}" ] && sleep 20
                cd /