[OE-core] [PATCH] udev: skip in systemd distros, to fix world builds
Ross Burton
ross.burton at intel.com
Mon Jan 21 11:33:05 UTC 2013
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-core/udev/udev.inc | 6 ++++++
1 file changed, 6 insertions(+)
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")
+}
--
1.7.10.4
More information about the Openembedded-core
mailing list