mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
packagegroup-core-boot: make init-ifupdown package a recommendation
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>
This commit is contained in:
committed by
Richard Purdie
parent
c7cbde198b
commit
79edc06213
@@ -18,7 +18,6 @@ EFI_PROVIDER ??= "grub-efi"
|
|||||||
|
|
||||||
SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', '${VIRTUAL-RUNTIME_base-utils-hwclock}', '', d)} \
|
SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', '${VIRTUAL-RUNTIME_base-utils-hwclock}', '', d)} \
|
||||||
modutils-initscripts \
|
modutils-initscripts \
|
||||||
init-ifupdown \
|
|
||||||
${VIRTUAL-RUNTIME_initscripts} \
|
${VIRTUAL-RUNTIME_initscripts} \
|
||||||
"
|
"
|
||||||
|
|
||||||
@@ -38,4 +37,5 @@ RDEPENDS:${PN} = "\
|
|||||||
|
|
||||||
RRECOMMENDS:${PN} = "\
|
RRECOMMENDS:${PN} = "\
|
||||||
${VIRTUAL-RUNTIME_base-utils-syslog} \
|
${VIRTUAL-RUNTIME_base-utils-syslog} \
|
||||||
${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}"
|
${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS} \
|
||||||
|
${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "init-ifupdown", "", d)}"
|
||||||
|
|||||||
Reference in New Issue
Block a user