From 60b0da51cbdf0007eed4244b7f2279c53fa1a44f 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 796ecee..a908e2c 100644 --- a/kernel.spec +++ b/kernel.spec @@ -34,6 +34,10 @@ %define install_vdso 1 %define debuginfodir /usr/lib/debug +# 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}