Patchwork [meta-oe,3/3] busybox: fix busybox-syslog systemd service file

login
register
mail settings
Submitter Otavio Salvador
Date Jan. 31, 2012, 5:38 p.m.
Message ID <7d834bb680b6483be23bc335ce128ef0771a4c5c.1328031500.git.otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/20433/
State Accepted
Commit 6396ac4454d2d8096f9622bb6979834f9d649085
Headers show

Comments

Otavio Salvador - Jan. 31, 2012, 5:38 p.m.
The service file had the 'Wants' in 'Service' group instead of the
'Unit' group.

Signed-off-by: Otavio Salvador <otavio@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(-)

Patch

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}:"