forked from rosa/hakurei
internal/rosa/package: migrate firmware
This does not depend on the kernel. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
47
internal/rosa/package/firmware.az
Normal file
47
internal/rosa/package/firmware.az
Normal file
@@ -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,
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user