4c14b09498
The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. (From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
53 lines
1.6 KiB
BlitzBasic
53 lines
1.6 KiB
BlitzBasic
#
|
|
# Copyright (C) 2007 OpenedHand Ltd.
|
|
#
|
|
|
|
SUMMARY = "Minimal boot requirements"
|
|
DESCRIPTION = "The minimal set of packages required to boot the system"
|
|
LICENSE = "MIT"
|
|
PR = "r17"
|
|
|
|
inherit packagegroup
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
|
|
#
|
|
# Set by the machine configuration with packages essential for device bootup
|
|
#
|
|
MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
|
|
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
|
|
|
|
# For backwards compatibility after rename
|
|
RPROVIDES_${PN} = "task-core-boot"
|
|
RREPLACES_${PN} = "task-core-boot"
|
|
RCONFLICTS_${PN} = "task-core-boot"
|
|
|
|
# Distro can override the following VIRTUAL-RUNTIME providers:
|
|
VIRTUAL-RUNTIME_dev_manager ?= "udev"
|
|
VIRTUAL-RUNTIME_login_manager ?= "busybox"
|
|
VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
|
|
VIRTUAL-RUNTIME_initscripts ?= "initscripts"
|
|
VIRTUAL-RUNTIME_keymaps ?= "keymaps"
|
|
|
|
SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', 'busybox-hwclock', '', d)} \
|
|
modutils-initscripts \
|
|
init-ifupdown \
|
|
"
|
|
|
|
RDEPENDS_${PN} = "\
|
|
base-files \
|
|
base-passwd \
|
|
busybox \
|
|
${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "${SYSVINIT_SCRIPTS}", "", d)} \
|
|
${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
|
|
netbase \
|
|
${VIRTUAL-RUNTIME_login_manager} \
|
|
${VIRTUAL-RUNTIME_init_manager} \
|
|
${VIRTUAL-RUNTIME_initscripts} \
|
|
${VIRTUAL-RUNTIME_dev_manager} \
|
|
${VIRTUAL-RUNTIME_update-alternatives} \
|
|
${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
|
|
|
|
RRECOMMENDS_${PN} = "\
|
|
${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}"
|