OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-310-g247e086
Gerrit Code Review
gerrit@openafs.org
Thu, 21 Aug 2025 12:07:35 -0400
The following commit has been merged in the master branch:
commit 247e08675c8e0fd86a02a74252d77578dd93305d
Author: Cheyenne Wills <cwills@sinenomine.net>
Date: Wed Aug 20 12:28:55 2025 -0600
Linux: Remove outdated redhat kernel package types
RHEL 4 and earlier had different kernel packages for different kernel
build configurations, such as: BM (bigmem), EP (enterprise), MP
(multiprocessor), or SP (single processor). RedHat 3 and earlier also
had an rhconfig.h header file that defined the type of that kernel.
All of this was removed in RHEL 5 with a 2.6.18-based kernel. RHEL 4
used a kernel based on Linux 2.6.9, and so is below our minimum
supported Linux version, so we can remove all of this logic dealing with
rhconfig.h and kernel SP/MP/etc variants.
Currently, what "variant" we build is actually slightly inconsistent.
Normally we would look at CONFIG_SMP during 'configure' to see if we're
building an SP or MP kernel, but we override this if
--with-linux-kernel-packaging (forces MPS=SP) or
--enable-redhat-buildsys (forces MPS=Default) are given.
Remove the relevant configure checks, including macros
LINUX_NEED_RHCONFIG, OPENAFS_LINUX_KERNEL_PACKAGING_CHECKS,
and LINUX_WHICH_MODULES. Remove the MPS, RHCONFIG_SP, and RHCONFIG_MP
autoconf substitution vars. Update MakefileProto.LINUX.in to remove the
various kernel package suffixes (SP, MP, etc).
Update the RedHat openafs specs file to remove the hardcoded '-SP'
suffix.
The configure parameter --with-linux-kernel-packaging now simply
determines the name and installation location of the kernel module
(openafs.ko or libafs.ko), and doesn't otherwise affect the build logic.
Change-Id: I45427f9dee3524c95d84720bc4bf50ed9e9f399c
Reviewed-on: https://gerrit.openafs.org/16324
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
src/cf/linux-checks.m4 | 1 -
src/cf/linux-kernel-assorted.m4 | 1 -
src/cf/linux-kernel-packaging.m4 | 8 --
src/cf/linux-test3.m4 | 55 --------------
src/cf/options.m4 | 2 +-
src/libafs/MakefileProto.LINUX.in | 141 +++++------------------------------
src/packaging/RedHat/openafs.spec.in | 16 ++--
7 files changed, 28 insertions(+), 196 deletions(-)
--
OpenAFS Master Repository