Skip to content

Commit cbc9d7e

Browse files
committed
microsoft/surface: test kernel 6.18
1 parent 9154f45 commit cbc9d7e

File tree

3 files changed

+558
-3
lines changed

3 files changed

+558
-3
lines changed

microsoft/surface/common/default.nix

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ let
1919
if kernelVersion == "longterm" then
2020
"6.12.19"
2121
else if kernelVersion == "stable" then
22-
"6.15.9"
22+
"6.18"
2323
else
2424
abort "Invalid kernel version: ${kernelVersion}";
2525

@@ -28,7 +28,7 @@ let
2828
if kernelVersion == "longterm" then
2929
"sha256-1zvwV77ARDSxadG2FkGTb30Ml865I6KB8y413U3MZTE="
3030
else if kernelVersion == "stable" then
31-
"sha256-6U86+FSSMC96gZRBRY+AvKCtmRLlpMg8aZ/zxjxSlX0="
31+
"sha256-kQakYF2p4x/xdlnZWHgrgV+VkaswjQOw7iGq1sfc7Us="
3232
else
3333
abort "Invalid kernel version: ${kernelVersion}";
3434

@@ -48,7 +48,11 @@ let
4848
kernelPatches = surfacePatches {
4949
version = srcVersion;
5050
patchFn = ./kernel/${versions.majorMinor srcVersion}/patches.nix;
51-
patchSrc = (linux-surface + "/patches/${versions.majorMinor srcVersion}");
51+
patchSrc =
52+
if srcVersion == "6.18" then
53+
(linux-surface + "/patches/6.17")
54+
else
55+
(linux-surface + "/patches/${versions.majorMinor srcVersion}");
5256
};
5357
kernelPackages = linuxPackage {
5458
inherit kernelPatches;

0 commit comments

Comments
 (0)