From: Prarit Bhargava <prarit(a)redhat.com>
redhat/configs/process_configs.sh: Fix issue with old error files
Previous to this changeset, running process_configs.sh would result in an
.mismatches file being left after execution. If someone has done
make dist-configs
\# update to latest
make -j10 dist-configs
the '-j10 dist-configs' would fail because of the existence of the
.mismatches file.
Explicitly remove the .mismatches file if it exists.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
diff --git a/redhat/configs/process_configs.sh b/redhat/configs/process_configs.sh
index blahblah..blahblah 100755
--- a/redhat/configs/process_configs.sh
+++ b/redhat/configs/process_configs.sh
@@ -296,6 +296,9 @@ function process_configs()
# assume we are in $source_tree/configs, need to get to top level
pushd "$(switch_to_toplevel)" &>/dev/null
+ # the old code left this file lying around
+ [ -f .mismatches ] && rm -f .mismatches
+
count=0
for cfg in "$SCRIPT_DIR/${PACKAGE_NAME}${KVERREL}${SUBARCH}"*.config
do
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1635