aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/firmware.az
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-19 21:46:18 +0900
committerOphestra <cat@gensokyo.uk>2026-05-19 21:46:40 +0900
commitd6be116ff8cb010380e4f054d32b24e7636f1c03 (patch)
tree37f0623d65ecc6f5a3d3e1f733338a809f6bee79 /internal/rosa/package/firmware.az
parent962b02cf259403d25505983cc5e11cbc2993e224 (diff)
internal/rosa/package: migrate firmware
This does not depend on the kernel. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/firmware.az')
-rw-r--r--internal/rosa/package/firmware.az47
1 files changed, 47 insertions, 0 deletions
diff --git a/internal/rosa/package/firmware.az b/internal/rosa/package/firmware.az
new file mode 100644
index 00000000..b35658af
--- /dev/null
+++ b/internal/rosa/package/firmware.az
@@ -0,0 +1,47 @@
+package firmware {
+ description = "firmware blobs for use with the Linux kernel";
+ website = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git";
+ anitya = 141464;
+
+ version* = "20260410";
+ source = remoteGitLab {
+ domain = "gitlab.com";
+ suffix = "kernel-firmware/linux-firmware";
+ ref = version;
+ checksum = "J8PdQlGqwrivpskPzbL6xacqR6mlKtXpe5RpzFfVzKPAgG81ZRXsc3qrxwdGJbil";
+ };
+
+ // dedup creates temporary file
+ writable = true;
+
+ // does not use configure
+ enterSource = true;
+
+ env = [
+ "HOME=/proc/nonexistent",
+ ];
+
+ exec = make {
+ omitDefaults = true;
+ skipConfigure = true;
+ inPlace = true;
+
+ make = [
+ "DESTDIR=/work/system",
+ "install-zst",
+ ];
+
+ // requires pre-commit
+ skipCheck = true;
+
+ install = "make " + jobsFlagE + " DESTDIR=/work/system dedup";
+ };
+
+ inputs = [
+ parallel,
+ rdfind,
+ zstd,
+ findutils,
+ coreutils,
+ ];
+}