diff options
Diffstat (limited to 'roles/linux_headers/vars')
| -rw-r--r-- | roles/linux_headers/vars/archlinux.yml | 9 | ||||
| -rw-r--r-- | roles/linux_headers/vars/debian.yml | 1 |
2 files changed, 9 insertions, 1 deletions
diff --git a/roles/linux_headers/vars/archlinux.yml b/roles/linux_headers/vars/archlinux.yml index 227fbb17..bcbc912a 100644 --- a/roles/linux_headers/vars/archlinux.yml +++ b/roles/linux_headers/vars/archlinux.yml @@ -1,2 +1,9 @@ --- -linux_headers_pkg: "linux-headers" +# linux and linux-headers must be upgraded together: Arch repos only ever +# carry the latest kernel build, so installing linux-headers alone can pull +# headers for a kernel newer than the one actually installed, breaking DKMS +# builds (nvidia_gt750m, nvidia_gtx1060) until the next full upgrade. +linux_headers_pkg: + - "linux" + - "linux-headers" +linux_headers_state: "latest" diff --git a/roles/linux_headers/vars/debian.yml b/roles/linux_headers/vars/debian.yml index d3e3e625..9db640d4 100644 --- a/roles/linux_headers/vars/debian.yml +++ b/roles/linux_headers/vars/debian.yml @@ -1,2 +1,3 @@ --- linux_headers_pkg: "linux-headers-{{ ansible_kernel }}" +linux_headers_state: "present" |
