Package: udev
Version: 0.5.2-1
Please use /sbin/udevtrigger instead of /sbin/udevsynthesize as the main
synthesizer since the latter does not exist in Debian. Also, in order to
get initng working in some LiveCD's (i.e. Debian Live), mousedev, evdev
and joydev needs to be modprobed. Please find attached two brief patches
regarding this.
Thanks for your time,
Jose
--
José M. Parrella -> Debian Sid, k2.6.18
Escuela de Ingenieria Electrica
Universidad Central de Venezuela -> ucvlug.info
--- initng-0.5.2.orig/initfiles/system/mountroot.ii
+++ initng-0.5.2/initfiles/system/mountroot.ii
@@ -82,14 +82,10 @@
then
echo "Remounting root filesystem read/write"
@mount@ -n -o remount,rw / >/dev/null 2>&1
-#ifd pingwinek
result=${?}
# code 32 means 'not implemented', we got it on livecd
using
# unionfs combined with squashfs
if [ ${result} -ne 0 -a ${result} -ne 32 ]
-#elsed
- if [ ${?} -ne 0 ]
-#endd
then
echo "Root filesystem could not be mounted
read/write :("
exit 1
--- initng-0.5.2.orig/initfiles/system/udev.ii
+++ initng-0.5.2/initfiles/system/udev.ii
@@ -142,13 +142,18 @@
# run syntesizers that will make hotplug events for every
# devices that is currently in the computer, that will
# create all dev files.
- if [ -x "@/sbin/udevsynthesize@" ]
+ if [ -x "@/sbin/udevtrigger@" ]
then
udevd_timeout=60
- echo "Running @/sbin/udevsynthesize@ to populate /dev
..."
+ echo "Running @/sbin/udevtrigger@ to populate /dev ..."
@/bin/mkdir@ -p /dev/.udev/db /dev/.udev/queue
/dev/.udevdb
- @/sbin/udevsynthesize@
+ # Workaround for X.org
+ for module in mousedev evdev joydev; do
+ modprobe -q $module || true
+ done
+
+ @/sbin/udevtrigger@
# wait for the udevd childs to finish
echo "Waiting for /dev to be fully populated ..."