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:
Anders Rytter Hansen 2025-01-28 10:13:30 +01:00
commit 4add346dea
4 changed files with 17 additions and 9 deletions

View file

@ -1,5 +1,5 @@
#!/bin/sh
KERNEL_VERSION="$(rpm -q kernel-cachyos-lto --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
KERNEL_VERSION="$(rpm -q $1 --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
rpm-ostree install /tmp/nvidia/*${KERNEL_VERSION}*.rpm