summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-08-25 09:24:14 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-16 13:30:23 +0100
commit49a34b1dc88f6add70cc40d74294a4a2d9bbde4b (patch)
tree2235a245953c3fdaa1e3b5a1a090a690c6658317 /meta/recipes-core
parent0a27b8b76da5e913e93afbb31c4939b4bf06e235 (diff)
downloadpoky-49a34b1dc88f6add70cc40d74294a4a2d9bbde4b.tar.gz
task-core-boot: allow distributions to define login and init manager
* for example someone prefers shadow instead of tinylogin and upstart instead of sysvinit (From OE-Core rev: e4d19d36877b6f608cef9e395504cd5b424e1920) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/tasks/task-core-boot.bb8
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 9116c381fe..9e63ebb52c 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 ?= ""
19 19
20# Distro can override dev_manager provider 20# Distro can override dev_manager provider
21VIRTUAL-RUNTIME_dev_manager ?= "udev" 21VIRTUAL-RUNTIME_dev_manager ?= "udev"
22# Distro can override login_manager provider
23VIRTUAL-RUNTIME_login_manager ?= "tinylogin"
24# Distro can override init_manager provider
25VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
22 26
23PACKAGES = "\ 27PACKAGES = "\
24 task-core-boot \ 28 task-core-boot \
@@ -34,8 +38,8 @@ RDEPENDS_task-core-boot = "\
34 ${@base_contains("MACHINE_FEATURES", "keyboard", "keymaps", "", d)} \ 38 ${@base_contains("MACHINE_FEATURES", "keyboard", "keymaps", "", d)} \
35 modutils-initscripts \ 39 modutils-initscripts \
36 netbase \ 40 netbase \
37 sysvinit \ 41 ${VIRTUAL-RUNTIME_login_manager} \
38 tinylogin \ 42 ${VIRTUAL-RUNTIME_init_manager} \
39 ${VIRTUAL-RUNTIME_dev_manager} \ 43 ${VIRTUAL-RUNTIME_dev_manager} \
40 ${VIRTUAL-RUNTIME_update-alternatives} \ 44 ${VIRTUAL-RUNTIME_update-alternatives} \
41 ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}" 45 ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"