From: Richard Purdie Date: Thu, 6 Sep 2018 15:47:42 +0000 (+0100) Subject: busybox: Ensure busybox-syslog depends on busybox X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~16726 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7080711849347c7fff55f925c33e6ea69d7c46bb;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc index c02e0623e37..2ad29a7e72e 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"