mirror of
https://git.yoctoproject.org/poky
synced 2026-02-23 09:59:39 +01:00
init-ifupdown provides an /etc/network/interfaces, which disables interface management with networkmanager for example. If a network manager (such as networkmanager) is provided, there may not be a need for network related init scripts provided by init-ifupdown, so let's make it a recommendation so it can be easily removed in image recipes via the NO_RECOMMENDATIONS/BAD_RECOMMENDATIONS mechanism. Cc: Quentin Schulz <foss+yocto@0leil.net> (From OE-Core rev: 719d1b74bfa85af47e0478ee57fb7855988e44ae) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
42 lines
1.4 KiB
BlitzBasic
42 lines
1.4 KiB
BlitzBasic
#
|
|
# Copyright (C) 2007 OpenedHand Ltd.
|
|
#
|
|
|
|
SUMMARY = "Minimal boot requirements"
|
|
DESCRIPTION = "The minimal set of packages required to boot the system"
|
|
PR = "r17"
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
|
|
inherit packagegroup
|
|
|
|
# Distro can override the following VIRTUAL-RUNTIME providers:
|
|
VIRTUAL-RUNTIME_dev_manager ?= "udev"
|
|
VIRTUAL-RUNTIME_keymaps ?= "keymaps"
|
|
|
|
EFI_PROVIDER ??= "grub-efi"
|
|
|
|
SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', '${VIRTUAL-RUNTIME_base-utils-hwclock}', '', d)} \
|
|
modutils-initscripts \
|
|
${VIRTUAL-RUNTIME_initscripts} \
|
|
"
|
|
|
|
RDEPENDS:${PN} = "\
|
|
base-files \
|
|
base-passwd \
|
|
${VIRTUAL-RUNTIME_base-utils} \
|
|
${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "${SYSVINIT_SCRIPTS}", "", d)} \
|
|
${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
|
|
${@bb.utils.contains("MACHINE_FEATURES", "efi", "${EFI_PROVIDER} kernel", "", d)} \
|
|
netbase \
|
|
${VIRTUAL-RUNTIME_login_manager} \
|
|
${VIRTUAL-RUNTIME_init_manager} \
|
|
${VIRTUAL-RUNTIME_dev_manager} \
|
|
${VIRTUAL-RUNTIME_update-alternatives} \
|
|
${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
|
|
|
|
RRECOMMENDS:${PN} = "\
|
|
${VIRTUAL-RUNTIME_base-utils-syslog} \
|
|
${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS} \
|
|
${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "init-ifupdown", "", d)}"
|