Files
packages/anda/system/usbio-drivers/dkms/update.rhai
T
Gilver 205fe13dd3 chore: Update Intel IPU6 specs, separate IPU6 drivers and USBIO drivers (#5490)
* chore: Update Intel IPU6 specs, separate IPU6 drivers and USBIO drivers

* chore: Changelogs

* fix: Some oopsies

* fix: Commit?

* fix: Cleanup

* fix: dfshdfshjksdfdfhjs
2025-06-16 17:49:30 +08:00

11 lines
465 B
Plaintext

let c = sh("cat anda/system/usbio-drivers/kmod-common/intel-usbio-drivers.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/usbio-drivers/kmod-common/intel-usbio-drivers.spec | grep '%global commit_date' | sed -E 's/.+commit_date //'", #{"stdout": "piped"}).ctx.stdout;
d.pop();
rpm.global("commit_date", d);
}