summaryrefslogtreecommitdiffstats
path: root/generate_all_configs.sh
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2022-06-14 12:37:31 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2022-06-14 12:37:31 -0500
commit10c23d228da55cf54db85d8194412d4af097b1f4 (patch)
tree26aa60a5e22386dafb94d1d4753138cca86b459b /generate_all_configs.sh
parent3788a2a13227a90c1dd9d88634367722d76973bd (diff)
downloadkernel-10c23d228da55cf54db85d8194412d4af097b1f4.tar.gz
kernel-10c23d228da55cf54db85d8194412d4af097b1f4.tar.xz
kernel-10c23d228da55cf54db85d8194412d4af097b1f4.zip
kernel-5.18.4-200
* Tue Jun 14 2022 Justin M. Forbes <jforbes@fedoraproject.org> [5.18.4-0] - Linux v5.18.4 rebase - Enable CKI on os-build MRs only (Don Zickus) - drm/amd/display: Cap OLED brightness per max frame-average luminance (Roman Li) [2095858] - redhat/configs/fedora: Enable a set of modules used on some x86 tablets (Hans de Goede) - redhat/configs/fedora: enable missing modules modules for Intel IPU3 camera support (Hans de Goede) - redhat/configs: Make INTEL_SOC_PMIC_CHTDC_TI builtin (Hans de Goede) - redhat/configs: restore/fix core INTEL_LPSS configs to be builtin again (Hans de Goede) Resolves: rhbz#2095858 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