Package: live-initramfs
severity: wishlist
Version: 1.110.7~20071118.171728

This package uses udev in the initramfs but doesn't depend on it. And if
you have a old version of udev it fails. This patch adds support for one
old udev version and some detection on witch to use.


-- 
Anton Lundin    +46702-161604
--- live        2007-11-22 23:23:30.000000000 +0100
+++ live.udev   2007-11-22 23:22:17.000000000 +0100
@@ -632,8 +632,15 @@
 
        modprobe -q af_packet # For DHCP
 
-       udevtrigger
-       udevsettle
+       if [ -e /sbin/udevtrigger && -e /sbin/udevsettle ] ; then
+               /sbin/udevtrigger
+               /sbin/udevsettle
+       else 
+               if [ -e /sbin/udevplug ] ; then
+                       /sbin/udevplug -s -Bpci -Iclass=0x02*
+                       /sbin/udevplug -Bpci -Iclass=0x0[69ace]*
+               fi
+               # error case?
+       fi
 
        ipconfig ${DEVICE} | tee /netboot.config
 

Attachment: pgpOQKMBHqI4c.pgp
Description: PGP signature

Reply via email to