From: Jan Stancek <jstan...@redhat.com>

redhat: make ENABLE_WERROR enable also KVM_WERROR

KVM_WERROR gets enabled if WERROR is enabled, so we need to
update it as well to satisfy configs check in dist-configs.

Signed-off-by: Jan Stancek <jstan...@redhat.com>

diff --git a/redhat/configs/build_configs.sh b/redhat/configs/build_configs.sh
index blahblah..blahblah 100755
--- a/redhat/configs/build_configs.sh
+++ b/redhat/configs/build_configs.sh
@@ -115,6 +115,7 @@ function merge_configs()
 
        if [ -n "$ENABLE_WERROR" ]; then
                sed -i "s|# CONFIG_WERROR is not set|CONFIG_WERROR=y|g" "$name"
+               sed -i "s|# CONFIG_KVM_WERROR is not set|CONFIG_KVM_WERROR=y|g" 
"$name"
        fi
 
        rm -f config-merged."$count" config-merging."$count"

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3772

-- 
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
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/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to