mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
chore(kmod-nvidia): Track c10s instead
Signed-off-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
@@ -3,7 +3,7 @@ import "andax/nvidia.rhai" as nvidia;
|
||||
rpm.version(nvidia::nvidia_driver_version());
|
||||
|
||||
// Rebuild the package whenever the Alma kernel updates
|
||||
let rawfile = get(`https://git.almalinux.org/rpms/kernel/raw/branch/a10s/kernel.spec`);
|
||||
let rawfile = get(`https://git.almalinux.org/rpms/kernel/raw/branch/c10s/kernel.spec`);
|
||||
let kv = find("specrpmversion ([\\d.]+)", rawfile, 1);
|
||||
let kr = find("specrelease ([\\d.]+)", rawfile, 1);
|
||||
open_file("anda/system/nvidia/kmod-nvidia/KERNEL_VERSION.txt", "w").write(kv);
|
||||
|
||||
Reference in New Issue
Block a user