1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-22 11:09:46 +01:00

mainline kernel: only check for newer LTS versions

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2018-05-14 18:31:24 +02:00
parent 5e2a443ae5
commit d9e5af3644

View file

@ -36,8 +36,7 @@ deploy() {
} }
check_update() { check_update() {
curl --silent -L https://www.kernel.org/ | \ curl --silent -L https://www.kernel.org/feeds/kdist.xml | \
grep -o linux-[0-9.]*tar.xz | \ grep -o "[0-9.]*: longterm" | grep -o "[0-9.]*" | \
sed 's/linux-//g' | sed 's/.tar.xz//g' | \ verson_find_greatest "$VERSION"
verson_find_greatest "$VERSION"
} }