summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2019-01-08 15:37:03 -0800
committerLaura Abbott <labbott@redhat.com>2019-01-08 15:37:03 -0800
commit63d40f4c3a7c56eedd7c737e9dc0059090b93f1e (patch)
treeb5e0419438b174e6f98c6749cecff67f35bbdfac /scripts
parentedf855c97b528f283656bc107d96d28add9e46dc (diff)
downloadkernel-63d40f4c3a7c56eedd7c737e9dc0059090b93f1e.tar.gz
kernel-63d40f4c3a7c56eedd7c737e9dc0059090b93f1e.tar.xz
kernel-63d40f4c3a7c56eedd7c737e9dc0059090b93f1e.zip
More fixup of the headers script
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create_headers_tarball.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/create_headers_tarball.sh b/scripts/create_headers_tarball.sh
index 9d43548df..cb57db634 100755
--- a/scripts/create_headers_tarball.sh
+++ b/scripts/create_headers_tarball.sh
@@ -19,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`
@@ -27,8 +27,10 @@ STABLE=`grep "%define stable_update" kernel.spec| cut -d ' ' -f 3`
RC=`grep "%global rcrev" kernel.spec| cut -d ' ' -f 3`
GITREV=`grep "%define gitrev" kernel.spec| cut -d ' ' -f 3`
if [ $RELEASED -eq 0 ]; then
- cd kernel-$MAJORVER.$BASE.fc??
- NEWBASE=$(($BASE+1))
+ #cd kernel-$MAJORVER.$BASE.fc??
+ cd kernel-5.0-rc$RC.fc??
+ #NEWBASE=$(($BASE+1))
+ NEWBASE=0
KVER=$MAJORVER.$NEWBASE.0-0.rc$RC.git$GITREV.$BASERELEASE
cd linux-$MAJORVER.$NEWBASE.0-0.rc$RC.git$GITREV.$BASERELEASE.fc*/
else