Skip to content

Commit

Permalink
[mark2] Rollback changes
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Jun 4, 2024
1 parent 46371c3 commit 245f0ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/ovos_hardware_mark2/tasks/vocalfusion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- name: Override variable for newer kernels
ansible.builtin.set_fact:
_ovos_hardware_mark2_lib_modules_path: "/lib/modules/{{ ansible_kernel }}"
when: ansible_kernel is version('6.6.22', '>=')
when: ansible_kernel is version(_ovos_hardware_mark2_kernel_target, '>=')

- name: Copy DTBO files to /boot/overlays
vars:
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/ovos_hardware_mark2/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# Until https://github.com/RPi-Distro/rpi-source/pull/29 PR is merged
_ovos_hardware_mark2_rpi_source_url: https://raw.githubusercontent.com/jgartrel/rpi-source/master/rpi-source
_ovos_hardware_mark2_kernel_target: "{{ ansible_kernel }}"
_ovos_hardware_mark2_kernel_target: "{{ '6.6.22-v8+' if 'Raspberry Pi 4' in ovos_installer_raspberrypi else '6.6.22-v8-16k+' }}"
_ovos_hardware_mark2_lib_modules_path: "/lib/modules/{{ _ovos_hardware_mark2_kernel_target }}"
_ovos_hardware_mark2_vocalfusion_src_path: /usr/src/vocalfusion

0 comments on commit 245f0ae

Please sign in to comment.