diff options
author | Ross Burton <ross.burton@intel.com> | 2013-01-21 12:15:31 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-21 12:43:46 +0000 |
commit | 1179e43d67c96367480e563a36684d550d83fcbe (patch) | |
tree | 96e15e924877b3b43289d60a1b081cf2bc63f6a7 /meta/recipes-core | |
parent | a2553b5f8b80ca0cd578afa2d2857ebb2b70ee3c (diff) | |
download | openembedded-core-1179e43d67c96367480e563a36684d550d83fcbe.tar.gz openembedded-core-1179e43d67c96367480e563a36684d550d83fcbe.tar.bz2 openembedded-core-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')
-rw-r--r-- | 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 9f60b17567..facad0cc46 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") +} |