mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
mpd: move systemd support from meta-systemd back to meta-multimedia
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
PRINC := "${@int(PRINC) + 2}"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
RPROVIDES_${PN} += "${PN}-systemd"
|
||||
RREPLACES_${PN} += "${PN}-systemd"
|
||||
RCONFLICTS_${PN} += "${PN}-systemd"
|
||||
SYSTEMD_SERVICE_${PN} = "mpd.service"
|
||||
Reference in New Issue
Block a user