OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-694-g3959e55

Gerrit Code Review gerrit@openafs.org
Thu, 29 Oct 2026 09:05:44 -0400


The following commit has been merged in the master branch:
commit 3959e55b3e7dc37f07fd21cd51435789b645198b
Author: Michael Meffie <mmeffie@sinenomine.net>
Date:   Wed Oct 28 16:53:32 2026 -0400

    RedHat: Add kernel_headers macro
    
    The path to the kernel headers used to build the kernel module is
    hardcoded in the spec file as /usr/src/kernels/<kernel_version>, which
    is where the kernel-devel package installs the kernel headers on RHEL
    based distributions.
    
    This path is specified in the configure --with-linux-kernel-headers.
    This configure option also specifies the target kernel version, which
    may be different than the running kernel version. (When not specified,
    configure will search for kernel headers for the current running kernel
    version.)
    
    - Add the kernel_headers macro to allow builders to specify an alternate
      path to the kernel headers. This can be set as an rpmbuild --define,
      or in an rpm macro file.
    
    - Remove the ksrc shell variable; it has been replaced with the
      new kernel_headers macro.
    
    - Add the kernel_headers description to the usage text.
    
    Change-Id: I1cc3660ea74a93752a8adadab38f1ad346a7ee4e
    Reviewed-on: https://gerrit.openafs.org/17117
    Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>

 src/packaging/RedHat/openafs.spec.in | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

-- 
OpenAFS Master Repository