diff options
author | 2024-01-17 13:11:23 +0200 | |
---|---|---|
committer | 2024-01-29 12:11:17 +0000 | |
commit | ed344ae0d62b25f73c8816a2c8fb6e8168424425 (patch) | |
tree | 7355a0626d69705ee9acfd71198366c494e1d3c8 /recipes-multimedia/wireplumber/wireplumber-config-agl_%.bbappend | |
parent | d5c1fb29dc1ae6f5d0dd6ddba1657a1feb1b9f62 (diff) |
Add wireplumber-config-agl bbappend
This policy will change the default video source device to a
USB based camera device, such that camera-gstreamer (with default pipewiresrc)
would use the USB camera device to grab video frames.
Bug-AGL: SPEC-5024
Change-Id: I8dc124e1855de21e00dede6ff99f8b148f80b6dc
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29599
ci-image-build: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Diffstat (limited to 'recipes-multimedia/wireplumber/wireplumber-config-agl_%.bbappend')
-rw-r--r-- | recipes-multimedia/wireplumber/wireplumber-config-agl_%.bbappend | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-multimedia/wireplumber/wireplumber-config-agl_%.bbappend b/recipes-multimedia/wireplumber/wireplumber-config-agl_%.bbappend new file mode 100644 index 00000000..8f93868d --- /dev/null +++ b/recipes-multimedia/wireplumber/wireplumber-config-agl_%.bbappend @@ -0,0 +1,10 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" + +SRC_URI += "file://30-v4l2-monitor.lua" + +do_install:append() { + # override the one from meta-agl to be able to set as default USB camera + # such that camera-gstreamer and implicitly pipewire work out of the box + install -D -m 0644 ${WORKDIR}/30-v4l2-monitor.lua ${D}${sysconfdir}/wireplumber/host.lua.d/ +} + |