Patchwork [4/9] default-providers: change udev selection logic

login
register
mail settings
Submitter Ross Burton
Date March 11, 2013, 8:07 p.m.
Message ID <d27c2a42e86fbdb9869cbcd8e7d2dd6edf66db1b.1363031776.git.ross.burton@intel.com>
Download mbox | patch
Permalink /patch/45989/
State Accepted
Commit f5d018a769fa297efa629cbbf6e42a49173faa8b
Headers show

Comments

Ross Burton - March 11, 2013, 8:07 p.m.
Change the logic so that the udev provider is the standalone udev, unless the
systemd DISTRO_FEATURE is set.  This is required so that hybrid distros with
both sysvinit and systemd will have a usable provider (in this case, systemd's
udev).

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/conf/distro/include/default-providers.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc
index ebf2a09..f7ee789 100644
--- a/meta/conf/distro/include/default-providers.inc
+++ b/meta/conf/distro/include/default-providers.inc
@@ -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)}"