udev 171: disable cache on systemd setups
authorKoen Kooi <koen@dominion.thruhere.net>
Tue, 31 May 2011 08:50:01 +0000 (10:50 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:12:42 +0000 (08:12 -0800)
(From meta-openembedded rev: 5c3ba556836252a0ca4179173cad3c85c15bde77)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-core/udev/udev_171.bb

index c02f4f3..f9a31af 100644 (file)
@@ -17,7 +17,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
 DEPENDS = "gperf-native usbutils acl glib-2.0"
 
 SRCREV = "${PV}"
-PR = "r1"
+PR = "r2"
 
 # version specific SRC_URI
 SRC_URI = "git://git.kernel.org/pub/scm/linux/hotplug/udev.git;protocol=git \
@@ -104,6 +104,8 @@ do_install () {
        touch ${D}${sysconfdir}/udev/saved.devices
        touch ${D}${sysconfdir}/udev/saved.atags
 
+       # disable udev-cache sysv script on systemd installs
+       ln -sf /dev/null ${D}/${base_libdir}/systemd/system/udev-cache.service
 }
 
 # Create the cache after checkroot has run