-
Notifications
You must be signed in to change notification settings - Fork 846
Commit
* Add archlinux (aarch64) support Signed-off-by: Assaf Sapir <[email protected]>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
- name: Enable cgroup via boot commandline if not already enabled for Archlinux | ||
lineinfile: | ||
path: /boot/boot.txt | ||
search_string: setenv bootargs console=ttyS1,115200 console=tty0 root=PARTUUID=${uuid} rw rootwait smsc95xx.macaddr="${usbethaddr}" | ||
Check failure on line 5 in roles/raspberrypi/tasks/prereq/Archlinux.yml GitHub Actions / Lintyaml[line-length]
|
||
line: setenv bootargs console=ttyS1,115200 console=tty0 root=PARTUUID=${uuid} rw rootwait smsc95xx.macaddr="${usbethaddr}" cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory | ||
Check failure on line 6 in roles/raspberrypi/tasks/prereq/Archlinux.yml GitHub Actions / Lintyaml[line-length]
|
||
register: kernel_cmdline_cgroup | ||
|
||
- name: Create | ||
Check failure on line 9 in roles/raspberrypi/tasks/prereq/Archlinux.yml GitHub Actions / Lintcommand-instead-of-shell
Check failure on line 9 in roles/raspberrypi/tasks/prereq/Archlinux.yml GitHub Actions / Lintfqcn[action-core]
Check failure on line 9 in roles/raspberrypi/tasks/prereq/Archlinux.yml GitHub Actions / Lintno-changed-when
|
||
shell: ./mkscr | ||
args: | ||
chdir: /boot | ||
notify: reboot | ||
when: kernel_cmdline_cgroup.changed |