summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-01-21 12:15:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-21 12:44:53 +0000
commite07e0f80d6c794adf154be74eca503d191c35cc6 (patch)
tree1db931c7e6054bf309f4d49060983cb0b1e82bbd
parent148bcc1124d9b0c06988576e2e17a92fea6655d0 (diff)
downloadpoky-e07e0f80d6c794adf154be74eca503d191c35cc6.tar.gz
poky-e07e0f80d6c794adf154be74eca503d191c35cc6.tar.bz2
poky-e07e0f80d6c794adf154be74eca503d191c35cc6.zip
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 9f60b17567..facad0cc46 100644
--- a/meta/recipes-core/udev/udev.inc
+++ b/meta/recipes-core/udev/udev.inc
@@ -99,3 +99,9 @@ do_install_append () {
echo 'udev_run="/var/run/udev"' >> ${D}${sysconfdir}/udev/udev.conf
}
+
+# As systemd also builds udev, skip this package if we're doing a systemd build.
+python () {
+ if oe.utils.contains ('DISTRO_FEATURES', 'systemd', True, False, d):
+ raise bb.parse.SkipPackage("'systemd' in DISTRO_FEATURES")
+}