summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2017-06-07 14:34:29 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2017-06-07 14:34:29 +0200
commit034c6d50c570581656af8027e75ce59c026c5141 (patch)
tree46869ac26ec4e086aaf7f7f8a98f4c92e52d16e8 /scripts
parente71cb878d16b9ee62e64068552a832ddb55fd4e5 (diff)
parentdaca4a88190d66ce2cce7d271930675d74e3881e (diff)
downloadkernel-4.12.0-0.rc4.git1.1.vanilla.knurd.1.fc25.tar.gz
kernel-4.12.0-0.rc4.git1.1.vanilla.knurd.1.fc25.tar.xz
kernel-4.12.0-0.rc4.git1.1.vanilla.knurd.1.fc25.zip
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rawhide-rc.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/rawhide-rc.sh b/scripts/rawhide-rc.sh
index 5982403e7..40f32a8fe 100755
--- a/scripts/rawhide-rc.sh
+++ b/scripts/rawhide-rc.sh
@@ -19,6 +19,7 @@ fedpkg commit -c
RC=`grep "%global rcrev" kernel.spec| cut -d ' ' -f 3`
RC=$(($RC+1))
BASE=`grep "%define base_sublevel" kernel.spec| cut -d ' ' -f 3`
+OLDBASE=$BASE
# See comment in kernel.spec about the base numbering
BASE=$(($BASE+1))
@@ -28,10 +29,11 @@ mv sources.tmp sources
# Grab the tarball
if [ ! -f patch-4.$BASE-rc$RC.xz ]; then
- wget https://cdn.kernel.org/pub/linux/kernel/v4.x/testing/patch-4.$BASE-rc$RC.xz
+ wget -O patch-4.$BASE-rc$RC https://git.kernel.org/torvalds/p/v4.$BASE-rc$RC/v4.$OLDBASE
if [ ! $? -eq 0 ]; then
exit 1
fi
+ xz -9 patch-4.$BASE-rc$RC
fedpkg upload patch-4.$BASE-rc$RC.xz
fi