summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/recipes-multimedia/wireplumber/wireplumber-policy-config-agl_%.bbappend
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2024-09-04 16:33:40 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-09-06 14:13:57 +0000
commita504ffdfbf965715018ad7419fa7aba7b7329c2e (patch)
tree7611bef6eb6d8965ddca452c8840f5c99bc16584 /meta-agl-ic-container/recipes-multimedia/wireplumber/wireplumber-policy-config-agl_%.bbappend
parent3c4690fa72db5b8e4c216ed1b799fb313e6e3993 (diff)
meta-agl-ic-container: rename wireplumber recipes to use template version
so that we don't need to rename the recipes when the version changes Bug-AGL: SPEC-4934 Change-Id: I0d588f4f68a7dd7c34367e343837e242e311fbed Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> (cherry picked from commit be5c43ffe2f26d613ee7e2050ac828f68b089dc3)
Diffstat (limited to 'meta-agl-ic-container/recipes-multimedia/wireplumber/wireplumber-policy-config-agl_%.bbappend')
-rw-r--r--meta-agl-ic-container/recipes-multimedia/wireplumber/wireplumber-policy-config-agl_%.bbappend8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-agl-ic-container/recipes-multimedia/wireplumber/wireplumber-policy-config-agl_%.bbappend b/meta-agl-ic-container/recipes-multimedia/wireplumber/wireplumber-policy-config-agl_%.bbappend
new file mode 100644
index 00000000..fe6dab86
--- /dev/null
+++ b/meta-agl-ic-container/recipes-multimedia/wireplumber/wireplumber-policy-config-agl_%.bbappend
@@ -0,0 +1,8 @@
+do_install:append() {
+ config_dir="${D}${sysconfdir}/wireplumber/"
+ systemd_dir="${D}${sysconfdir}/systemd/system/sockets.target.wants"
+
+ # enable additional systemd services
+ install -d ${systemd_dir}
+ ln -s ${systemd_system_unitdir}/wireplumber@.service ${systemd_dir}/wireplumber@policy.service
+}