From 0fca21edc4be4f7a22ee9437caa5a46c5f602e9d Mon Sep 17 00:00:00 2001 From: Evgenii Shatokhin Date: Sun, 12 Mar 2017 17:17:50 +0300 Subject: [PATCH] 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. --- kernel.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel.spec b/kernel.spec index 32dba92..9d72039 100644 --- a/kernel.spec +++ b/kernel.spec @@ -55,7 +55,7 @@ %define build_doc 1 %define build_source 0 %define build_devel 1 -%define build_debug 0 +%define build_debug 1 # Build nrj desktop kernels %define build_nrj_desktop 1 @@ -596,7 +596,7 @@ patch -p1 --fuzz=0 < %{SOURCE701} # Configs cp %{SOURCE110} . %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 %endif