diff options
Diffstat (limited to 'openembedded/packages/udev/udev_084.bb')
| -rw-r--r-- | openembedded/packages/udev/udev_084.bb | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/openembedded/packages/udev/udev_084.bb b/openembedded/packages/udev/udev_084.bb index 85393315c5..0bb96c7f36 100644 --- a/openembedded/packages/udev/udev_084.bb +++ b/openembedded/packages/udev/udev_084.bb | |||
| @@ -7,13 +7,15 @@ SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ | |||
| 7 | file://noasmlinkage.patch;patch=1 \ | 7 | file://noasmlinkage.patch;patch=1 \ |
| 8 | file://flags.patch;patch=1 \ | 8 | file://flags.patch;patch=1 \ |
| 9 | file://udevsynthesize.patch;patch=1 \ | 9 | file://udevsynthesize.patch;patch=1 \ |
| 10 | file://udevsynthesize.sh" | 10 | file://udevsynthesize.sh \ |
| 11 | 11 | file://mount.blacklist \ | |
| 12 | file://udev_network_queue.sh" | ||
| 13 | |||
| 12 | include udev.inc | 14 | include udev.inc |
| 13 | 15 | ||
| 14 | INITSCRIPT_PARAMS = "start 03 S . start 55 0 6 ." | 16 | INITSCRIPT_PARAMS = "start 03 S ." |
| 15 | 17 | ||
| 16 | PR = "r1" | 18 | PR = "r12" |
| 17 | 19 | ||
| 18 | FILES_${PN} += "${base_libdir}" | 20 | FILES_${PN} += "${base_libdir}" |
| 19 | UDEV_EXTRAS = "extras/firmware/ extras/scsi_id/ extras/volume_id/ extras/run_directory/" | 21 | UDEV_EXTRAS = "extras/firmware/ extras/scsi_id/ extras/volume_id/ extras/run_directory/" |
| @@ -25,9 +27,11 @@ do_install () { | |||
| 25 | oe_runmake 'DESTDIR=${D}' INSTALL=install install | 27 | oe_runmake 'DESTDIR=${D}' INSTALL=install install |
| 26 | install -d ${D}${sysconfdir}/init.d | 28 | install -d ${D}${sysconfdir}/init.d |
| 27 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev | 29 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev |
| 28 | 30 | install -m 0755 ${WORKDIR}/udev_network_queue.sh ${D}${sysconfdir}/init.d/ | |
| 31 | |||
| 29 | install -d ${D}${sysconfdir}/udev/rules.d/ | 32 | install -d ${D}${sysconfdir}/udev/rules.d/ |
| 30 | 33 | ||
| 34 | install -m 0644 ${WORKDIR}/mount.blacklist ${D}${sysconfdir}/udev/ | ||
| 31 | install -m 0644 ${WORKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/local.rules | 35 | install -m 0644 ${WORKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/local.rules |
| 32 | install -m 0644 ${WORKDIR}/permissions.rules ${D}${sysconfdir}/udev/rules.d/permissions.rules | 36 | install -m 0644 ${WORKDIR}/permissions.rules ${D}${sysconfdir}/udev/rules.d/permissions.rules |
| 33 | install -m 0644 ${WORKDIR}/udev.rules ${D}${sysconfdir}/udev/rules.d/udev.rules | 37 | install -m 0644 ${WORKDIR}/udev.rules ${D}${sysconfdir}/udev/rules.d/udev.rules |
| @@ -44,3 +48,13 @@ do_install () { | |||
| 44 | install -m 0755 ${S}/udevsynthesize ${D}${base_libdir}/udev/udevsynthesize | 48 | install -m 0755 ${S}/udevsynthesize ${D}${base_libdir}/udev/udevsynthesize |
| 45 | install -m 0755 ${WORKDIR}/udevsynthesize.sh ${D}${sbindir}/udevsynthesize | 49 | install -m 0755 ${WORKDIR}/udevsynthesize.sh ${D}${sbindir}/udevsynthesize |
| 46 | } | 50 | } |
| 51 | |||
| 52 | |||
| 53 | pkg_postinst_append() { | ||
| 54 | update-rc.d -s udev_network_queue.sh start 41 S . start 55 0 6 . | ||
| 55 | } | ||
| 56 | |||
| 57 | |||
| 58 | pkg_postrm_append() { | ||
| 59 | update-rc.d -f udev_network_queue.sh remove | ||
| 60 | } | ||
