summaryrefslogtreecommitdiff
path: root/meta/packages/udev
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2008-07-31 10:58:38 +0000
committerRoss Burton <ross@openedhand.com>2008-07-31 10:58:38 +0000
commited1b1e9a8f021dfcc347a1da4a4ad1a1eac9290e (patch)
tree0d9ff2d96bbb582522aac8e51831599df12e3ebf /meta/packages/udev
parent6239bc4fe46959330dffa7f4782e45637b4d6e37 (diff)
downloadopenembedded-core-ed1b1e9a8f021dfcc347a1da4a4ad1a1eac9290e.tar.gz
openembedded-core-ed1b1e9a8f021dfcc347a1da4a4ad1a1eac9290e.tar.bz2
openembedded-core-ed1b1e9a8f021dfcc347a1da4a4ad1a1eac9290e.tar.xz
openembedded-core-ed1b1e9a8f021dfcc347a1da4a4ad1a1eac9290e.zip
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
Diffstat (limited to 'meta/packages/udev')
-rw-r--r--meta/packages/udev/udev-124/init11
-rw-r--r--meta/packages/udev/udev_124.bb2
2 files changed, 12 insertions, 1 deletions
diff --git a/meta/packages/udev/udev-124/init b/meta/packages/udev/udev-124/init
index 0f2ffcc29..b78a07b20 100644
--- a/meta/packages/udev/udev-124/init
+++ b/meta/packages/udev/udev-124/init
@@ -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
diff --git a/meta/packages/udev/udev_124.bb b/meta/packages/udev/udev_124.bb
index e4f7cb351..e0f694565 100644
--- a/meta/packages/udev/udev_124.bb
+++ b/meta/packages/udev/udev_124.bb
@@ -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 \