feat(hardware): auto-detect audio, bluetooth, camera with declarative override
This commit is contained in:
22
tests/hardware/pkg_fixtures.yml
Normal file
22
tests/hardware/pkg_fixtures.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
# profile + os_family -> resolved package list. expect_contains: all must be present;
|
||||
# expect_excludes: none may be present. Features default all-on with auto peripherals.
|
||||
package_fixtures:
|
||||
- name: arch-intel-audio-bt-fp
|
||||
os_family: Archlinux
|
||||
profile: { cpu: intel, gpus: [intel], wireless: [intel], audio: [intel], fingerprint: true, bluetooth: true, camera: { uvc: true, ipu6: false } }
|
||||
expect_contains: [intel-ucode, linux-firmware-other, mesa, vulkan-icd-loader, vulkan-intel, sof-firmware, alsa-ucm-conf, bluez, bluez-utils, fprintd, libfprint, v4l-utils]
|
||||
expect_excludes: [nvidia-open-dkms, evdi]
|
||||
|
||||
- name: debian-amd-audio-no-bt-no-fp
|
||||
os_family: Debian
|
||||
profile: { cpu: amd, gpus: [amd], wireless: [realtek], audio: [amd], fingerprint: false, bluetooth: false, camera: { uvc: false, ipu6: false } }
|
||||
expect_contains: [amd64-microcode, firmware-linux-free, firmware-amd-graphics, firmware-realtek, mesa-vulkan-drivers, firmware-sof-signed, alsa-ucm-conf]
|
||||
expect_excludes: [bluez, fprintd, libpam-fprintd, v4l-utils]
|
||||
|
||||
- name: redhat-intel-nvidia-bt
|
||||
os_family: RedHat
|
||||
profile: { cpu: intel, gpus: [intel, nvidia], wireless: [intel], audio: [intel], fingerprint: false, bluetooth: true, camera: { uvc: false, ipu6: true } }
|
||||
nvidia_driver_resolved: open
|
||||
expect_contains: [microcode_ctl, linux-firmware, mesa-dri-drivers, vulkan-loader, akmod-nvidia-open, alsa-sof-firmware, alsa-ucm, bluez, v4l-utils]
|
||||
expect_excludes: [fprintd, evdi]
|
||||
Reference in New Issue
Block a user