From d9e5af3644a84e284dbabf02277218cecda848bc Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 14 May 2018 18:31:24 +0200 Subject: [PATCH] mainline kernel: only check for newer LTS versions Signed-off-by: David Oberhollenzer --- pkg/linux/build | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkg/linux/build b/pkg/linux/build index 61f1d32..03ed2df 100755 --- a/pkg/linux/build +++ b/pkg/linux/build @@ -36,8 +36,7 @@ deploy() { } check_update() { - curl --silent -L https://www.kernel.org/ | \ - grep -o linux-[0-9.]*tar.xz | \ - sed 's/linux-//g' | sed 's/.tar.xz//g' | \ - verson_find_greatest "$VERSION" + curl --silent -L https://www.kernel.org/feeds/kdist.xml | \ + grep -o "[0-9.]*: longterm" | grep -o "[0-9.]*" | \ + verson_find_greatest "$VERSION" } \ No newline at end of file