mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
mpd: eliminate systemd ExecStart edit
This was never necessary because MPD's build script already inserts the correct path. Signed-off-by: Max Kellermann <max.kellermann@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
5da393e72d
commit
995504de0a
|
|
@ -82,12 +82,6 @@ do_install_append() {
|
|||
-e 's|%state_file%|${localstatedir}/lib/mpd/state|' \
|
||||
${D}/${sysconfdir}/mpd.conf
|
||||
|
||||
if [ -e ${D}/${systemd_unitdir}/system/mpd.service ] ; then
|
||||
sed -i \
|
||||
's|^ExecStart=.*|ExecStart=${bindir}/mpd --no-daemon|' \
|
||||
${D}/${systemd_unitdir}/system/mpd.service
|
||||
fi
|
||||
|
||||
# we don't need the icon
|
||||
rm -rf ${D}${datadir}/icons
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user