Files
packages/anda/system/sc0710/dkms/update.rhai
T
Raboneko 156d6e82f1 feat: Add sc0710 kmod for Elgato capture cards (#11038) (#11047)
* feat: Add sc0710 kmod

* fix: Correct provides in xpadneo-kmod spec file

(cherry picked from commit 8d2c63d87c)

Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch>
2026-04-03 19:36:53 -05:00

13 lines
602 B
Plaintext

let c = sh("cat anda/system/sc0710/kmod-common/sc0710.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout;
c.pop();
rpm.global("commit", c);
if rpm.changed() {
rpm.release();
let d = sh("cat anda/system/sc0710/kmod-common/sc0710.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout;
d.pop();
rpm.global("commitdate", d);
let v = sh("cat anda/system/sc0710/kmod-common/sc0710.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout;
v.pop();
rpm.global("ver", v);
}