summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2020-07-17 08:52:42 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2020-07-17 08:52:42 -0500
commit1a35ea6540f24eddac705d04900d9eb371a147ef (patch)
tree332228f8f3855bf74907a13db91c06f0faf85896 /scripts
parentb5970da6c9e6409eb3a02cb535419079c0e4705c (diff)
downloadkernel-1a35ea6540f24eddac705d04900d9eb371a147ef.tar.gz
kernel-1a35ea6540f24eddac705d04900d9eb371a147ef.tar.xz
kernel-1a35ea6540f24eddac705d04900d9eb371a147ef.zip
Linux v5.7.9
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create_headers_tarball.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/create_headers_tarball.sh b/scripts/create_headers_tarball.sh
index 9a59f03a5..f6aa13fe4 100755
--- a/scripts/create_headers_tarball.sh
+++ b/scripts/create_headers_tarball.sh
@@ -30,17 +30,17 @@ BUILDID=`grep "^%define buildid" kernel.spec| cut -d ' ' -f 3`
if [ $RELEASED -eq 0 ]; then
cd kernel-$MAJORVER.$BASE.fc??
NEWBASE=$(($BASE+1))
- KVER=$MAJORVER.$NEWBASE.0-0.rc$RC.git$GITREV.$BASERELEASE$BUILDID
+ KVER=$MAJORVER.$NEWBASE.0-0.rc$RC.git$GITREV
cd linux-$MAJORVER.$NEWBASE.0-0.rc$RC.git$GITREV.$BASERELEASE$BUILDID.fc*/
else
cd kernel-$MAJORVER.$BASE.fc??/linux-$MAJORVER.$BASE.$STABLE-$BASERELEASE$BUILDID.fc*/
- KVER=$MAJORVER.$BASE.$STABLE-$BASERELEASE
+ KVER=$MAJORVER.$BASE.$STABLE
fi
# ARCH_LIST below has the default list of supported architectures
# (the architectures names may be different from rpm, you list here the
# names of arch/<arch> directories in the kernel sources)
-ARCH_LIST="arm arm64 powerpc s390 x86"
+ARCH_LIST="arm arm64 powerpc riscv s390 x86"
headers_dir=$(mktemp -d)
trap 'rm -rf "$headers_dir"' SIGHUP SIGINT SIGTERM EXIT