udev: add init script header so that insserv does the right thing (fixing mountall/devpts ordering issues)

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4988 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Ross Burton 2008-07-31 10:58:38 +00:00
parent 6239bc4fe4
commit ed1b1e9a8f
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,14 @@
#!/bin/sh -e
### BEGIN INIT INFO
# Provides: udev
# Required-Start: mountvirtfs
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Start udevd, populate /dev and load drivers.
### END INIT INFO
export TZ=/etc/localtime
[ -d /sys/class ] || exit 1

View File

@ -3,7 +3,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
the hotplug package and requires a kernel not older than 2.6.12."
RPROVIDES_${PN} = "hotplug"
PR = "r4"
PR = "r5"
SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://noasmlinkage.patch;patch=1 \