aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/firmware.az
blob: 6355c93b023edddb49dbcf8408017f955ae37b2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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# = "20260622";
	source = remoteGitLab {
		domain = "gitlab.com";
		suffix = "kernel-firmware/linux-firmware";
		ref = version;
		checksum = "gpytkDM58EVjaUuryOekcekh_rWsfuv3S7LQxopHlNlVGmMsuqNwfug4BjgTgizE";
	};

	// 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 + " " + loadFlagE + " DESTDIR=/work/system dedup";
	};

	inputs = [
		parallel,
		rdfind,
		zstd,
		findutils,
		coreutils,
	];
}