aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/kmod.az
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-20 02:25:41 +0900
committerOphestra <cat@gensokyo.uk>2026-05-20 02:25:41 +0900
commit96abf266dd8bbbb4ea65c74a3f84f2461a6021a7 (patch)
treedf40c99715f061d15c9c32165bcbf9a3343c256f /internal/rosa/package/kmod.az
parentfcba32e9c4bc27a0cdcd1a78bbc1cf5ea799c18e (diff)
internal/rosa/package: migrate hwdata, kmod, libarchive
This removes a blank line in CTestCustom.cmake, causing a libarchive rebuild. Resulting IR is identical otherwise. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/kmod.az')
-rw-r--r--internal/rosa/package/kmod.az40
1 files changed, 40 insertions, 0 deletions
diff --git a/internal/rosa/package/kmod.az b/internal/rosa/package/kmod.az
new file mode 100644
index 00000000..c4b4733a
--- /dev/null
+++ b/internal/rosa/package/kmod.az
@@ -0,0 +1,40 @@
+package kmod {
+ description = "a set of tools to handle common tasks with Linux kernel modules";
+ website = "https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git";
+ anitya = 1517;
+
+ version* = "34.2";
+ source = remoteTar {
+ url = "https://www.kernel.org/pub/linux/utils/kernel/"+
+ "kmod/kmod-"+version+".tar.gz";
+ checksum = "0K7POeTKxMhExsaTsnKAC6LUNsRSfe6sSZxWONPbOu-GI_pXOw3toU_BIoqfBhJV";
+ compress = gzip;
+ };
+
+ exec = meson {
+ setup = {
+ "Dmoduledir": "/system/lib/modules";
+ "Dsysconfdir": "/system/etc";
+ "Dbashcompletiondir": "no";
+ "Dfishcompletiondir": "no";
+ "Dxz": "disabled";
+ "Dmanpages": "false";
+ };
+
+ // makes assumptions about the running kernel
+ skipTest = true;
+ };
+
+ inputs = [
+ zlib,
+ zstd,
+ openssl,
+ kernel-headers,
+ ];
+
+ runtime = [
+ zlib,
+ zstd,
+ openssl,
+ ];
+}