]> git.proxmox.com Git - mirror_zfs.git/commit
Support debug and debug-devel sub packages
authorPrakash Surya <surya1@llnl.gov>
Mon, 7 May 2012 18:26:05 +0000 (11:26 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 2 Jul 2012 18:18:26 +0000 (11:18 -0700)
commit92c2f755ee063f3a010b47577c3479ad42f6e368
treea3f32c2ac58beaffec8567e5a74add7d92c50df5
parent44e406d712bedc893e053ab3a7db8ff8a8be0790
Support debug and debug-devel sub packages

This commit adds support for building debug and debug-devel sub packages
of the spl-modules main package. This is to allow building packages
which are built against a debug kernel. By default, only packages are
built against a regular non-debug kernel. This can be toggled by passing
the '--with kernel-debug' parameter to rpmbuild.

Examples:

    # To build packages against only the non-debug kernel
    $ rpmbuild --rebuild --with kernel --without kernel-debug $SRPM

    # To build packages against only the debug kernel
    $ rpmbuild --rebuild --without kernel --with kernel-debug $SRPM

    # To build packages against debug and non-debug kernel
    $ rpmbuild --rebuild --with kernel --with kernel-debug $SRPM

Note: Only the RHEL 5/6, CHAOS 5, and Fedora distributions are supported
      for building the debug and debug-devel packages.

Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #115
spl-modules.spec.in