Merge pull request #107 from nix-community/stable-kernel

Add kernel tracking stable release
This commit is contained in:
Travis Staton 2025-01-08 12:53:00 -05:00 committed by GitHub
commit 628e512d60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 30 additions and 6 deletions

26
flake.lock generated
View file

@ -60,6 +60,7 @@
"rpi-firmware-src": "rpi-firmware-src", "rpi-firmware-src": "rpi-firmware-src",
"rpi-linux-6_10_12-src": "rpi-linux-6_10_12-src", "rpi-linux-6_10_12-src": "rpi-linux-6_10_12-src",
"rpi-linux-6_6_67-src": "rpi-linux-6_6_67-src", "rpi-linux-6_6_67-src": "rpi-linux-6_6_67-src",
"rpi-linux-stable-src": "rpi-linux-stable-src",
"rpicam-apps-src": "rpicam-apps-src", "rpicam-apps-src": "rpicam-apps-src",
"u-boot-src": "u-boot-src" "u-boot-src": "u-boot-src"
} }
@ -101,16 +102,16 @@
"rpi-firmware-src": { "rpi-firmware-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1727798811, "lastModified": 1728405098,
"narHash": "sha256-eavbshXGYmkYR33y9FLcQMJoAYdYTESVEy0g/RRXnb0=", "narHash": "sha256-4gnK0KbqFnjBmWia9Jt2gveVWftmHrprpwBqYVqE/k0=",
"owner": "raspberrypi", "owner": "raspberrypi",
"repo": "firmware", "repo": "firmware",
"rev": "287e6a6c2d3b50eee3e2c5b2eacdd907e5cbe09a", "rev": "7bbb5f80d20a2335066a8781459c9f33e5eebc64",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "raspberrypi", "owner": "raspberrypi",
"ref": "1.20241001", "ref": "1.20241008",
"repo": "firmware", "repo": "firmware",
"type": "github" "type": "github"
} }
@ -149,6 +150,23 @@
"type": "github" "type": "github"
} }
}, },
"rpi-linux-stable-src": {
"flake": false,
"locked": {
"lastModified": 1728403745,
"narHash": "sha256-phCxkuO+jUGZkfzSrBq6yErQeO2Td+inIGHxctXbD5U=",
"owner": "raspberrypi",
"repo": "linux",
"rev": "5aeecea9f4a45248bcf564dec924965e066a7bfd",
"type": "github"
},
"original": {
"owner": "raspberrypi",
"ref": "stable_20241008",
"repo": "linux",
"type": "github"
}
},
"rpicam-apps-src": { "rpicam-apps-src": {
"flake": false, "flake": false,
"locked": { "locked": {

View file

@ -7,6 +7,10 @@
flake = false; flake = false;
url = "https://ftp.denx.de/pub/u-boot/u-boot-2024.07.tar.bz2"; url = "https://ftp.denx.de/pub/u-boot/u-boot-2024.07.tar.bz2";
}; };
rpi-linux-stable-src = {
flake = false;
url = "github:raspberrypi/linux/stable_20241008";
};
rpi-linux-6_6_67-src = { rpi-linux-6_6_67-src = {
flake = false; flake = false;
url = "github:raspberrypi/linux/rpi-6.6.y"; url = "github:raspberrypi/linux/rpi-6.6.y";
@ -17,7 +21,7 @@
}; };
rpi-firmware-src = { rpi-firmware-src = {
flake = false; flake = false;
url = "github:raspberrypi/firmware/1.20241001"; url = "github:raspberrypi/firmware/1.20241008";
}; };
rpi-firmware-nonfree-src = { rpi-firmware-nonfree-src = {
flake = false; flake = false;

View file

@ -1,4 +1,5 @@
{ u-boot-src { u-boot-src
, rpi-linux-stable-src
, rpi-linux-6_6_67-src , rpi-linux-6_6_67-src
, rpi-linux-6_10_12-src , rpi-linux-6_10_12-src
, rpi-firmware-src , rpi-firmware-src
@ -9,6 +10,7 @@
final: prev: final: prev:
let let
versions = { versions = {
v6_6_51.src = rpi-linux-stable-src;
v6_6_67.src = rpi-linux-6_6_67-src; v6_6_67.src = rpi-linux-6_6_67-src;
v6_10_12 = { v6_10_12 = {
src = rpi-linux-6_10_12-src; src = rpi-linux-6_10_12-src;

View file

@ -14,7 +14,7 @@ in
options = with lib; { options = with lib; {
raspberry-pi-nix = { raspberry-pi-nix = {
kernel-version = mkOption { kernel-version = mkOption {
default = "v6_6_67"; default = "v6_6_51";
type = types.str; type = types.str;
description = "Kernel version to build."; description = "Kernel version to build.";
}; };