mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user