summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-01-21 12:15:31 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-21 12:44:53 (GMT)
commite07e0f80d6c794adf154be74eca503d191c35cc6 (patch)
tree1db931c7e6054bf309f4d49060983cb0b1e82bbd
parent148bcc1124d9b0c06988576e2e17a92fea6655d0 (diff)
downloadpoky-e07e0f80d6c794adf154be74eca503d191c35cc6.tar.gz
udev: skip in systemd distros, to fix world builds
(From OE-Core rev: 1179e43d67c96367480e563a36684d550d83fcbe) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/udev/udev.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
index 9f60b17..facad0c 100644
--- a/meta/recipes-core/udev/udev.inc
+++ b/meta/recipes-core/udev/udev.inc
@@ -99,3 +99,9 @@ do_install_append () {
99 99
100 echo 'udev_run="/var/run/udev"' >> ${D}${sysconfdir}/udev/udev.conf 100 echo 'udev_run="/var/run/udev"' >> ${D}${sysconfdir}/udev/udev.conf
101} 101}
102
103# As systemd also builds udev, skip this package if we're doing a systemd build.
104python () {
105 if oe.utils.contains ('DISTRO_FEATURES', 'systemd', True, False, d):
106 raise bb.parse.SkipPackage("'systemd' in DISTRO_FEATURES")
107}