summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2019-03-19 07:49:32 -0700
committerLaura Abbott <labbott@redhat.com>2019-03-19 07:49:32 -0700
commita8bfbf6db3109e3aeca7fde1ce89d86870cbebb7 (patch)
tree68dba81b2be8b056220e8842b4ef50c509dd69e7 /scripts
parent1ec9f8fe13cf6a364e4e36d906b2a23c593ba0e4 (diff)
downloadkernel-a8bfbf6db3109e3aeca7fde1ce89d86870cbebb7.tar.gz
kernel-a8bfbf6db3109e3aeca7fde1ce89d86870cbebb7.tar.xz
kernel-a8bfbf6db3109e3aeca7fde1ce89d86870cbebb7.zip
Forgot to update the header tarball script
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create_headers_tarball.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/create_headers_tarball.sh b/scripts/create_headers_tarball.sh
index 575b2bb8e..5105f790c 100755
--- a/scripts/create_headers_tarball.sh
+++ b/scripts/create_headers_tarball.sh
@@ -7,6 +7,8 @@
# Author: Herton R. Krzesinski <herton@redhat.com>
# Author: Justin M. Forbes <jforbes@redhat.com>
+set -e
+
# Location of kernel-headers checkout
CURRENTDIR=`pwd`
PKGLOC='kernel-headers'
@@ -17,7 +19,7 @@ if [ ! -f $PKGLOC/kernel-headers.spec ]; then
fi
# Kernel version information taken from kernel.spec and change to prepared sources directory
-MAJORVER='4'
+MAJORVER='5'
RELEASED=`grep "%global released_kernel" kernel.spec| cut -d ' ' -f 3`
BASERELEASE=`cat kernel.spec | grep "%global baserelease" | cut -d ' ' -f 3`
BASE=`grep "%define base_sublevel" kernel.spec| cut -d ' ' -f 3`