]> code.ossystems Code Review - openembedded-core.git/commitdiff
default-providers: change udev selection logic
authorRoss Burton <ross.burton@intel.com>
Thu, 28 Feb 2013 15:58:53 +0000 (15:58 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Mar 2013 22:42:37 +0000 (22:42 +0000)
Change the logic so that the udev provider is the standalone udev, unless the
systemd DISTRO_FEATURE is set.  The previous logic was designed to fail if both
sysvinit and systemd were enabled, which we're supporting now.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/conf/distro/include/default-providers.inc

index 39ce7cc3f1fe4c8f6c606a7134e40e33320379fa..e3a44e69fbe1ac8ac92338c0603776f1cff699e2 100644 (file)
@@ -38,4 +38,4 @@ PREFERRED_PROVIDER_nativesdk-opkg ?= "nativesdk-opkg"
 PREFERRED_PROVIDER_console-tools ?= "kbd"
 PREFERRED_PROVIDER_gzip-native ?= "pigz-native"
 PREFERRED_PROVIDER_make ?= "make"
-PREFERRED_PROVIDER_udev ?= "${@base_contains('DISTRO_FEATURES','sysvinit','udev','',d)}${@base_contains('DISTRO_FEATURES','systemd','systemd','',d)}"
+PREFERRED_PROVIDER_udev ?= "${@base_contains('DISTRO_FEATURES','systemd','systemd','udev',d)}"