summaryrefslogtreecommitdiff
path: root/packages/udev/udev_084.bb
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-05-03 12:29:24 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-03 12:29:24 +0000
commit5a472649c065482d39a317030734593228ac0258 (patch)
tree3bc539ccfd55072661f4e13eb5416d17c8f79699 /packages/udev/udev_084.bb
parentd602c21a168f2bfc79f5b5451b4614282f08c4b9 (diff)
udev: Do not start any NICs before /etc/init.d/network is run and /var/ is populated
Diffstat (limited to 'packages/udev/udev_084.bb')
-rw-r--r--packages/udev/udev_084.bb18
1 files changed, 15 insertions, 3 deletions
diff --git a/packages/udev/udev_084.bb b/packages/udev/udev_084.bb
index d42366b992..0bb96c7f36 100644
--- a/packages/udev/udev_084.bb
+++ b/packages/udev/udev_084.bb
@@ -8,13 +8,14 @@ SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://flags.patch;patch=1 \
file://udevsynthesize.patch;patch=1 \
file://udevsynthesize.sh \
- file://mount.blacklist"
+ file://mount.blacklist \
+ file://udev_network_queue.sh"
include udev.inc
INITSCRIPT_PARAMS = "start 03 S ."
-PR = "r11"
+PR = "r12"
FILES_${PN} += "${base_libdir}"
UDEV_EXTRAS = "extras/firmware/ extras/scsi_id/ extras/volume_id/ extras/run_directory/"
@@ -26,7 +27,8 @@ do_install () {
oe_runmake 'DESTDIR=${D}' INSTALL=install install
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev
-
+ install -m 0755 ${WORKDIR}/udev_network_queue.sh ${D}${sysconfdir}/init.d/
+
install -d ${D}${sysconfdir}/udev/rules.d/
install -m 0644 ${WORKDIR}/mount.blacklist ${D}${sysconfdir}/udev/
@@ -46,3 +48,13 @@ do_install () {
install -m 0755 ${S}/udevsynthesize ${D}${base_libdir}/udev/udevsynthesize
install -m 0755 ${WORKDIR}/udevsynthesize.sh ${D}${sbindir}/udevsynthesize
}
+
+
+pkg_postinst_append() {
+ update-rc.d -s udev_network_queue.sh start 41 S . start 55 0 6 .
+}
+
+
+pkg_postrm_append() {
+ update-rc.d -f udev_network_queue.sh remove
+}