[oe] [PATCH][meta-oe 3/3] busybox: fix busybox-syslog systemd service file
Otavio Salvador
otavio at ossystems.com.br
Tue Jan 31 17:38:58 UTC 2012
The service file had the 'Wants' in 'Service' group instead of the
'Unit' group.
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
.../busybox/busybox/busybox-syslog.service.in | 2 +-
.../recipes-core/busybox/busybox_1.19.3.bbappend | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-oe/recipes-core/busybox/busybox/busybox-syslog.service.in b/meta-oe/recipes-core/busybox/busybox/busybox-syslog.service.in
index db90082..27b9831 100644
--- a/meta-oe/recipes-core/busybox/busybox/busybox-syslog.service.in
+++ b/meta-oe/recipes-core/busybox/busybox/busybox-syslog.service.in
@@ -1,12 +1,12 @@
[Unit]
Description=System Logging Service
+Wants=busybox-klogd.service
[Service]
ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service
EnvironmentFile=-/etc/default/busybox-syslog
ExecStart=@base_sbindir@/syslogd -n $OPTIONS
Sockets=syslog.socket
-Wants=busybox-klogd.service
[Install]
WantedBy=multi-user.target
diff --git a/meta-oe/recipes-core/busybox/busybox_1.19.3.bbappend b/meta-oe/recipes-core/busybox/busybox_1.19.3.bbappend
index 46177e3..7e72a43 100644
--- a/meta-oe/recipes-core/busybox/busybox_1.19.3.bbappend
+++ b/meta-oe/recipes-core/busybox/busybox_1.19.3.bbappend
@@ -1,6 +1,6 @@
inherit systemd
-PRINC := "${@int(PRINC) + 1}"
+PRINC := "${@int(PRINC) + 2}"
# look for files in the layer first
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
--
1.7.2.5
More information about the Openembedded-devel
mailing list