changed kernel to LTS and added variables for whcih kernel package is being used so it can be easily changed.
This commit is contained in:
parent
57bb9a73d0
commit
4add346dea
4 changed files with 17 additions and 9 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
KERNEL_VERSION="$(rpm -q kernel-cachyos-lto --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
|
||||
KERNEL=$1
|
||||
|
||||
KERNEL_VERSION="$(rpm -q $KERNEL --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
|
||||
|
||||
akmods --force --kernels "${KERNEL_VERSION}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue