[oe-commits] Ross Burton : udev: skip in systemd distros, to fix world builds

git at git.openembedded.org git at git.openembedded.org
Mon Jan 21 12:48:51 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 1179e43d67c96367480e563a36684d550d83fcbe
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1179e43d67c96367480e563a36684d550d83fcbe

Author: Ross Burton <ross.burton at intel.com>
Date:   Mon Jan 21 12:15:31 2013 +0000

udev: skip in systemd distros, to fix world builds

Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/udev/udev.inc |    6 ++++++
 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 () {
 
 	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")
+}





More information about the Openembedded-commits mailing list