summaryrefslogtreecommitdiffstats
path: root/meta/packages/udev
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-08-12 21:55:54 +0000
committerRichard Purdie <richard@openedhand.com>2008-08-12 21:55:54 +0000
commit77c01014e02e3e0a9879673352010c67cba206ea (patch)
treeb1c1b0d84ed72e6acf321e07f5bd07ae85bf3784 /meta/packages/udev
parent941aea7c90e564be75752dc3ed14d4ddd2dd21b8 (diff)
downloadpoky-77c01014e02e3e0a9879673352010c67cba206ea.tar.gz
udev: Drop the standard persistent rules, they're useless on embedded hardware
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5064 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/udev')
-rw-r--r--meta/packages/udev/udev_124.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/packages/udev/udev_124.bb b/meta/packages/udev/udev_124.bb
index db8de02efd..b08c2b4d9e 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
3the hotplug package and requires a kernel not older than 2.6.12." 3the hotplug package and requires a kernel not older than 2.6.12."
4RPROVIDES_${PN} = "hotplug" 4RPROVIDES_${PN} = "hotplug"
5 5
6PR = "r6" 6PR = "r7"
7 7
8SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ 8SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
9 file://noasmlinkage.patch;patch=1 \ 9 file://noasmlinkage.patch;patch=1 \
@@ -43,6 +43,11 @@ do_install () {
43 install -m 0644 ${WORKDIR}/devfs-udev.rules ${D}${sysconfdir}/udev/rules.d/devfs-udev.rules 43 install -m 0644 ${WORKDIR}/devfs-udev.rules ${D}${sysconfdir}/udev/rules.d/devfs-udev.rules
44 fi 44 fi
45 45
46 # Remove some default rules that don't work well on embedded devices
47 rm ${D}${sysconfdir}/udev/rules.d/60-persistent-input.rules
48 rm ${D}${sysconfdir}/udev/rules.d/60-persistent-storage.rules
49 rm ${D}${sysconfdir}/udev/rules.d/60-persistent-storage-tape.rules
50
46 install -d ${D}${sysconfdir}/udev/scripts/ 51 install -d ${D}${sysconfdir}/udev/scripts/
47 52
48 install -m 0755 ${WORKDIR}/mount.sh ${D}${sysconfdir}/udev/scripts/mount.sh 53 install -m 0755 ${WORKDIR}/mount.sh ${D}${sysconfdir}/udev/scripts/mount.sh