From b939d370f2720f761ac7c6dfe0041ebfd64c1b79 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Fri, 27 Feb 2026 01:19:36 +0100 Subject: Add boot args that allow gpu and other mac locked features on linux --- roles/bootstrap/tasks/install-archlinux.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'roles/bootstrap/tasks/install-archlinux.yml') diff --git a/roles/bootstrap/tasks/install-archlinux.yml b/roles/bootstrap/tasks/install-archlinux.yml index 5affa1c..02ba1f3 100644 --- a/roles/bootstrap/tasks/install-archlinux.yml +++ b/roles/bootstrap/tasks/install-archlinux.yml @@ -46,20 +46,16 @@ changed_when: true - name: "Configure rEFInd boot options" - ansible.builtin.copy: + ansible.builtin.template: + src: "refind_linux.conf.j2" dest: "{{ mnt_root_path }}/boot/refind_linux.conf" mode: "0644" - content: | - "Boot with defaults" "root=PARTLABEL={{ partition_root.name }} rw console=tty1" - "Boot to terminal" "root=PARTLABEL={{ partition_root.name }} rw console=tty1 systemd.unit=multi-user.target" - name: "Configure rEFInd settings" - ansible.builtin.copy: + ansible.builtin.template: + src: "refind.conf.j2" dest: "{{ mnt_boot_path }}/EFI/refind/refind.conf" mode: "0644" - content: | - timeout 5 - textonly true # NOTE: this is skipped because the docker test doesn't have proper EFI/refind directory created tags: ["molecule-notest"] @@ -88,7 +84,7 @@ ansible.builtin.command: cmd: "arch-chroot {{ mnt_root_path }} pacman -S --noconfirm broadcom-wl" changed_when: true - when: bootstrap_broadcom_wl + when: bootstrap_mac - name: "Blacklist modules conflicting with broadcom-wl" ansible.builtin.copy: @@ -100,7 +96,7 @@ blacklist b43 blacklist ssb blacklist bcma - when: bootstrap_broadcom_wl + when: bootstrap_mac - name: "Load wl module at boot" ansible.builtin.copy: @@ -108,4 +104,4 @@ mode: "0644" content: | wl - when: bootstrap_broadcom_wl + when: bootstrap_mac -- cgit v1.2.3