From 242c9725021059fd72fed0e37306f070f6e0709c Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Tue, 5 Jun 2012 16:44:12 +0200 Subject: mpd: Initial add 0.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- .../recipes-multimedia/musicpd/mpd_0.17.1.bbappend | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta-systemd/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bbappend (limited to 'meta-systemd') diff --git a/meta-systemd/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bbappend b/meta-systemd/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bbappend new file mode 100644 index 000000000..eee4cdd3a --- /dev/null +++ b/meta-systemd/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bbappend @@ -0,0 +1,14 @@ +PRINC := "${@int(PRINC) + 1}" + +inherit systemd + +EXTRA_OECONF += "--with-systemdsystemunitdir=${systemd_unitdir}/system" + +do_install_append() { + sed -i \ + 's|^ExecStart=.*|ExecStart=${bindir}/mpd --no-daemon|' \ + ${D}/${systemd_unitdir}/system/mpd.service +} + +SYSTEMD_PACKAGES = "${PN}-systemd" +SYSTEMD_SERVICE = "mpd.service" -- cgit v1.2.3-54-g00ecf