Re: Netwinder d-i for lenny
* Woody Suwalski <woody@suwalski.net> [2008-09-02 12:38]:
> - ramdisk breaks with:
> /sbin/init: line 31: /lib/debian-installer/init-udev-devices: not found
It seems we need the following patch so initrds will still boot.
Jérémy, is this correct?
Index: src/sbin/init
===================================================================
--- src/sbin/init (revision 55526)
+++ src/sbin/init (working copy)
@@ -20,16 +20,10 @@
cd /mnt
pivot_root . initrd
mkdir proc
-if [ -x /sbin/udevd ]; then
- /lib/debian-installer/init-udev-devices
-elif [ -d /lib/userdevfs/ ]; then
- :
-else
- echo "udev is missing. Giving up!" >&2
- sleep 5000
- exit
-fi
mount /proc
+mkdir -p
+mount /sys
+/lib/debian-installer/start-udev
# Close all open files on the initrd, and run busybox init.
debugshell "before init"
--
Martin Michlmayr
http://www.cyrius.com/
Reply to: