Skip to contentSkip to conversation

udev: skip in systemd distros, to fix world builds

PATCH New Ross Burton 1 participant 1 message Jan 21, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 udev: skip in systemd distros, to fix world builds

---
 meta/recipes-core/udev/udev.inc |    6 ++++++
 1 file changed, 6 insertions(+)
meta/recipes-core/udev/udev.inc +6 -0
index 9f60b17..facad0c 100644
@@ -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")
+}
Signature · 1 line
1.7.10.4