From patchwork Sat Aug 4 20:05:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-systemd, V4, 4/8] busybox-syslog.service.in: Create alias for syslog.service Date: Sat, 04 Aug 2012 20:05:32 -0000 From: Khem Raj X-Patchwork-Id: 33791 Message-Id: <1344110736-6999-4-git-send-email-raj.khem@gmail.com> To: openembedded-devel@lists.openembedded.org The default syslog implementation should make syslog.service a symlink to itself, so that this socket activates the right actual syslog service. Signed-off-by: Khem Raj --- .../busybox/busybox/busybox-syslog.service.in | 1 + .../recipes-core/busybox/busybox_1.19.4.bbappend | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/meta-systemd/meta-oe/recipes-core/busybox/busybox/busybox-syslog.service.in b/meta-systemd/meta-oe/recipes-core/busybox/busybox/busybox-syslog.service.in index c6c625e..2e04321 100644 --- a/meta-systemd/meta-oe/recipes-core/busybox/busybox/busybox-syslog.service.in +++ b/meta-systemd/meta-oe/recipes-core/busybox/busybox/busybox-syslog.service.in @@ -10,3 +10,4 @@ Sockets=syslog.socket [Install] WantedBy=multi-user.target Also=busybox-klogd.service +Alias=syslog.service diff --git a/meta-systemd/meta-oe/recipes-core/busybox/busybox_1.19.4.bbappend b/meta-systemd/meta-oe/recipes-core/busybox/busybox_1.19.4.bbappend index 915a50e..bb11550 100644 --- a/meta-systemd/meta-oe/recipes-core/busybox/busybox_1.19.4.bbappend +++ b/meta-systemd/meta-oe/recipes-core/busybox/busybox_1.19.4.bbappend @@ -1,6 +1,6 @@ inherit systemd -PRINC := "${@int(PRINC) + 2}" +PRINC := "${@int(PRINC) + 3}" # look for files in the layer first FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"