2 # Copyright (C) 2007 OpenedHand Ltd.
4 # derived from oe-core: meta/recipes-core/packagegroups/packagegroup-core-boot.bb
6 SUMMARY = "Minimal boot requirements"
7 DESCRIPTION = "The minimal set of packages required to boot the system"
11 PACKAGE_ARCH = "${MACHINE_ARCH}"
16 # Set by the machine configuration with packages essential for device bootup
18 MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
19 MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
21 # Distro can override the following VIRTUAL-RUNTIME providers:
22 VIRTUAL-RUNTIME_dev_manager ?= "udev"
23 VIRTUAL-RUNTIME_login_manager ?= "busybox"
24 VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
25 VIRTUAL-RUNTIME_initscripts ?= "initscripts"
26 VIRTUAL-RUNTIME_keymaps ?= "keymaps"
28 SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', 'busybox-hwclock', '', d)} \
29 modutils-initscripts \
31 ${VIRTUAL-RUNTIME_initscripts} \
38 ${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "${SYSVINIT_SCRIPTS}", "", d)} \
39 ${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
41 ${VIRTUAL-RUNTIME_login_manager} \
42 ${VIRTUAL-RUNTIME_init_manager} \
43 ${VIRTUAL-RUNTIME_dev_manager} \
44 ${VIRTUAL-RUNTIME_update-alternatives} \
45 ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
47 RRECOMMENDS_${PN} = "\
48 ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}"