diff options
Diffstat (limited to 'meta/recipes-core/packagegroups/packagegroup-core-boot.bb')
-rw-r--r-- | meta/recipes-core/packagegroups/packagegroup-core-boot.bb | 53 |
1 files changed, 53 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..486385aa70 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb | |||
@@ -0,0 +1,53 @@ | |||
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 | DEPENDS = "virtual/kernel" | ||
9 | PR = "r11" | ||
10 | |||
11 | inherit packagegroup | ||
12 | |||
13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
14 | |||
15 | # | ||
16 | # Set by the machine configuration with packages essential for device bootup | ||
17 | # | ||
18 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" | ||
19 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= "" | ||
20 | |||
21 | # For backwards compatibility after rename | ||
22 | RPROVIDES_${PN} = "task-core-boot" | ||
23 | RREPLACES_${PN} = "task-core-boot" | ||
24 | RCONFLICTS_${PN} = "task-core-boot" | ||
25 | |||
26 | # Distro can override the following VIRTUAL-RUNTIME providers: | ||
27 | VIRTUAL-RUNTIME_dev_manager ?= "udev" | ||
28 | VIRTUAL-RUNTIME_login_manager ?= "busybox" | ||
29 | VIRTUAL-RUNTIME_init_manager ?= "sysvinit" | ||
30 | VIRTUAL-RUNTIME_initscripts ?= "initscripts" | ||
31 | VIRTUAL-RUNTIME_keymaps ?= "keymaps" | ||
32 | |||
33 | SYSVINIT_SCRIPTS = "${@base_contains('MACHINE_FEATURES', 'rtc', 'busybox-hwclock', '', d)} \ | ||
34 | modutils-initscripts \ | ||
35 | init-ifupdown \ | ||
36 | " | ||
37 | |||
38 | RDEPENDS_${PN} = "\ | ||
39 | base-files \ | ||
40 | base-passwd \ | ||
41 | busybox \ | ||
42 | ${@base_contains("DISTRO_FEATURES", "sysvinit", "${SYSVINIT_SCRIPTS}", "", d)} \ | ||
43 | ${@base_contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \ | ||
44 | netbase \ | ||
45 | ${VIRTUAL-RUNTIME_login_manager} \ | ||
46 | ${VIRTUAL-RUNTIME_init_manager} \ | ||
47 | ${VIRTUAL-RUNTIME_initscripts} \ | ||
48 | ${VIRTUAL-RUNTIME_dev_manager} \ | ||
49 | ${VIRTUAL-RUNTIME_update-alternatives} \ | ||
50 | ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}" | ||
51 | |||
52 | RRECOMMENDS_${PN} = "\ | ||
53 | ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}" | ||