From 1f9f960298a6a2e6ae0360c4ef42e88c9678069a Mon Sep 17 00:00:00 2001 From: Ashok Sidipotu Date: Thu, 17 Feb 2022 19:02:03 +0530 Subject: Enable Wireplumber Policy instance in ivi guest image. -add wireplumber-policy-config-agl recipe to guest, while wireplumber-config-agl remains in host. -add packagegroup-pipewire-base which is needed by the policy recipe. -mount host pipewire server socket in /var directory in guest image and define a PIPEWIRE_RUNTIME_DIR environment variable based on this new mount point. -make the needed service file changes to have wireplumber policy instance start on its own with out depending on pipewire service, limit this change to lxc layers. -install wireplumber@policy.service in sockets.targets.want directory, this is need for its self start, limit this change to lxc layers Bug-AGL: SPEC-4100 Signed-off-by: Ashok Sidipotu Change-Id: Ifbd7a026c75a199bb540c1593d5a93f67a4bde02 --- meta-agl-lxc/recipes-platform/images/guest-image-ivi-demo.bb | 5 ++++- meta-agl-lxc/recipes-platform/images/lxc-host-image-demo.bb | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'meta-agl-lxc/recipes-platform/images') diff --git a/meta-agl-lxc/recipes-platform/images/guest-image-ivi-demo.bb b/meta-agl-lxc/recipes-platform/images/guest-image-ivi-demo.bb index 9cb495a3..22a59114 100644 --- a/meta-agl-lxc/recipes-platform/images/guest-image-ivi-demo.bb +++ b/meta-agl-lxc/recipes-platform/images/guest-image-ivi-demo.bb @@ -24,4 +24,7 @@ IMAGE_INSTALL += " \ ttf-dejavu-mathtexgyre \ ttf-dejavu-common \ ca-certificates \ -" + wireplumber \ + packagegroup-pipewire-base \ + wireplumber-policy-config-agl \ +" \ No newline at end of file diff --git a/meta-agl-lxc/recipes-platform/images/lxc-host-image-demo.bb b/meta-agl-lxc/recipes-platform/images/lxc-host-image-demo.bb index fd7e559b..aace83a8 100644 --- a/meta-agl-lxc/recipes-platform/images/lxc-host-image-demo.bb +++ b/meta-agl-lxc/recipes-platform/images/lxc-host-image-demo.bb @@ -12,6 +12,7 @@ IMAGE_INSTALL += " \ alsa-utils \ packagegroup-pipewire \ pipewire-ic-ipc \ + wireplumber-config-agl \ ${@bb.utils.contains('AGL_FEATURES', 'agl-drm-lease', 'drm-lease-manager', '', d)} \ " -- cgit 1.2.3-korg