summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRadu Moisan <radu.moisan@intel.com>2013-01-19 22:47:05 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-20 12:44:21 +0000
commitda13562af73d144b5782ee8d755e2249cd9d2d8c (patch)
treede681486f9e8f8e116c71802aa267da361e17ebd /meta
parent87f06346728bda000c0c0f95312b6a0a1b149ab4 (diff)
downloadopenembedded-core-da13562af73d144b5782ee8d755e2249cd9d2d8c.tar.gz
openembedded-core-da13562af73d144b5782ee8d755e2249cd9d2d8c.tar.bz2
openembedded-core-da13562af73d144b5782ee8d755e2249cd9d2d8c.zip
default-providers: Automatically set PREFERRED_PROVIDER_udev
This is a more generic way to set preferred provider for udev. We expect to have multiple choices once we integrate other init managers, and this way we can automatically set it considering distro settings. Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/distro/include/default-providers.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc
index 8ed703cfb0..89b646569c 100644
--- a/meta/conf/distro/include/default-providers.inc
+++ b/meta/conf/distro/include/default-providers.inc
@@ -37,3 +37,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)}"