summaryrefslogtreecommitdiffstats
path: root/scripts/create_headers_tarball.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/create_headers_tarball.sh')
-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