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).
This commit is contained in:
Marek Marczykowski-Górecki 2014-04-23 12:49:31 +02:00
parent 8c7c726111
commit 60b0da51cb

View File

@ -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}