This commit is contained in:
mjallen18
2025-12-30 14:28:48 -06:00
parent b36ae0914c
commit b216fe5215
15 changed files with 667 additions and 59 deletions

View File

@@ -0,0 +1,23 @@
{ pkgs
, ubootPackage
, ubootBinName ? "u-boot.bin"
, extlinuxConfBuilder
, firmwareBuilder
}:
pkgs.replaceVarsWith {
src = ./uboot-builder.sh;
isExecutable = true;
replacements = {
inherit (pkgs) bash;
path = pkgs.lib.makeBinPath [
pkgs.coreutils
];
uboot = ubootPackage;
inherit ubootBinName;
inherit extlinuxConfBuilder;
inherit firmwareBuilder;
};
}