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:
parent
5e2a443ae5
commit
d9e5af3644
1 changed files with 3 additions and 4 deletions
|
@ -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"
|
||||||
}
|
}
|
Loading…
Reference in a new issue