summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/packagegroups
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>2023-01-12 20:58:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-13 17:32:46 +0000
commit79edc06213935a6ae9fac3abeeb35c646465a7ee (patch)
treea76fe94d216fc8799fd0cda2ab0874de890aa81e /meta/recipes-core/packagegroups
parentc7cbde198b92973e325c66247ef1d514a5e31eeb (diff)
downloadpoky-79edc06213935a6ae9fac3abeeb35c646465a7ee.tar.gz
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>
Diffstat (limited to 'meta/recipes-core/packagegroups')
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-boot.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
index faf7bc0026..a7bad81023 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
@@ -18,7 +18,6 @@ EFI_PROVIDER ??= "grub-efi"
18 18
19SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', '${VIRTUAL-RUNTIME_base-utils-hwclock}', '', d)} \ 19SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', '${VIRTUAL-RUNTIME_base-utils-hwclock}', '', d)} \
20 modutils-initscripts \ 20 modutils-initscripts \
21 init-ifupdown \
22 ${VIRTUAL-RUNTIME_initscripts} \ 21 ${VIRTUAL-RUNTIME_initscripts} \
23 " 22 "
24 23
@@ -38,4 +37,5 @@ RDEPENDS:${PN} = "\
38 37
39RRECOMMENDS:${PN} = "\ 38RRECOMMENDS:${PN} = "\
40 ${VIRTUAL-RUNTIME_base-utils-syslog} \ 39 ${VIRTUAL-RUNTIME_base-utils-syslog} \
41 ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}" 40 ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS} \
41 ${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "init-ifupdown", "", d)}"