diff options
author | Richard Purdie <richard@openedhand.com> | 2005-09-20 15:19:38 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2005-09-20 15:19:38 +0000 |
commit | 8d66edc4085db428e67223f0f71cde6b3640f27e (patch) | |
tree | da9dcd13d59b36f7350d3938f9094cb2ecc4449a /openembedded/packages/udev/udev.inc | |
parent | b4a7122cacef647dbec3db5c9ebe1e504a7670df (diff) | |
download | poky-8d66edc4085db428e67223f0f71cde6b3640f27e.tar.gz |
pcmciautils and udev updates. Slowly aiming to get rid of hotplug and pcmcia-cs
git-svn-id: https://svn.o-hand.com/repos/poky@27 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/udev/udev.inc')
-rw-r--r-- | openembedded/packages/udev/udev.inc | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/openembedded/packages/udev/udev.inc b/openembedded/packages/udev/udev.inc index 0b51df4797..9ab17e87f4 100644 --- a/openembedded/packages/udev/udev.inc +++ b/openembedded/packages/udev/udev.inc | |||
@@ -2,6 +2,14 @@ DESCRIPTION = "udev is a program which dynamically creates and removes device no | |||
2 | /dev/. It responds to /sbin/hotplug device events and requires a 2.6 kernel." | 2 | /dev/. It responds to /sbin/hotplug device events and requires a 2.6 kernel." |
3 | LICENSE = "GPL" | 3 | LICENSE = "GPL" |
4 | 4 | ||
5 | SRC_URI += " \ | ||
6 | file://udev.rules \ | ||
7 | file://links.conf \ | ||
8 | file://permissions.rules \ | ||
9 | file://mount.sh \ | ||
10 | file://local.rules \ | ||
11 | file://init" | ||
12 | |||
5 | UDEV_DEVFS_RULES ?= "0" | 13 | UDEV_DEVFS_RULES ?= "0" |
6 | 14 | ||
7 | PACKAGES =+ "udev-utils" | 15 | PACKAGES =+ "udev-utils" |
@@ -34,9 +42,17 @@ do_install () { | |||
34 | oe_runmake 'DESTDIR=${D}' INSTALL=install install | 42 | oe_runmake 'DESTDIR=${D}' INSTALL=install install |
35 | install -d ${D}${sysconfdir}/init.d | 43 | install -d ${D}${sysconfdir}/init.d |
36 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev | 44 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev |
45 | |||
46 | install -d ${D}${sysconfdir}/udev/rules.d/ | ||
47 | |||
48 | install -m 0644 ${WORKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/local.rules | ||
49 | install -m 0644 ${WORKDIR}/permissions.rules ${D}${sysconfdir}/udev/rules.d/permissions.rules | ||
50 | install -m 0644 ${WORKDIR}/udev.rules ${D}${sysconfdir}/udev/rules.d/udev.rules | ||
37 | if [ "${UDEV_DEVFS_RULES}" = "1" ]; then | 51 | if [ "${UDEV_DEVFS_RULES}" = "1" ]; then |
38 | install -m 0644 ${S}/etc/udev/udev.rules.devfs ${D}${sysconfdir}/udev/rules.d/50-udev.rules | 52 | install -m 0644 ${S}/etc/udev/udev.rules.devfs ${D}${sysconfdir}/udev/rules.d/50-udev.rules |
39 | fi | 53 | fi |
40 | install -d ${D}${sysconfdir}/udev/rules.d/ | 54 | |
41 | install -m 0644 ${S}/etc/udev/debian/permissions.rules ${D}${sysconfdir}/udev/rules.d/ | 55 | install -d ${D}${sysconfdir}/udev/scripts/ |
56 | |||
57 | install -m 0755 ${WORKDIR}/mount.sh ${D}${sysconfdir}/udev/scripts/mount.sh | ||
42 | } | 58 | } |