diff options
Diffstat (limited to 'meta-ivi-common/recipes-multimedia/pulseaudio')
-rw-r--r-- | meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend b/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend index 541fe4286..a54ec60f1 100644 --- a/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend +++ b/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend @@ -10,19 +10,19 @@ do_install_append() { # Execute these manually on behalf of systemctl script (from systemd-systemctl-native.bb) # because it does not support systemd's user mode. - mkdir -p ${D}/home/root/.config/systemd/user/sockets.target.wants/ - ln -sf ${systemd_user_unitdir}/pulseaudio.socket ${D}/home/root/.config/systemd/user/sockets.target.wants/pulseaudio.socket + install -d ${D}${systemd_user_unitdir}/sockets.target.wants/ + ln -sf ${systemd_user_unitdir}/pulseaudio.socket ${D}${systemd_user_unitdir}/sockets.target.wants/ - mkdir -p ${D}/home/root/.config/systemd/user/default.target.wants/ - ln -sf ${systemd_user_unitdir}/pulseaudio.service ${D}/home/root/.config/systemd/user/default.target.wants/pulseaudio.service + install -d ${D}${systemd_user_unitdir}/default.target.wants/ + ln -sf ${systemd_user_unitdir}/pulseaudio.service ${D}${systemd_user_unitdir}/default.target.wants/ fi mkdir -p ${D}/${bindir} install -m 755 -p -D ${WORKDIR}/build/src/.libs/pacat ${D}/${bindir}/ } -FILES_${PN} += " \ +FILES_${PN}-server += " \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_user_unitdir}/pulseaudio.socket', '', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '/home/root/.config/systemd/user/sockets.target.wants/pulseaudio.socket', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_user_unitdir}/sockets.target.wants/pulseaudio.socket', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_user_unitdir}/pulseaudio.service', '', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '/home/root/.config/systemd/user/default.target.wants/pulseaudio.service', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_user_unitdir}/default.target.wants/pulseaudio.service', '', d)} \ " |