Patchwork udev: skip in systemd distros, to fix world builds

login
register
mail settings
Submitter Ross Burton
Date Jan. 21, 2013, 11:33 a.m.
Message ID <1358767985-7045-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/43051/
State Accepted
Commit 1179e43d67c96367480e563a36684d550d83fcbe
Headers show

Comments

Ross Burton - Jan. 21, 2013, 11:33 a.m.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-core/udev/udev.inc |    6 ++++++
 1 file changed, 6 insertions(+)

Patch

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 () {
 
 	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")
+}