mirror of
https://git.yoctoproject.org/poky
synced 2026-04-01 14:02:23 +02:00
- netbase should only include etc-rpc, etc-protocols, etc-services and the hosts file - the init script/configuration files should be in another package (init-ifupdown) [YOCTO #2486] (From OE-Core rev: 5ce5c3d1226d4a8a4997c63acc1b1b125770d005) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
52 lines
1.6 KiB
BlitzBasic
52 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"
|
|
DEPENDS = "virtual/kernel"
|
|
PR = "r11"
|
|
|
|
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 ?= "tinylogin"
|
|
VIRTUAL-RUNTIME_init_manager ?= "${DISTRO_FEATURES_INITMAN}"
|
|
VIRTUAL-RUNTIME_initscripts ?= "${@base_contains('DISTRO_FEATURES', 'sysvinit', 'initscripts', '',d)}"
|
|
VIRTUAL-RUNTIME_keymaps ?= "keymaps"
|
|
|
|
RDEPENDS_${PN} = "\
|
|
base-files \
|
|
base-passwd \
|
|
busybox \
|
|
${@base_contains("MACHINE_FEATURES", "rtc", "busybox-hwclock", "", d)} \
|
|
${@base_contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
|
|
modutils-initscripts \
|
|
netbase \
|
|
init-ifupdown \
|
|
${VIRTUAL-RUNTIME_login_manager} \
|
|
${VIRTUAL-RUNTIME_init_manager} \
|
|
${VIRTUAL-RUNTIME_initscripts} \
|
|
${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd-compat-units', '',d)} \
|
|
${VIRTUAL-RUNTIME_dev_manager} \
|
|
${VIRTUAL-RUNTIME_update-alternatives} \
|
|
${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
|
|
|
|
RRECOMMENDS_${PN} = "\
|
|
${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}"
|