From 29ae9baba3f3afaa0b1f7323b65e8c1f7171b29b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 23 Apr 2014 12:49:31 +0200 Subject: [PATCH] rpm: do not build empty debuginfo package The kernel is compiled without debug symbols, so kernel-debuginfo package was useless. If one want debuginfo package, he/she need to reenable it *and* compile kernel with debug symbols (which need a lot of disk space). --- kernel.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel.spec b/kernel.spec index ab03e09..8c798c1 100644 --- a/kernel.spec +++ b/kernel.spec @@ -33,6 +33,10 @@ %define install_vdso 1 +# If you want to build debuginfo package, enable also CONFIG_DEBUG_INFO in %%setup section +# Otherwise debuginfo build is disabled by default to save disk space (it needs 2-3GB build time) +%global debug_package %{nil} + Name: kernel Summary: The Xen Kernel Version: %{version}