[oe-commits] Koen Kooi : udev 171: disable cache on systemd setups
git version control
git at git.openembedded.org
Tue May 31 08:51:17 UTC 2011
Module: meta-openembedded.git
Branch: master
Commit: 5c3ba556836252a0ca4179173cad3c85c15bde77
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=5c3ba556836252a0ca4179173cad3c85c15bde77
Author: Koen Kooi <koen at dominion.thruhere.net>
Date: Tue May 31 10:50:01 2011 +0200
udev 171: disable cache on systemd setups
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
meta-oe/recipes-core/udev/udev_171.bb | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/meta-oe/recipes-core/udev/udev_171.bb b/meta-oe/recipes-core/udev/udev_171.bb
index c02f4f3..f9a31af 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
More information about the Openembedded-commits
mailing list