pipewire: dont create alsa links for native

This fixes:
ERROR: pipewire-native-1.4.0-r0 do_populate_sysroot: sstate found an absolute path symlink /home/flk/poky/build/tmp/work/x86_64-linux/pipewire-native/1.4.0/sysroot-destdir/home/flk/poky/build/tmp/work/x86_64-linux/pipewire-native/1.4.0/recipe-sysroot-native/etc/alsa/conf.d/50-pipewire.conf pointing at /home/flk/poky/build/tmp/work/x86_64-linux/pipewire-native/1.4.0/recipe-sysroot-native/usr/share/alsa/alsa.conf.d/50-pipewire.conf. Please replace this with a relative link.
ERROR: pipewire-native-1.4.0-r0 do_populate_sysroot: sstate found an absolute path symlink /home/flk/poky/build/tmp/work/x86_64-linux/pipewire-native/1.4.0/sysroot-destdir/home/flk/poky/build/tmp/work/x86_64-linux/pipewire-native/1.4.0/recipe-sysroot-native/etc/alsa/conf.d/99-pipewire-default.conf pointing at /home/flk/poky/build/tmp/work/x86_64-linux/pipewire-native/1.4.0/recipe-sysroot-native/usr/share/alsa/alsa.conf.d/99-pipewire-default.conf. Please replace this with a relative link.
ERROR: pipewire-native-1.4.0-r0 do_populate_sysroot: Failing task due to absolute path symlinks
ERROR: Logfile of failure stored in: /home/flk/poky/build/tmp/work/x86_64-linux/pipewire-native/1.4.0/temp/log.do_populate_sysroot.913232
ERROR: Task (virtual:native:/home/flk/poky/meta-openembedded/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.4.0.bb:do_populate_sysroot) failed with exit code '1'

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk 2025-03-22 11:48:57 +01:00 committed by Khem Raj
parent b4ab539e0f
commit 7c03751b59
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -160,7 +160,7 @@ remove_unused_installed_files() {
rm -f "${D}${datadir}/pipewire/minimal.conf"
}
do_install:append() {
do_install:append:class-target() {
# The pipewire-alsa plugin needs the following files in /etc/alsa/conf.d/ to
# be picked up by alsa.
install -d ${D}${sysconfdir}/alsa/conf.d