summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-06 16:47:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-07 17:48:32 +0100
commit7080711849347c7fff55f925c33e6ea69d7c46bb (patch)
treec4e5f4d1c7b820c114f063a316ff37be12657e0c /meta/recipes-core/busybox
parent27605fc88d0dc8021abeccc38bab286f56a92736 (diff)
downloadopenembedded-core-contrib-7080711849347c7fff55f925c33e6ea69d7c46bb.tar.gz
openembedded-core-contrib-7080711849347c7fff55f925c33e6ea69d7c46bb.tar.bz2
openembedded-core-contrib-7080711849347c7fff55f925c33e6ea69d7c46bb.zip
busybox: Ensure busybox-syslog depends on busybox
If we don't do this, busybox-syslog can install before busybox which clearly doesn't make sense and can trigger postinst failures (missing sed which u-a depends upon). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox')
-rw-r--r--meta/recipes-core/busybox/busybox.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index c02e0623e3..2ad29a7e72 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -41,6 +41,7 @@ INITSCRIPT_NAME_${PN}-udhcpd = "busybox-udhcpd"
SYSTEMD_PACKAGES = "${PN}-syslog"
SYSTEMD_SERVICE_${PN}-syslog = "${@bb.utils.contains('SRC_URI', 'file://syslog.cfg', 'busybox-syslog.service', '', d)}"
+RDEPENDS_${PN}-syslog = "busybox"
CONFFILES_${PN}-syslog = "${sysconfdir}/syslog-startup.conf"
RCONFLICTS_${PN}-syslog = "rsyslog sysklogd syslog-ng"