Adding upstream version 1.87.1.
[live-boot-grml.git] / scripts / casper
old mode 100644 (file)
new mode 100755 (executable)
index 352cca9..a4c78b3
@@ -4,6 +4,9 @@
 
 export PATH=/root/usr/bin:/root/usr/sbin:/root/bin:/root/sbin:/usr/bin:/usr/sbin:/bin:/sbin
 
+echo "/root/lib" >> /etc/ld.so.conf
+echo "/root/usr/lib" >> /etc/ld.so.conf
+
 mountpoint=/cdrom
 
 USERNAME=casper
@@ -136,6 +139,9 @@ do_netmount() {
 
     modprobe "${MP_QUIET}" af_packet # For DHCP
 
+    udevtrigger
+    udevsettle
+
     ipconfig ${DEVICE} /tmp/net-${DEVICE}.conf | tee /netboot.config
 
     if [ "${NFSROOT}" = "auto" ]; then
@@ -498,7 +504,7 @@ mountroot() {
         if do_netmount ; then
             livefs_root="${mountpoint}"
         else
-            panic "Unable to find a the network rootfs live file system"
+            panic "Unable to find a live file system on the network"
         fi
     else
         # Scan local devices for the image