Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update vocalfusion.yml to compile against currently installed kernel #88

Merged
merged 4 commits into from
May 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ansible/roles/ovos_hardware_mark2/tasks/vocalfusion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
dest: "{{ _ovos_hardware_mark2_vocalfusion_src_path }}"
version: "{{ ovos_hardware_mark2_vocalfusion_branch }}"

- name: Override variable for newer kernels
set_fact:
_ovos_hardware_mark2_lib_modules_path: "/lib/modules/{{ ansible_kernel }}"
when: ansible_kernel is version(_ovos_hardware_mark2_kernel_target, '>=')

- name: Copy DTBO files to /boot/overlays
vars:
_is_rpi5: "{{ '-pi5' if 'Raspberry Pi 5' in ovos_installer_raspberrypi else '' }}"
Expand Down