This commit is contained in:
2026-02-17 10:37:07 -06:00
parent ed19748358
commit a5162e9e76
6 changed files with 62 additions and 59 deletions

View File

@@ -5,6 +5,7 @@
buildLinux,
rpiVersion ? 5,
namespace,
kernelVersion ? "stable",
...
}@args:
@@ -14,11 +15,11 @@ let
inherit (lib.${namespace}) selectVariant mkAllSources;
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec "lts" null;
selected = selectVariant versionSpec kernelVersion null;
sources = mkAllSources selected;
modDirVersion = selected.variables.modDirVersion;
tag = "stable"; # sources.tag;
tag = kernelVersion; # sources.tag;
# NOTE: raspberrypifw & raspberryPiWirelessFirmware should be updated with this
# all of these fail for various reasons
@@ -49,7 +50,7 @@ lib.overrideDerivation
inherit modDirVersion;
pname = "linux-rpi${toString rpiVersion}";
src = sources.stable;
src = sources.${kernelVersion};
defconfig =
{

View File

@@ -8,23 +8,23 @@
"tag": "stable_20250916",
"hash": "sha256-HG8Oc04V2t54l0SOn4gKmNJWQUrZfjWusgKcWvx74H0=="
},
"latest": {
"unstable": {
"fetcher": "github",
"owner": "raspberrypi",
"repo": "linux",
"rev": "0f10f52e19eb34d3aa9848fc262ffcd596c8337b",
"hash": "sha256-HdMfQCoHL+BksDAZt8/jRtCh2I4dpaacr0yW+DF4DPo="
"rev": "87e52a7868888c66b2782c949c8406c27f909c11",
"hash": "sha256-1ob91gGajlTEZjn7GRls4bL5TP8Ulj74hoRUUlmeICA="
}
},
"variants": {
"lts": {
"stable": {
"variables": {
"modDirVersion": "6.12.47"
}
},
"latest": {
"unstable": {
"variables": {
"modDirVersion": "6.18.6"
"modDirVersion": "6.18.10"
}
}
},

View File

@@ -7,7 +7,7 @@
"owner": "RPi-Distro",
"repo": "bluez-firmware",
"rev": "cdf61dc691a49ff01a124752bd04194907f0f9cd",
"hash": "sha256-XgJwA2caixKdPkS28ThF8KUVlgR9IxDLaeBKIuoW5w8="
"hash": "sha256-35pnbQV/zcikz9Vic+2a1QAS72riruKklV8JHboL9NY="
},
"firmware-nonfree": {
"fetcher": "github",
@@ -15,7 +15,7 @@
"owner": "RPi-Distro",
"repo": "firmware-nonfree",
"rev": "40dea60e27078fac57a3fed51010e2c26865d49b",
"hash": "sha256-hGNpr67WInWJDZ8o9eI+n08HcOZWL5BPy4Dmg2CDTUk="
"hash": "sha256-yXKzrkr7zdw/ba8GEi0r+XjnZEsQ59LPEuXj0HaKwxU="
}
}
}

View File

@@ -6,7 +6,7 @@
"owner": "raspberrypi",
"repo": "utils",
"rev": "58d5da926965ad78fb863abacdd73a00dea022a1",
"hash": "sha256-4/1fFF7v7XhM0W31dFpPhtgCl/IkTsN6kU716gNDAdg="
"hash": "sha256-EjJMuqyJopZ+CsGrFwyjpOGx/p5+gww7IaIX0ZqlczU="
}
}
}