From: Prarit Bhargava <[email protected]>

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 <[email protected]>

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,11 @@ function process_configs()
        # assume we are in $source_tree/configs, need to get to top level
        pushd "$(switch_to_toplevel)" &>/dev/null
 
+       # The next line is throwaway code for transition to parallel
+       # processing.  Leaving this line in place is harmless, but it can be
+       # removed the next time anyone updates this function.
+       [ -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
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to