From: Prarit Bhargava <pra...@redhat.com>

redhat/kernel.spec.template: Suppress 'extracting debug info' noise in build log

debugedit's find_debuginfo.sh script has been modified with a '-q' flag to
suppress the 'extracting debug info' messages in RPM logs.  On a fedora
kernel build these messages account for 61% of the log [1]

Fedora's debugedit has been updated with the -q change in all supported
releases [2] so suppress the messages by adding -q.

[1] 
https://kojipkgs.fedoraproject.org//packages/kernel/6.2.0/0.rc5.20230123git2475bf0250de.38.fc38/data/logs/x86_64/build.log
[2] https://src.fedoraproject.org/rpms/debugedit

Signed-off-by: Prarit Bhargava <pra...@redhat.com>

diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100644
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -675,7 +675,12 @@ BuildConflicts: dwarves < 1.13
 %undefine _unique_debug_srcs
 %undefine _debugsource_packages
 %undefine _debuginfo_subpackages
+
+%if 0%{?fedora}
+%global _find_debuginfo_opts -r -q
+%else
 %global _find_debuginfo_opts -r
+%endif
 %global _missing_build_ids_terminate_build 1
 %global _no_recompute_build_ids 1
 %endif

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2357
_______________________________________________
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