linux-rt_latest: 5.9.1-rt20 -> 5.10-rt17

This does not keep 5.9 series because it has known issues and rt
upstream has stopped maintaining it in favor of 5.10.

"ls -v" sorts by version, making 5.10 the next $prev kernel.
This commit is contained in:
Orivej Desh
2020-12-14 23:42:17 +00:00
parent 15406f05c9
commit 2f6ac24357
3 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ update-if-needed() {
msg="$nixattr: $cur -> $new"
else
msg="$nixattr: init at $new"
prev=$(ls "$(dirname "$0")"/linux-rt-*.nix | tail -1)
prev=$(ls -v "$(dirname "$0")"/linux-rt-*.nix | tail -1)
cp "$prev" "$file"
cur=$(file-version "$file")
fi