summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2019-03-04 07:13:09 -0800
committerLaura Abbott <labbott@redhat.com>2019-03-04 07:23:36 -0800
commit1bde9dbcae119aa2a77d4aa36961f1aa0cde5ced (patch)
tree0c0bfcfbb1941561c5da9f1c7655db562d966b11 /scripts
parentc5018505ed47ca3fed10d954d833775312dd1a98 (diff)
downloadkernel-1bde9dbcae119aa2a77d4aa36961f1aa0cde5ced.tar.gz
kernel-1bde9dbcae119aa2a77d4aa36961f1aa0cde5ced.tar.xz
kernel-1bde9dbcae119aa2a77d4aa36961f1aa0cde5ced.zip
Linux v5.0.0
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create_headers_tarball.sh6
-rw-r--r--scripts/kernel-version.sh2
2 files changed, 3 insertions, 5 deletions
diff --git a/scripts/create_headers_tarball.sh b/scripts/create_headers_tarball.sh
index cb57db634..5105f790c 100755
--- a/scripts/create_headers_tarball.sh
+++ b/scripts/create_headers_tarball.sh
@@ -27,10 +27,8 @@ 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??
- cd kernel-5.0-rc$RC.fc??
- #NEWBASE=$(($BASE+1))
- NEWBASE=0
+ cd kernel-$MAJORVER.$BASE.fc??
+ NEWBASE=$(($BASE+1))
KVER=$MAJORVER.$NEWBASE.0-0.rc$RC.git$GITREV.$BASERELEASE
cd linux-$MAJORVER.$NEWBASE.0-0.rc$RC.git$GITREV.$BASERELEASE.fc*/
else
diff --git a/scripts/kernel-version.sh b/scripts/kernel-version.sh
index 0de4c10d9..e2ec93a5a 100644
--- a/scripts/kernel-version.sh
+++ b/scripts/kernel-version.sh
@@ -2,7 +2,7 @@ VER=$(grep patch sources | head -n1 | awk '{ print $2 }' | sed s/patch-// | sed
if [ -z "$VER" ] ;
then
- VER=$(grep linux sources | head -1 | awk '{ print $2 }' | sed s/linux-// | sed s/.tar.gz// | tr -d "()")
+ VER=$(grep linux sources | head -1 | awk '{ print $2 }' | sed s/linux-// | sed s/.tar.xz// | tr -d "()")
fi