diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-05-31 10:50:01 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-05-31 10:50:01 +0200 |
commit | 5c3ba556836252a0ca4179173cad3c85c15bde77 (patch) | |
tree | 55002547c6788a6d7a845534a221a0b186e86a60 /meta-oe | |
parent | 7d5ed42be9eb92edf8c15cb9271d3e6a6e44bbb3 (diff) | |
download | meta-openembedded-5c3ba556836252a0ca4179173cad3c85c15bde77.tar.gz |
udev 171: disable cache on systemd setups
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | 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 c02f4f325..f9a31af55 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 \ | |||
17 | DEPENDS = "gperf-native usbutils acl glib-2.0" | 17 | DEPENDS = "gperf-native usbutils acl glib-2.0" |
18 | 18 | ||
19 | SRCREV = "${PV}" | 19 | SRCREV = "${PV}" |
20 | PR = "r1" | 20 | PR = "r2" |
21 | 21 | ||
22 | # version specific SRC_URI | 22 | # version specific SRC_URI |
23 | SRC_URI = "git://git.kernel.org/pub/scm/linux/hotplug/udev.git;protocol=git \ | 23 | SRC_URI = "git://git.kernel.org/pub/scm/linux/hotplug/udev.git;protocol=git \ |
@@ -104,6 +104,8 @@ do_install () { | |||
104 | touch ${D}${sysconfdir}/udev/saved.devices | 104 | touch ${D}${sysconfdir}/udev/saved.devices |
105 | touch ${D}${sysconfdir}/udev/saved.atags | 105 | touch ${D}${sysconfdir}/udev/saved.atags |
106 | 106 | ||
107 | # disable udev-cache sysv script on systemd installs | ||
108 | ln -sf /dev/null ${D}/${base_libdir}/systemd/system/udev-cache.service | ||
107 | } | 109 | } |
108 | 110 | ||
109 | # Create the cache after checkroot has run | 111 | # Create the cache after checkroot has run |