Skip to content

Commit

Permalink
Merge pull request #222 from OpenVoiceOS/fix/221
Browse files Browse the repository at this point in the history
[ansible/tuning] Fix issue when not running on a Mark II
  • Loading branch information
goldyfruit authored Dec 3, 2024
2 parents e802aa6 + ee69ca6 commit 8ab79a6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ansible/roles/ovos_installer/tasks/tuning/numa.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
---
- name: Check for /boot/firmware directory
ansible.builtin.stat:
path: /boot/firmware
register: _boot_config_status

- name: Set _boot_directory fact
ansible.builtin.set_fact:
_boot_directory: "{{ '/boot/firmware' if _boot_config_status.stat.exists | bool else '/boot' }}"

- name: Enable NUMA for Raspberry Pi 4 & 5
vars:
_fake_number: "{{ '4' if 'Raspberry Pi 5' in ovos_installer_raspberrypi else '2' }}"
Expand Down

0 comments on commit 8ab79a6

Please sign in to comment.