]> code.ossystems Code Review - openembedded-core.git/commitdiff
udev: Drop the standard persistent rules, they're useless on embedded hardware
authorRichard Purdie <richard@openedhand.com>
Tue, 12 Aug 2008 21:55:54 +0000 (21:55 +0000)
committerRichard Purdie <richard@openedhand.com>
Tue, 12 Aug 2008 21:55:54 +0000 (21:55 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5064 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/udev/udev_124.bb

index db8de02efd279c8f950103eb50cf009adc12142c..b08c2b4d9e3716be6c1d299c4709955fdc886947 100644 (file)
@@ -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 = "r6"
+PR = "r7"
 
 SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
           file://noasmlinkage.patch;patch=1 \
@@ -43,6 +43,11 @@ do_install () {
                install -m 0644 ${WORKDIR}/devfs-udev.rules ${D}${sysconfdir}/udev/rules.d/devfs-udev.rules
        fi
 
+       # Remove some default rules that don't work well on embedded devices
+       rm ${D}${sysconfdir}/udev/rules.d/60-persistent-input.rules
+       rm ${D}${sysconfdir}/udev/rules.d/60-persistent-storage.rules
+       rm ${D}${sysconfdir}/udev/rules.d/60-persistent-storage-tape.rules
+
        install -d ${D}${sysconfdir}/udev/scripts/
 
        install -m 0755 ${WORKDIR}/mount.sh ${D}${sysconfdir}/udev/scripts/mount.sh