aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-04-04 08:41:42 +0200
committerGerd Hoffmann <kraxel@redhat.com>2018-04-04 08:41:42 +0200
commitc5371b27ea7fdb4cc1e39c8fb4823232556780e6 (patch)
tree220063fe9637b89fa94fefd0a4292d3681640d2a /scripts
parent8a3fda6b0e56fdd5a4ea21f9c982f6325122165e (diff)
downloadjenkinsfiles-c5371b27ea7fdb4cc1e39c8fb4823232556780e6.tar.gz
update for 4.16
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/prepare-kernel.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/prepare-kernel.sh b/scripts/prepare-kernel.sh
index 89c822c..34a683d 100755
--- a/scripts/prepare-kernel.sh
+++ b/scripts/prepare-kernel.sh
@@ -12,6 +12,9 @@ case $version in
rpmvers="${version%-*}.0"
release="0.${version#*-}.${release}"
;;
+4.??) variant="mainline"
+ rpmvers="${version}.0"
+ ;;
*) variant="mainline";;
esac
rm -rvf linux-*.tar*