aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Vogelhuber <v.vogelhuber@digitalendoscopy.de>2021-05-18 19:12:19 +0200
committerSteve Sakoman <steve@sakoman.com>2021-05-28 14:22:21 -1000
commite990a9ec5d6eaf2c328d61c4de73ea6c270cfa15 (patch)
treefa6f6a4238562836b8100fdc8e88330a0b449c4e
parentbe30d2754a23ce195e9685872e0e476e1ca42052 (diff)
downloadopenembedded-core-contrib-e990a9ec5d6eaf2c328d61c4de73ea6c270cfa15.tar.gz
openembedded-core-contrib-e990a9ec5d6eaf2c328d61c4de73ea6c270cfa15.tar.bz2
openembedded-core-contrib-e990a9ec5d6eaf2c328d61c4de73ea6c270cfa15.zip
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 <v.vogelhuber@digitalendoscopy.de> Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/recipes-core/busybox/busybox_1.31.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/busybox/busybox_1.31.1.bb b/meta/recipes-core/busybox/busybox_1.31.1.bb
index 7563368287b..93a1613df23 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 \