From e990a9ec5d6eaf2c328d61c4de73ea6c270cfa15 Mon Sep 17 00:00:00 2001 From: Volker Vogelhuber Date: Tue, 18 May 2021 19:12:19 +0200 Subject: busybox: make busybox's syslog.cfg depend on VIRTUAL-RUNTIME_base-utils-syslog syslog.cfg is added to the list of sources for busybox independent of the VIRTUAL-RUNTIME_base-utils-syslog variable. So even if VIRTUAL-RUNTIME_base-utils-syslog being set e.g. to empty, syslogd will be enabled. So only include syslog.cfg in SRC_URI if VIRTUAL-RUNTIME_base-utils-syslog is set to busybox-syslog. Signed-off-by: Volker Vogelhuber Signed-off-by: Steve Sakoman --- meta/recipes-core/busybox/busybox_1.31.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/busybox/busybox_1.31.1.bb b/meta/recipes-core/busybox/busybox_1.31.1.bb index 7563368287..93a1613df2 100644 --- a/meta/recipes-core/busybox/busybox_1.31.1.bb +++ b/meta/recipes-core/busybox/busybox_1.31.1.bb @@ -34,7 +34,7 @@ SRC_URI = "https://busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ file://resize.cfg \ ${@["", "file://init.cfg"][(d.getVar('VIRTUAL-RUNTIME_init_manager') == 'busybox')]} \ ${@["", "file://mdev.cfg"][(d.getVar('VIRTUAL-RUNTIME_dev_manager') == 'busybox-mdev')]} \ - file://syslog.cfg \ + ${@["", "file://syslog.cfg"][(d.getVar('VIRTUAL-RUNTIME_base-utils-syslog') == 'busybox-syslog')]} \ file://unicode.cfg \ file://rcS \ file://rcK \ -- cgit 1.2.3-korg