summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2020-07-17 16:39:43 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2020-07-17 16:39:43 +0200
commit1e058a4487de61d8fc9a84c744b5b2ea891f1b8b (patch)
treeff31f3b581aff73d1e369ec9381ca3664a0d815c /scripts
parent5a7e3ce5bc36ce8ec1120d261aeac00b0cb03f1c (diff)
parent1a35ea6540f24eddac705d04900d9eb371a147ef (diff)
downloadkernel-1e058a4487de61d8fc9a84c744b5b2ea891f1b8b.tar.gz
kernel-1e058a4487de61d8fc9a84c744b5b2ea891f1b8b.tar.xz
kernel-1e058a4487de61d8fc9a84c744b5b2ea891f1b8b.zip
merge origin
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