From: Prarit Bhargava on
gitlab.com
Merge Request:
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1413
The centos-stream-9 (c9s) [1] repository contains files for both RHEL and
Fedora configs. The Fedora configs will never be updated, and will
quickly be out-of-date with respect to upstream. Having the files in
place causes confusion for engineers and contributors.
This patchset adds an include_rhel and include_fedora variable to the kernel
rpm specfile, and adds a INCLUDE_FEDORA_FILES and INCLUDE_RHEL_FILES as
Makefile variables. For RHEL and centos-stream, the fedora files can be
removed, redhat/configs/flavors updated, and INCLUDE_FEDORA_FILES can be set
to 0 with a single extra patch which requires minimal effort.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
---
redhat/Makefile | 6 +-
redhat/Makefile.variables | 7 +
redhat/genspec.sh | 4 +
redhat/fedora_files/kernel-local => redhat/kernel-local | 0
redhat/kernel.spec.template | 142 ++++++++-------
5 files changed, 90 insertions(+), 69 deletions(-)