aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/udev
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:43:46 +0000
commit1179e43d67c96367480e563a36684d550d83fcbe (patch)
tree96e15e924877b3b43289d60a1b081cf2bc63f6a7 /meta/recipes-core/udev
parenta2553b5f8b80ca0cd578afa2d2857ebb2b70ee3c (diff)
downloadopenembedded-core-contrib-1179e43d67c96367480e563a36684d550d83fcbe.tar.gz
openembedded-core-contrib-1179e43d67c96367480e563a36684d550d83fcbe.tar.bz2
openembedded-core-contrib-1179e43d67c96367480e563a36684d550d83fcbe.zip
udev: skip in systemd distros, to fix world builds
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/udev')
-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 9f60b175673..facad0cc463 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")
+}