1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-06-14 07:38:43 +02: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() {
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"
}