diff --git a/ansible/roles/ovos_hardware_mark2/tasks/vocalfusion.yml b/ansible/roles/ovos_hardware_mark2/tasks/vocalfusion.yml index c5d6e9c..e4f556e 100644 --- a/ansible/roles/ovos_hardware_mark2/tasks/vocalfusion.yml +++ b/ansible/roles/ovos_hardware_mark2/tasks/vocalfusion.yml @@ -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 '' }}"