From 5c3ba556836252a0ca4179173cad3c85c15bde77 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 31 May 2011 10:50:01 +0200 Subject: [PATCH] udev 171: disable cache on systemd setups Signed-off-by: Koen Kooi --- meta-oe/recipes-core/udev/udev_171.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-core/udev/udev_171.bb b/meta-oe/recipes-core/udev/udev_171.bb index c02f4f3256..f9a31af556 100644 --- a/meta-oe/recipes-core/udev/udev_171.bb +++ b/meta-oe/recipes-core/udev/udev_171.bb @@ -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