Build debuginfo packages

They might be needed to debug the users' issues and should not take too
much space now.

Just in case, build the full debug info rather than a reduced set of it.
This commit is contained in:
Evgenii Shatokhin 2017-03-12 17:17:50 +03:00
parent 1699b32f67
commit 0fca21edc4

View file

@ -55,7 +55,7 @@
%define build_doc 1 %define build_doc 1
%define build_source 0 %define build_source 0
%define build_devel 1 %define build_devel 1
%define build_debug 0 %define build_debug 1
# Build nrj desktop kernels # Build nrj desktop kernels
%define build_nrj_desktop 1 %define build_nrj_desktop 1
@ -596,7 +596,7 @@ patch -p1 --fuzz=0 < %{SOURCE701}
# Configs # Configs
cp %{SOURCE110} . cp %{SOURCE110} .
%if %build_debug %if %build_debug
sed -i 's/# CONFIG_DEBUG_INFO is not set/CONFIG_DEBUG_INFO=y\nCONFIG_DEBUG_INFO_REDUCED=y/' \ sed -i 's/# CONFIG_DEBUG_INFO is not set/CONFIG_DEBUG_INFO=y\n# CONFIG_DEBUG_INFO_REDUCED is not set/' \
./kernel-%{arch_suffix}.config ./kernel-%{arch_suffix}.config
%endif %endif