summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/packagegroups/packagegroup-core-boot.bb')
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-boot.bb52
1 files changed, 52 insertions, 0 deletions
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
new file mode 100644
index 0000000..1154bc0
--- /dev/null
+++ b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
@@ -0,0 +1,52 @@
1#
2# Copyright (C) 2007 OpenedHand Ltd.
3#
4
5SUMMARY = "Minimal boot requirements"
6DESCRIPTION = "The minimal set of packages required to boot the system"
7LICENSE = "MIT"
8PR = "r17"
9
10inherit packagegroup
11
12PACKAGE_ARCH = "${MACHINE_ARCH}"
13
14#
15# Set by the machine configuration with packages essential for device bootup
16#
17MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
18MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
19
20# For backwards compatibility after rename
21RPROVIDES_${PN} = "task-core-boot"
22RREPLACES_${PN} = "task-core-boot"
23RCONFLICTS_${PN} = "task-core-boot"
24
25# Distro can override the following VIRTUAL-RUNTIME providers:
26VIRTUAL-RUNTIME_dev_manager ?= "udev"
27VIRTUAL-RUNTIME_login_manager ?= "busybox"
28VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
29VIRTUAL-RUNTIME_initscripts ?= "initscripts"
30VIRTUAL-RUNTIME_keymaps ?= "keymaps"
31
32SYSVINIT_SCRIPTS = "${@base_contains('MACHINE_FEATURES', 'rtc', 'busybox-hwclock', '', d)} \
33 modutils-initscripts \
34 init-ifupdown \
35 "
36
37RDEPENDS_${PN} = "\
38 base-files \
39 base-passwd \
40 busybox \
41 ${@base_contains("DISTRO_FEATURES", "sysvinit", "${SYSVINIT_SCRIPTS}", "", d)} \
42 ${@base_contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
43 netbase \
44 ${VIRTUAL-RUNTIME_login_manager} \
45 ${VIRTUAL-RUNTIME_init_manager} \
46 ${VIRTUAL-RUNTIME_initscripts} \
47 ${VIRTUAL-RUNTIME_dev_manager} \
48 ${VIRTUAL-RUNTIME_update-alternatives} \
49 ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
50
51RRECOMMENDS_${PN} = "\
52 ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}"