Skip to content

Commit 2034c5d

Browse files
committed
microsoft/surface: rename 'lts' and 'latest' to 'longterm' and 'stable'
1 parent dab2104 commit 2034c5d

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

microsoft/surface/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ _*NOTE:*_ Some built-in Kernel config items need to be set, that aren't set by d
3636

3737
There are multiple versions of the Surface kernel available:
3838

39-
- `lts`, which tracks the latest LTS release.
40-
- `latest`, which tracks the most recent release.
39+
- `longterm`, which tracks the latest long term support (LTS) release.
40+
- `stable`, which tracks the most recent stable release.
4141

42-
This repo uses `lts` by default, but you can switch it to `latest` by adding this to your configuration file:
42+
This repo uses `longterm` by default, but you can switch it to `stable` by adding this to your configuration file:
4343

4444
```nix
45-
microsoft-surface.kernelVersion = "latest";
45+
microsoft-surface.kernelVersion = "stable";
4646
```
4747

4848
### Support Tools

microsoft/surface/common/default.nix

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ let
55

66
# Set the full kernel version and hashes
77
version =
8-
if config.microsoft-surface.kernelVersion == "lts" then
8+
if config.microsoft-surface.kernelVersion == "longterm" then
99
"6.12.19"
10-
else if config.microsoft-surface.kernelVersion == "latest" then
10+
else if config.microsoft-surface.kernelVersion == "stable" then
1111
"6.13.6"
1212
else
1313
abort "Invalid kernel version: ${config.microsoft-surface.kernelVersion}";
@@ -56,10 +56,10 @@ in {
5656
options.microsoft-surface.kernelVersion = mkOption {
5757
description = "Kernel Version to use (patched for MS Surface)";
5858
type = types.enum [
59-
"lts"
60-
"latest"
59+
"longterm"
60+
"stable"
6161
];
62-
default = "lts";
62+
default = "longterm";
6363
};
6464

6565
config = {

0 commit comments

Comments
 (0)