]> code.ossystems Code Review - openembedded-core.git/commitdiff
busybox: Ensure busybox-syslog depends on busybox
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Sep 2018 15:47:42 +0000 (16:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Sep 2018 16:48:32 +0000 (17:48 +0100)
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>
meta/recipes-core/busybox/busybox.inc

index c02e0623e375732fc2652011b5028f4c566359d3..2ad29a7e72ec1f61e2f6a988ae195721aac74e55 100644 (file)
@@ -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"