diff options
| author | Scott Murray <scott.murray@konsulko.com> | 2026-04-16 17:11:36 -0400 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-04-16 16:30:37 -0700 |
| commit | a38bcc23f7bf57df16c317d71f9d8c615c7a50c0 (patch) | |
| tree | cfa466ee7502d17a6f6c9e6a513f84c9c7ed1e5c /meta-multimedia | |
| parent | 750982ed27ca6c96db59f7182bd5036d4bf5fc57 (diff) | |
| download | meta-openembedded-a38bcc23f7bf57df16c317d71f9d8c615c7a50c0.tar.gz | |
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>
Diffstat (limited to 'meta-multimedia')
| -rw-r--r-- | meta-multimedia/recipes-multimedia/musicpd/mpd_0.24.9.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.24.9.bb b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.24.9.bb index cb6bd1569f..0c3d672949 100644 --- a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.24.9.bb +++ b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.24.9.bb | |||
| @@ -24,7 +24,7 @@ SRC_URI = "git://github.com/MusicPlayerDaemon/MPD;branch=master;protocol=https;t | |||
| 24 | SRCREV = "7a9afa059e95668c912f779219ee8fe1e44dd2aa" | 24 | SRCREV = "7a9afa059e95668c912f779219ee8fe1e44dd2aa" |
| 25 | 25 | ||
| 26 | 26 | ||
| 27 | 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)} \ | 27 | 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)} \ |
| 28 | -Dadplug=disabled \ | 28 | -Dadplug=disabled \ |
| 29 | -Dsndio=disabled \ | 29 | -Dsndio=disabled \ |
| 30 | -Dshine=disabled \ | 30 | -Dshine=disabled \ |
| @@ -93,6 +93,8 @@ do_install:append() { | |||
| 93 | rm -rf ${D}${datadir}/icons | 93 | rm -rf ${D}${datadir}/icons |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | FILES:${PN} += "${systemd_user_unitdir}" | ||
| 97 | |||
| 96 | RPROVIDES:${PN} += "${PN}-systemd" | 98 | RPROVIDES:${PN} += "${PN}-systemd" |
| 97 | RREPLACES:${PN} += "${PN}-systemd" | 99 | RREPLACES:${PN} += "${PN}-systemd" |
| 98 | RCONFLICTS:${PN} += "${PN}-systemd" | 100 | RCONFLICTS:${PN} += "${PN}-systemd" |
