mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 17:19:23 +00:00
mpd: Fix systemd user unit installation
systemd_system_unitdir was accidentally used as the destination for the user systemd unit, which means it overwrites the system unit. Correct it to systemd_user_unitdir to fix starting with the system unit. Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
@@ -24,7 +24,7 @@ SRC_URI = "git://github.com/MusicPlayerDaemon/MPD;branch=master;protocol=https;t
|
||||
SRCREV = "7a9afa059e95668c912f779219ee8fe1e44dd2aa"
|
||||
|
||||
|
||||
EXTRA_OEMESON += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-Dsystemd=enabled -Dsystemd_system_unit_dir=${systemd_system_unitdir} -Dsystemd_user_unit_dir=${systemd_system_unitdir}', '-Dsystemd=disabled', d)} \
|
||||
EXTRA_OEMESON += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-Dsystemd=enabled -Dsystemd_system_unit_dir=${systemd_system_unitdir} -Dsystemd_user_unit_dir=${systemd_user_unitdir}', '-Dsystemd=disabled', d)} \
|
||||
-Dadplug=disabled \
|
||||
-Dsndio=disabled \
|
||||
-Dshine=disabled \
|
||||
@@ -93,6 +93,8 @@ do_install:append() {
|
||||
rm -rf ${D}${datadir}/icons
|
||||
}
|
||||
|
||||
FILES:${PN} += "${systemd_user_unitdir}"
|
||||
|
||||
RPROVIDES:${PN} += "${PN}-systemd"
|
||||
RREPLACES:${PN} += "${PN}-systemd"
|
||||
RCONFLICTS:${PN} += "${PN}-systemd"
|
||||
|
||||
Reference in New Issue
Block a user