udev: install the initramfs-tools hook.

This replaces klibc-udev, which adds extra work for a little
gain, so just use the real pkg.

Bump revision.

--HG--
extra : convert_revision : c01ed34d0766012254b24b1da090b24a261a6bf7
This commit is contained in:
Juan RP
2009-06-20 18:50:06 +02:00
parent 3afdd1f54d
commit a13d4f93b6
5 changed files with 15 additions and 58 deletions

View File

@@ -0,0 +1,24 @@
#!/bin/sh -e
# initramfs premount script for udev
PREREQ=""
# Output pre-requisites
prereqs()
{
echo "$PREREQ"
}
case "$1" in
prereqs)
prereqs
exit 0
;;
esac
# Stop udevd, we'll miss a few events while we run init, but we catch up
pkill udevd
# Move /dev to the real filesystem
mount -n -o move /dev ${rootmnt}/dev