diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-08-25 09:24:14 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2011-09-15 16:13:55 +0200 |
commit | e4d19d36877b6f608cef9e395504cd5b424e1920 (patch) | |
tree | b2d56e8b2d240b9dd84b8d38695cc941d59e9daf /meta/recipes-core | |
parent | 998e3acf0d38007fde10f47f98b71192685e19b9 (diff) | |
download | openembedded-core-e4d19d36877b6f608cef9e395504cd5b424e1920.tar.gz openembedded-core-e4d19d36877b6f608cef9e395504cd5b424e1920.tar.bz2 openembedded-core-e4d19d36877b6f608cef9e395504cd5b424e1920.tar.xz openembedded-core-e4d19d36877b6f608cef9e395504cd5b424e1920.zip |
task-core-boot: allow distributions to define login and init manager
* for example someone prefers shadow instead of tinylogin and upstart instead of sysvinit
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/tasks/task-core-boot.bb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-core/tasks/task-core-boot.bb b/meta/recipes-core/tasks/task-core-boot.bb index 9116c381f..9e63ebb52 100644 --- a/meta/recipes-core/tasks/task-core-boot.bb +++ b/meta/recipes-core/tasks/task-core-boot.bb @@ -19,6 +19,10 @@ MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= "" # Distro can override dev_manager provider VIRTUAL-RUNTIME_dev_manager ?= "udev" +# Distro can override login_manager provider +VIRTUAL-RUNTIME_login_manager ?= "tinylogin" +# Distro can override init_manager provider +VIRTUAL-RUNTIME_init_manager ?= "sysvinit" PACKAGES = "\ task-core-boot \ @@ -34,8 +38,8 @@ RDEPENDS_task-core-boot = "\ ${@base_contains("MACHINE_FEATURES", "keyboard", "keymaps", "", d)} \ modutils-initscripts \ netbase \ - sysvinit \ - tinylogin \ + ${VIRTUAL-RUNTIME_login_manager} \ + ${VIRTUAL-RUNTIME_init_manager} \ ${VIRTUAL-RUNTIME_dev_manager} \ ${VIRTUAL-RUNTIME_update-alternatives} \ ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}" |