summaryrefslogtreecommitdiffstats
path: root/generate_all_configs.sh
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2022-05-26 13:02:00 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2022-05-26 13:02:00 -0500
commit779f386ae33031604ef46bc4d9caa2b4933c2c17 (patch)
tree2ba81b542d4e88952e60300583567ed735935c11 /generate_all_configs.sh
parent815f6416d41e445ace8dd1c212f4e3c1032f7d45 (diff)
downloadkernel-779f386ae33031604ef46bc4d9caa2b4933c2c17.tar.gz
kernel-779f386ae33031604ef46bc4d9caa2b4933c2c17.tar.xz
kernel-779f386ae33031604ef46bc4d9caa2b4933c2c17.zip
kernel-5.18.0-200
* Thu May 26 2022 Justin M. Forbes <jforbes@fedoraproject.org> [5.18.0-0] - Fix versioning for Stable Fedora (Justin M. Forbes) - Reset release to 0 for stable (Justin M. Forbes) - Add fedora-dist-git-test script (Justin M. Forbes) - fedora: Re-enable efifb and vesafb drivers (Javier Martinez Canillas) - drivers/firmware: skip simpledrm if nvidia-drm.modeset=1 is set (Javier Martinez Canillas) - Basic Fedora branch setup (Justin M. Forbes) - redhat/Makefile: Drop quotation marks around string definitions (Prarit Bhargava) - Fedora: arm: Updates for QCom devices (Peter Robinson) - Fedora arm and generic updates for 5.17 (Peter Robinson) - enable COMMON_CLK_SI5341 for Xilinx ZYNQ-MP (Peter Robinson) - Turn on CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG_SECONDARY_KEYRING for Fedora (Justin M. Forbes) - redhat/self-test/data: Update data set (Prarit Bhargava) - Revert variable switch for lasttag (Justin M. Forbes) Resolves: Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to 'generate_all_configs.sh')
-rwxr-xr-xgenerate_all_configs.sh20
1 files changed, 8 insertions, 12 deletions
diff --git a/generate_all_configs.sh b/generate_all_configs.sh
index 9e3d5ecb7..099d9aada 100755
--- a/generate_all_configs.sh
+++ b/generate_all_configs.sh
@@ -1,30 +1,26 @@
#!/bin/sh
# Adjusts the configuration options to build the variants correctly
-#
-# arg1: configuration to go in the primary variant
-# arg2: are we only generating debug configs
+test -n "$RHTEST" && exit 0
-PRIMARY=$1
-DEBUGBUILDSENABLED=$2
-
-if [ -z "$2" ]; then
+DEBUGBUILDSENABLED=$1
+if [ -z "$DEBUGBUILDSENABLED" ]; then
exit 1
fi
-if [ -z "$PRIMARY" ]; then
- PRIMARY=rhel
+if [ -z "$FLAVOR" ]; then
+ FLAVOR=rhel
fi
-if [ "$PRIMARY" = "fedora" ]; then
+if [ "$FLAVOR" = "fedora" ]; then
SECONDARY=rhel
else
SECONDARY=fedora
fi
-for i in kernel-*-"$PRIMARY".config; do
- NEW=kernel-"$VERSION"-$(echo "$i" | cut -d - -f2- | sed s/-"$PRIMARY"//)
+for i in kernel-*-"$FLAVOR".config; do
+ NEW=kernel-"$SPECVERSION"-$(echo "$i" | cut -d - -f2- | sed s/-"$FLAVOR"//)
#echo $NEW
mv "$i" "$NEW"
done