diff options
Diffstat (limited to 'meta/recipes-core/packagegroups/packagegroup-core-boot.bb')
-rw-r--r-- | meta/recipes-core/packagegroups/packagegroup-core-boot.bb | 52 |
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 0000000000..1154bc05b5 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb | |||
@@ -0,0 +1,52 @@ | |||
1 | # | ||
2 | # Copyright (C) 2007 OpenedHand Ltd. | ||
3 | # | ||
4 | |||
5 | SUMMARY = "Minimal boot requirements" | ||
6 | DESCRIPTION = "The minimal set of packages required to boot the system" | ||
7 | LICENSE = "MIT" | ||
8 | PR = "r17" | ||
9 | |||
10 | inherit packagegroup | ||
11 | |||
12 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
13 | |||
14 | # | ||
15 | # Set by the machine configuration with packages essential for device bootup | ||
16 | # | ||
17 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" | ||
18 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= "" | ||
19 | |||
20 | # For backwards compatibility after rename | ||
21 | RPROVIDES_${PN} = "task-core-boot" | ||
22 | RREPLACES_${PN} = "task-core-boot" | ||
23 | RCONFLICTS_${PN} = "task-core-boot" | ||
24 | |||
25 | # Distro can override the following VIRTUAL-RUNTIME providers: | ||
26 | VIRTUAL-RUNTIME_dev_manager ?= "udev" | ||
27 | VIRTUAL-RUNTIME_login_manager ?= "busybox" | ||
28 | VIRTUAL-RUNTIME_init_manager ?= "sysvinit" | ||
29 | VIRTUAL-RUNTIME_initscripts ?= "initscripts" | ||
30 | VIRTUAL-RUNTIME_keymaps ?= "keymaps" | ||
31 | |||
32 | SYSVINIT_SCRIPTS = "${@base_contains('MACHINE_FEATURES', 'rtc', 'busybox-hwclock', '', d)} \ | ||
33 | modutils-initscripts \ | ||
34 | init-ifupdown \ | ||
35 | " | ||
36 | |||
37 | RDEPENDS_${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 | |||
51 | RRECOMMENDS_${PN} = "\ | ||
52 | ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}" | ||