rpi
This commit is contained in:
@@ -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 =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user