Justin Vreeland 794355
# All Global changes to build and install go here.
Justin Vreeland 794355
# Per the below section about __spec_install_pre, any rpm
Justin Vreeland 794355
# environment changes that affect %%install need to go
Justin Vreeland 794355
# here before the %%install macro is pre-built.
Justin Vreeland 794355
Justin Vreeland 794355
# Disable LTO in userspace packages.
Justin Vreeland 794355
%global _lto_cflags %{nil}
Justin Vreeland 794355
Justin Vreeland 794355
# Option to enable compiling with clang instead of gcc.
Justin Vreeland 794355
%bcond_with toolchain_clang
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with toolchain_clang}
Justin Vreeland 794355
%global toolchain clang
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# Compile the kernel with LTO (only supported when building with clang).
Justin Vreeland 794355
%bcond_with clang_lto
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with clang_lto} && %{without toolchain_clang}
Justin Vreeland 794355
{error:clang_lto requires --with toolchain_clang}
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# Cross compile on copr for arm
Justin Vreeland 794355
# See https://bugzilla.redhat.com/1879599
Justin Vreeland 794355
%if 0%{?_with_cross_arm:1}
Justin Vreeland 794355
%global _target_cpu armv7hl
Justin Vreeland 794355
%global _arch arm
Justin Vreeland 794355
%global _build_arch arm
Justin Vreeland 794355
%global _with_cross    1
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# The kernel's %%install section is special
Justin Vreeland 794355
# Normally the %%install section starts by cleaning up the BUILD_ROOT
Justin Vreeland 794355
# like so:
Justin Vreeland 794355
#
Justin Vreeland 794355
# %%__spec_install_pre %%{___build_pre}\
Justin Vreeland 794355
#     [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "${RPM_BUILD_ROOT}"\
Justin Vreeland 794355
#     mkdir -p `dirname "$RPM_BUILD_ROOT"`\
Justin Vreeland 794355
#     mkdir "$RPM_BUILD_ROOT"\
Justin Vreeland 794355
# %%{nil}
Justin Vreeland 794355
#
Justin Vreeland 794355
# But because of kernel variants, the %%build section, specifically
Justin Vreeland 794355
# BuildKernel(), moves each variant to its final destination as the
Justin Vreeland 794355
# variant is built.  This violates the expectation of the %%install
Justin Vreeland 794355
# section.  As a result we snapshot the current env variables and
Justin Vreeland 794355
# purposely leave out the removal section.  All global wide changes
Justin Vreeland 794355
# should be added above this line otherwise the %%install section
Justin Vreeland 794355
# will not see them.
Justin Vreeland 794355
%global __spec_install_pre %{___build_pre}
Justin Vreeland 794355
Justin Vreeland 794355
# At the time of this writing (2019-03), RHEL8 packages use w2.xzdio
Justin Vreeland 794355
# compression for rpms (xz, level 2).
Justin Vreeland 794355
# Kernel has several large (hundreds of mbytes) rpms, they take ~5 mins
Justin Vreeland 794355
# to compress by single-threaded xz. Switch to threaded compression,
Justin Vreeland 794355
# and from level 2 to 3 to keep compressed sizes close to "w2" results.
Justin Vreeland 794355
#
Justin Vreeland 794355
# NB: if default compression in /usr/lib/rpm/redhat/macros ever changes,
Justin Vreeland 794355
# this one might need tweaking (e.g. if default changes to w3.xzdio,
Justin Vreeland 794355
# change below to w4T.xzdio):
Justin Vreeland 794355
#
Justin Vreeland 794355
# This is disabled on i686 as it triggers oom errors
Justin Vreeland 794355
Justin Vreeland 794355
%ifnarch i686
Justin Vreeland 794355
%define _binary_payload w3T.xzdio
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
Summary: The Linux kernel
Justin Vreeland 794355
Justin Vreeland 794355
# Set released_kernel to 1 when the upstream source tarball contains a
Justin Vreeland 794355
#  kernel release. (This includes prepatch or "rc" releases.)
Justin Vreeland 794355
# Set released_kernel to 0 when the upstream source tarball contains an
Justin Vreeland 794355
#  unreleased kernel development snapshot.
Justin Vreeland 794355
%global released_kernel 0
Justin Vreeland 794355
Justin Vreeland 794355
# Set debugbuildsenabled to 1 to build separate base and debug kernels
Justin Vreeland 794355
#  (on supported architectures). The kernel-debug-* subpackages will
Justin Vreeland 794355
#  contain the debug kernel.
Justin Vreeland 794355
# Set debugbuildsenabled to 0 to not build a separate debug kernel, but
Justin Vreeland 794355
#  to build the base kernel using the debug configuration. (Specifying
Justin Vreeland 794355
#  the --with-release option overrides this setting.)
Justin Vreeland 794355
%define debugbuildsenabled 1
Justin Vreeland 794355
Justin Vreeland 794355
%global distro_build 7
Justin Vreeland 794355
Justin Vreeland 794355
%if 0%{?fedora}
Justin Vreeland 794355
%define secure_boot_arch x86_64
Justin Vreeland 794355
%else
Justin Vreeland 794355
%define secure_boot_arch x86_64 aarch64 s390x ppc64le
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# Signing for secure boot authentication
Justin Vreeland 794355
%ifarch %{secure_boot_arch}
Justin Vreeland 794355
%global signkernel 1
Justin Vreeland 794355
%else
Justin Vreeland 794355
%global signkernel 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# Sign modules on all arches
Justin Vreeland 794355
%global signmodules 1
Justin Vreeland 794355
Justin Vreeland 794355
# Compress modules only for architectures that build modules
Justin Vreeland 794355
%ifarch noarch
Justin Vreeland 794355
%global zipmodules 0
Justin Vreeland 794355
%else
Justin Vreeland 794355
%global zipmodules 1
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{zipmodules}
Justin Vreeland 794355
%global zipsed -e 's/\.ko$/\.ko.xz/'
Justin Vreeland 794355
# for parallel xz processes, replace with 1 to go back to single process
Justin Vreeland 794355
%global zcpu `nproc --all`
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# define buildid .local
Justin Vreeland 794355
Justin Vreeland 794355
Justin Vreeland 794355
%if 0%{?fedora}
Justin Vreeland 794355
%define primary_target fedora
Justin Vreeland 794355
%else
Justin Vreeland 794355
%if 0%{?centos_hs}
Justin Vreeland 794355
%define primary_target centos-sig-hyperscale
Justin Vreeland 794355
%else
Justin Vreeland 794355
%define primary_target rhel
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# The kernel tarball/base version
Justin Vreeland 794355
%define kversion 5.14
Justin Vreeland 794355
Justin Vreeland 794355
%define rpmversion 5.14.0
Justin Vreeland 794355
%define pkgrelease 7.el9
Justin Vreeland 794355
Justin Vreeland 794355
# This is needed to do merge window version magic
Justin Vreeland 794355
%define patchlevel 14
Justin Vreeland 794355
Justin Vreeland 794355
# allow pkg_release to have configurable %%{?dist} tag
Justin Vreeland 794355
%define specrelease 7%{?buildid}%{?dist}
Justin Vreeland 794355
Justin Vreeland 794355
%define pkg_release %{specrelease}
Justin Vreeland 794355
Justin Vreeland 794355
# libexec dir is not used by the linker, so the shared object there
Justin Vreeland 794355
# should not be exported to RPM provides
Justin Vreeland 794355
%global __provides_exclude_from ^%{_libexecdir}/kselftests
Justin Vreeland 794355
Justin Vreeland 794355
# The following build options are enabled by default, but may become disabled
Justin Vreeland 794355
# by later architecture-specific checks. These can also be disabled by using
Justin Vreeland 794355
# --without <opt> in the rpmbuild command, or by forcing these values to 0.
Justin Vreeland 794355
#
Justin Vreeland 794355
# standard kernel
Justin Vreeland 794355
%define with_up        %{?_without_up:        0} %{?!_without_up:        1}
Justin Vreeland 794355
# kernel PAE (only valid for ARM (lpae))
Justin Vreeland 794355
%define with_pae       %{?_without_pae:       0} %{?!_without_pae:       1}
Justin Vreeland 794355
# kernel-debug
Justin Vreeland 794355
%define with_debug     %{?_without_debug:     0} %{?!_without_debug:     1}
Justin Vreeland 794355
# kernel-zfcpdump (s390 specific kernel for zfcpdump)
Justin Vreeland 794355
%define with_zfcpdump  %{?_without_zfcpdump:  0} %{?!_without_zfcpdump:  1}
Justin Vreeland 794355
# kernel-doc
Justin Vreeland 794355
%define with_doc       %{?_without_doc:       0} %{?!_without_doc:       1}
Justin Vreeland 794355
# kernel-headers
Justin Vreeland 794355
%define with_headers   %{?_without_headers:   0} %{?!_without_headers:   1}
Justin Vreeland 794355
%define with_cross_headers   %{?_without_cross_headers:   0} %{?!_without_cross_headers:   1}
Justin Vreeland 794355
# perf
Justin Vreeland 794355
%define with_perf      %{?_without_perf:      0} %{?!_without_perf:      1}
Justin Vreeland 794355
# tools
Justin Vreeland 794355
%define with_tools     %{?_without_tools:     0} %{?!_without_tools:     1}
Justin Vreeland 794355
# bpf tool
Justin Vreeland 794355
%define with_bpftool   %{?_without_bpftool:   0} %{?!_without_bpftool:   1}
Justin Vreeland 794355
# kernel-debuginfo
Justin Vreeland 794355
%define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 1}
Justin Vreeland 794355
# kernel-abi-stablelists
Justin Vreeland 794355
%define with_kernel_abi_stablelists %{?_without_kernel_abi_stablelists: 0} %{?!_without_kernel_abi_stablelists: 1}
Justin Vreeland 794355
# internal samples and selftests
Justin Vreeland 794355
%define with_selftests %{?_without_selftests: 0} %{?!_without_selftests: 1}
Justin Vreeland 794355
#
Justin Vreeland 794355
# Additional options for user-friendly one-off kernel building:
Justin Vreeland 794355
#
Justin Vreeland 794355
# Only build the base kernel (--with baseonly):
Justin Vreeland 794355
%define with_baseonly  %{?_with_baseonly:     1} %{?!_with_baseonly:     0}
Justin Vreeland 794355
# Only build the pae kernel (--with paeonly):
Justin Vreeland 794355
%define with_paeonly   %{?_with_paeonly:      1} %{?!_with_paeonly:      0}
Justin Vreeland 794355
# Only build the debug kernel (--with dbgonly):
Justin Vreeland 794355
%define with_dbgonly   %{?_with_dbgonly:      1} %{?!_with_dbgonly:      0}
Justin Vreeland 794355
# Control whether we perform a compat. check against published ABI.
Justin Vreeland 794355
%define with_kabichk   %{?_without_kabichk:   0} %{?!_without_kabichk:   1}
Justin Vreeland 794355
# Temporarily disable kabi checks until RC.
Justin Vreeland 794355
%define with_kabichk 0
Justin Vreeland 794355
# Control whether we perform a compat. check against DUP ABI.
Justin Vreeland 794355
%define with_kabidupchk %{?_with_kabidupchk:  1} %{?!_with_kabidupchk:   0}
Justin Vreeland 794355
#
Justin Vreeland 794355
# Control whether to run an extensive DWARF based kABI check.
Justin Vreeland 794355
# Note that this option needs to have baseline setup in SOURCE300.
Justin Vreeland 794355
%define with_kabidwchk %{?_without_kabidwchk: 0} %{?!_without_kabidwchk: 1}
Justin Vreeland 794355
%define with_kabidw_base %{?_with_kabidw_base: 1} %{?!_with_kabidw_base: 0}
Justin Vreeland 794355
#
Justin Vreeland 794355
# Control whether to install the vdso directories.
Justin Vreeland 794355
%define with_vdso_install %{?_without_vdso_install: 0} %{?!_without_vdso_install: 1}
Justin Vreeland 794355
#
Justin Vreeland 794355
# should we do C=1 builds with sparse
Justin Vreeland 794355
%define with_sparse    %{?_with_sparse:       1} %{?!_with_sparse:       0}
Justin Vreeland 794355
#
Justin Vreeland 794355
# Cross compile requested?
Justin Vreeland 794355
%define with_cross    %{?_with_cross:         1} %{?!_with_cross:        0}
Justin Vreeland 794355
#
Justin Vreeland 794355
# build a release kernel on rawhide
Justin Vreeland 794355
%define with_release   %{?_with_release:      1} %{?!_with_release:      0}
Justin Vreeland 794355
Justin Vreeland 794355
# verbose build, i.e. no silent rules and V=1
Justin Vreeland 794355
%define with_verbose %{?_with_verbose:        1} %{?!_with_verbose:      0}
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# check for mismatched config options
Justin Vreeland 794355
%define with_configchecks %{?_without_configchecks:        0} %{?!_without_configchecks:        1}
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# gcov support
Justin Vreeland 794355
%define with_gcov %{?_with_gcov:1}%{?!_with_gcov:0}
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# ipa_clone support
Justin Vreeland 794355
%define with_ipaclones %{?_without_ipaclones: 0} %{?!_without_ipaclones: 1}
Justin Vreeland 794355
Justin Vreeland 794355
# Want to build a vanilla kernel build without any non-upstream patches?
Justin Vreeland 794355
%define with_vanilla %{?_with_vanilla: 1} %{?!_with_vanilla: 0}
Justin Vreeland 794355
Justin Vreeland 794355
%if 0%{?fedora}
Justin Vreeland 794355
# Kernel headers are being split out into a separate package
Justin Vreeland 794355
%define with_headers 0
Justin Vreeland 794355
%define with_cross_headers 0
Justin Vreeland 794355
# no ipa_clone for now
Justin Vreeland 794355
%define with_ipaclones 0
Justin Vreeland 794355
# no stablelist
Justin Vreeland 794355
%define with_kernel_abi_stablelists 0
Justin Vreeland 794355
# Fedora builds these separately
Justin Vreeland 794355
%define with_perf 0
Justin Vreeland 794355
%define with_tools 0
Justin Vreeland 794355
%define with_bpftool 0
Justin Vreeland 794355
# selftests turns on bpftool
Justin Vreeland 794355
%define with_selftests 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_verbose}
Justin Vreeland 794355
%define make_opts V=1
Justin Vreeland 794355
%else
Justin Vreeland 794355
%define make_opts -s
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with toolchain_clang}
Justin Vreeland 794355
%global clang_make_opts HOSTCC=clang CC=clang
Justin Vreeland 794355
%if %{with clang_lto}
Justin Vreeland 794355
%global clang_make_opts %{clang_make_opts} LD=ld.lld HOSTLD=ld.lld AR=llvm-ar NM=llvm-nm HOSTAR=llvm-ar HOSTNM=llvm-nm LLVM_IAS=1
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%global make_opts %{make_opts} %{clang_make_opts}
Justin Vreeland 794355
# clang does not support the -fdump-ipa-clones option
Justin Vreeland 794355
%global with_ipaclones 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# turn off debug kernel and kabichk for gcov builds
Justin Vreeland 794355
%if %{with_gcov}
Justin Vreeland 794355
%define with_debug 0
Justin Vreeland 794355
%define with_kabichk 0
Justin Vreeland 794355
%define with_kabidupchk 0
Justin Vreeland 794355
%define with_kabidwchk 0
Justin Vreeland 794355
%define with_kabidw_base 0
Justin Vreeland 794355
%define with_kernel_abi_stablelists 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# turn off kABI DWARF-based check if we're generating the base dataset
Justin Vreeland 794355
%if %{with_kabidw_base}
Justin Vreeland 794355
%define with_kabidwchk 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# kpatch_kcflags are extra compiler flags applied to base kernel
Justin Vreeland 794355
# -fdump-ipa-clones is enabled only for base kernels on selected arches
Justin Vreeland 794355
%if %{with_ipaclones}
Justin Vreeland 794355
%ifarch x86_64 ppc64le
Justin Vreeland 794355
%define kpatch_kcflags -fdump-ipa-clones
Justin Vreeland 794355
%else
Justin Vreeland 794355
%define with_ipaclones 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%define make_target bzImage
Justin Vreeland 794355
%define image_install_path boot
Justin Vreeland 794355
Justin Vreeland 794355
%define KVERREL %{version}-%{release}.%{_target_cpu}
Justin Vreeland 794355
%define KVERREL_RE %(echo %KVERREL | sed 's/+/[+]/g')
Justin Vreeland 794355
%define hdrarch %_target_cpu
Justin Vreeland 794355
%define asmarch %_target_cpu
Justin Vreeland 794355
Justin Vreeland 794355
%if 0%{!?nopatches:1}
Justin Vreeland 794355
%define nopatches 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_vanilla}
Justin Vreeland 794355
%define nopatches 1
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_release}
Justin Vreeland 794355
%define debugbuildsenabled 1
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if !%{with_debuginfo}
Justin Vreeland 794355
%define _enable_debug_packages 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%define debuginfodir /usr/lib/debug
Justin Vreeland 794355
# Needed because we override almost everything involving build-ids
Justin Vreeland 794355
# and debuginfo generation. Currently we rely on the old alldebug setting.
Justin Vreeland 794355
%global _build_id_links alldebug
Justin Vreeland 794355
Justin Vreeland 794355
# kernel PAE is only built on ARMv7
Justin Vreeland 794355
%ifnarch armv7hl
Justin Vreeland 794355
%define with_pae 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# if requested, only build base kernel
Justin Vreeland 794355
%if %{with_baseonly}
Justin Vreeland 794355
%define with_pae 0
Justin Vreeland 794355
%define with_debug 0
Justin Vreeland 794355
%define with_vdso_install 0
Justin Vreeland 794355
%define with_perf 0
Justin Vreeland 794355
%define with_tools 0
Justin Vreeland 794355
%define with_bpftool 0
Justin Vreeland 794355
%define with_kernel_abi_stablelists 0
Justin Vreeland 794355
%define with_selftests 0
Justin Vreeland 794355
%define with_cross 0
Justin Vreeland 794355
%define with_cross_headers 0
Justin Vreeland 794355
%define with_ipaclones 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# if requested, only build pae kernel
Justin Vreeland 794355
%if %{with_paeonly}
Justin Vreeland 794355
%define with_up 0
Justin Vreeland 794355
%define with_debug 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# if requested, only build debug kernel
Justin Vreeland 794355
%if %{with_dbgonly}
Justin Vreeland 794355
%define with_up 0
Justin Vreeland 794355
%define with_vdso_install 0
Justin Vreeland 794355
%define with_perf 0
Justin Vreeland 794355
%define with_tools 0
Justin Vreeland 794355
%define with_bpftool 0
Justin Vreeland 794355
%define with_kernel_abi_stablelists 0
Justin Vreeland 794355
%define with_selftests 0
Justin Vreeland 794355
%define with_cross 0
Justin Vreeland 794355
%define with_cross_headers 0
Justin Vreeland 794355
%define with_ipaclones 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# turn off kABI DUP check and DWARF-based check if kABI check is disabled
Justin Vreeland 794355
%if !%{with_kabichk}
Justin Vreeland 794355
%define with_kabidupchk 0
Justin Vreeland 794355
%define with_kabidwchk 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_vdso_install}
Justin Vreeland 794355
%define use_vdso 1
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# selftests require bpftool to be built
Justin Vreeland 794355
%if %{with_selftests}
Justin Vreeland 794355
%define with_bpftool 1
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%ifnarch noarch
Justin Vreeland 794355
%define with_kernel_abi_stablelists 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# Overrides for generic default options
Justin Vreeland 794355
Justin Vreeland 794355
# only package docs noarch
Justin Vreeland 794355
%ifnarch noarch
Justin Vreeland 794355
%define with_doc 0
Justin Vreeland 794355
%define doc_build_fail true
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if 0%{?fedora}
Justin Vreeland 794355
# don't do debug builds on anything but i686 and x86_64
Justin Vreeland 794355
%ifnarch i686 x86_64
Justin Vreeland 794355
%define with_debug 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# don't build noarch kernels or headers (duh)
Justin Vreeland 794355
%ifarch noarch
Justin Vreeland 794355
%define with_up 0
Justin Vreeland 794355
%define with_headers 0
Justin Vreeland 794355
%define with_cross_headers 0
Justin Vreeland 794355
%define with_tools 0
Justin Vreeland 794355
%define with_perf 0
Justin Vreeland 794355
%define with_bpftool 0
Justin Vreeland 794355
%define with_selftests 0
Justin Vreeland 794355
%define with_debug 0
Justin Vreeland 794355
%define all_arch_configs kernel-%{version}-*.config
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# sparse blows up on ppc
Justin Vreeland 794355
%ifnarch ppc64le
Justin Vreeland 794355
%define with_sparse 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# zfcpdump mechanism is s390 only
Justin Vreeland 794355
%ifnarch s390x
Justin Vreeland 794355
%define with_zfcpdump 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if 0%{?fedora}
Justin Vreeland 794355
# This is not for Fedora
Justin Vreeland 794355
%define with_zfcpdump 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# Per-arch tweaks
Justin Vreeland 794355
Justin Vreeland 794355
%ifarch i686
Justin Vreeland 794355
%define asmarch x86
Justin Vreeland 794355
%define hdrarch i386
Justin Vreeland 794355
%define all_arch_configs kernel-%{version}-i?86*.config
Justin Vreeland 794355
%define kernel_image arch/x86/boot/bzImage
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%ifarch x86_64
Justin Vreeland 794355
%define asmarch x86
Justin Vreeland 794355
%define all_arch_configs kernel-%{version}-x86_64*.config
Justin Vreeland 794355
%define kernel_image arch/x86/boot/bzImage
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%ifarch ppc64le
Justin Vreeland 794355
%define asmarch powerpc
Justin Vreeland 794355
%define hdrarch powerpc
Justin Vreeland 794355
%define make_target vmlinux
Justin Vreeland 794355
%define kernel_image vmlinux
Justin Vreeland 794355
%define kernel_image_elf 1
Justin Vreeland 794355
%define use_vdso 0
Justin Vreeland 794355
%define all_arch_configs kernel-%{version}-ppc64le*.config
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%ifarch s390x
Justin Vreeland 794355
%define asmarch s390
Justin Vreeland 794355
%define hdrarch s390
Justin Vreeland 794355
%define all_arch_configs kernel-%{version}-s390x.config
Justin Vreeland 794355
%define kernel_image arch/s390/boot/bzImage
Justin Vreeland 794355
%define vmlinux_decompressor arch/s390/boot/compressed/vmlinux
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%ifarch %{arm}
Justin Vreeland 794355
%define all_arch_configs kernel-%{version}-arm*.config
Justin Vreeland 794355
%define skip_nonpae_vdso 1
Justin Vreeland 794355
%define asmarch arm
Justin Vreeland 794355
%define hdrarch arm
Justin Vreeland 794355
%define make_target bzImage
Justin Vreeland 794355
%define kernel_image arch/arm/boot/zImage
Justin Vreeland 794355
# http://lists.infradead.org/pipermail/linux-arm-kernel/2012-March/091404.html
Justin Vreeland 794355
%define kernel_mflags KALLSYMS_EXTRA_PASS=1
Justin Vreeland 794355
# we only build headers/perf/tools on the base arm arches
Justin Vreeland 794355
# just like we used to only build them on i386 for x86
Justin Vreeland 794355
%ifnarch armv7hl
Justin Vreeland 794355
%define with_headers 0
Justin Vreeland 794355
%define with_cross_headers 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
# These currently don't compile on armv7
Justin Vreeland 794355
%define with_selftests 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%ifarch aarch64
Justin Vreeland 794355
%define all_arch_configs kernel-%{version}-aarch64*.config
Justin Vreeland 794355
%define asmarch arm64
Justin Vreeland 794355
%define hdrarch arm64
Justin Vreeland 794355
%define make_target Image.gz
Justin Vreeland 794355
%define kernel_image arch/arm64/boot/Image.gz
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# Should make listnewconfig fail if there's config options
Justin Vreeland 794355
# printed out?
Justin Vreeland 794355
%if %{nopatches}
Justin Vreeland 794355
%define with_configchecks 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# To temporarily exclude an architecture from being built, add it to
Justin Vreeland 794355
# %%nobuildarches. Do _NOT_ use the ExclusiveArch: line, because if we
Justin Vreeland 794355
# don't build kernel-headers then the new build system will no longer let
Justin Vreeland 794355
# us use the previous build of that package -- it'll just be completely AWOL.
Justin Vreeland 794355
# Which is a BadThing(tm).
Justin Vreeland 794355
Justin Vreeland 794355
# We only build kernel-headers on the following...
Justin Vreeland 794355
%if 0%{?fedora}
Justin Vreeland 794355
%define nobuildarches i386
Justin Vreeland 794355
%else
Justin Vreeland 794355
%define nobuildarches i386 i686 %{arm}
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%ifarch %nobuildarches
Justin Vreeland 794355
# disable BuildKernel commands
Justin Vreeland 794355
%define with_up 0
Justin Vreeland 794355
%define with_debug 0
Justin Vreeland 794355
%define with_pae 0
Justin Vreeland 794355
%define with_zfcpdump 0
Justin Vreeland 794355
Justin Vreeland 794355
%define with_debuginfo 0
Justin Vreeland 794355
%define with_perf 0
Justin Vreeland 794355
%define with_tools 0
Justin Vreeland 794355
%define with_bpftool 0
Justin Vreeland 794355
%define with_selftests 0
Justin Vreeland 794355
%define _enable_debug_packages 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# Architectures we build tools/cpupower on
Justin Vreeland 794355
%if 0%{?fedora}
Justin Vreeland 794355
%define cpupowerarchs %{ix86} x86_64 ppc64le %{arm} aarch64
Justin Vreeland 794355
%else
Justin Vreeland 794355
%define cpupowerarchs i686 x86_64 ppc64le aarch64
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if 0%{?use_vdso}
Justin Vreeland 794355
Justin Vreeland 794355
%if 0%{?skip_nonpae_vdso}
Justin Vreeland 794355
%define _use_vdso 0
Justin Vreeland 794355
%else
Justin Vreeland 794355
%define _use_vdso 1
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%else
Justin Vreeland 794355
%define _use_vdso 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# If build of debug packages is disabled, we need to know if we want to create
Justin Vreeland 794355
# meta debug packages or not, after we define with_debug for all specific cases
Justin Vreeland 794355
# above. So this must be at the end here, after all cases of with_debug or not.
Justin Vreeland 794355
%define with_debug_meta 0
Justin Vreeland 794355
%if !%{debugbuildsenabled}
Justin Vreeland 794355
%if %{with_debug}
Justin Vreeland 794355
%define with_debug_meta 1
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%define with_debug 0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# Packages that need to be installed before the kernel is, because the %%post
Justin Vreeland 794355
# scripts use them.
Justin Vreeland 794355
#
Justin Vreeland 794355
%define kernel_prereq  coreutils, systemd >= 203-2, /usr/bin/kernel-install
Justin Vreeland 794355
%define initrd_prereq  dracut >= 027
Justin Vreeland 794355
Justin Vreeland 794355
Justin Vreeland 794355
Name: kernel
Justin Vreeland 794355
License: GPLv2 and Redistributable, no modification permitted
Justin Vreeland 794355
URL: https://www.kernel.org/
Justin Vreeland 794355
Version: %{rpmversion}
Justin Vreeland 794355
Release: %{pkg_release}
Justin Vreeland 794355
# DO NOT CHANGE THE 'ExclusiveArch' LINE TO TEMPORARILY EXCLUDE AN ARCHITECTURE BUILD.
Justin Vreeland 794355
# SET %%nobuildarches (ABOVE) INSTEAD
Justin Vreeland 794355
%if 0%{?fedora}
Justin Vreeland 794355
ExclusiveArch: x86_64 s390x %{arm} aarch64 ppc64le
Justin Vreeland 794355
%else
Justin Vreeland 794355
ExclusiveArch: noarch i386 i686 x86_64 s390x %{arm} aarch64 ppc64le
Justin Vreeland 794355
%endif
Justin Vreeland 794355
ExclusiveOS: Linux
Justin Vreeland 794355
%ifnarch %{nobuildarches}
Justin Vreeland 794355
Requires: kernel-core-uname-r = %{KVERREL}
Justin Vreeland 794355
Requires: kernel-modules-uname-r = %{KVERREL}
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# List the packages used during the kernel build
Justin Vreeland 794355
#
Justin Vreeland 794355
BuildRequires: kmod, patch, bash, coreutils, tar, git-core, which
Justin Vreeland 794355
BuildRequires: bzip2, xz, findutils, gzip, m4, perl-interpreter, perl-Carp, perl-devel, perl-generators, make, diffutils, gawk
Justin Vreeland 794355
BuildRequires: gcc, binutils, redhat-rpm-config, hmaccalc, bison, flex, gcc-c++
Justin Vreeland 794355
BuildRequires: net-tools, hostname, bc, elfutils-devel
Justin Vreeland 794355
BuildRequires: dwarves
Justin Vreeland 794355
BuildRequires: python3-devel
Justin Vreeland 794355
BuildRequires: gcc-plugin-devel
Justin Vreeland 794355
%ifnarch %{nobuildarches} noarch
Justin Vreeland 794355
BuildRequires: bpftool
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%if %{with_headers}
Justin Vreeland 794355
BuildRequires: rsync
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%if %{with_doc}
Justin Vreeland 794355
BuildRequires: xmlto, asciidoc, python3-sphinx, python3-sphinx_rtd_theme
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%if %{with_sparse}
Justin Vreeland 794355
BuildRequires: sparse
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%if %{with_perf}
Justin Vreeland 794355
BuildRequires: zlib-devel binutils-devel newt-devel perl(ExtUtils::Embed) bison flex xz-devel
Justin Vreeland 794355
BuildRequires: audit-libs-devel
Justin Vreeland 794355
BuildRequires: java-devel
Justin Vreeland 794355
BuildRequires: libbpf-devel
Justin Vreeland 794355
BuildRequires: libbabeltrace-devel
Justin Vreeland 794355
BuildRequires: libtraceevent-devel
Justin Vreeland 794355
%ifnarch %{arm} s390x
Justin Vreeland 794355
BuildRequires: numactl-devel
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%ifarch aarch64
Justin Vreeland 794355
BuildRequires: opencsd-devel >= 1.0.0
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%if %{with_tools}
Justin Vreeland 794355
BuildRequires: gettext ncurses-devel
Justin Vreeland 794355
BuildRequires: libcap-devel libcap-ng-devel
Justin Vreeland 794355
%ifnarch s390x
Justin Vreeland 794355
BuildRequires: pciutils-devel
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%if %{with_bpftool}
Justin Vreeland 794355
BuildRequires: python3-docutils
Justin Vreeland 794355
BuildRequires: zlib-devel binutils-devel
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%if %{with_selftests}
Justin Vreeland 794355
BuildRequires: clang llvm
Justin Vreeland 794355
%ifnarch %{arm}
Justin Vreeland 794355
BuildRequires: numactl-devel
Justin Vreeland 794355
%endif
Justin Vreeland 794355
BuildRequires: libcap-devel libcap-ng-devel rsync libmnl-devel
Justin Vreeland 794355
%endif
Justin Vreeland 794355
BuildConflicts: rhbuildsys(DiskFree) < 500Mb
Justin Vreeland 794355
%if %{with_debuginfo}
Justin Vreeland 794355
BuildRequires: rpm-build, elfutils
Justin Vreeland 794355
BuildConflicts: rpm < 4.13.0.1-19
Justin Vreeland 794355
BuildConflicts: dwarves < 1.13
Justin Vreeland 794355
# Most of these should be enabled after more investigation
Justin Vreeland 794355
%undefine _include_minidebuginfo
Justin Vreeland 794355
%undefine _find_debuginfo_dwz_opts
Justin Vreeland 794355
%undefine _unique_build_ids
Justin Vreeland 794355
%undefine _unique_debug_names
Justin Vreeland 794355
%undefine _unique_debug_srcs
Justin Vreeland 794355
%undefine _debugsource_packages
Justin Vreeland 794355
%undefine _debuginfo_subpackages
Justin Vreeland 794355
%global _find_debuginfo_opts -r
Justin Vreeland 794355
%global _missing_build_ids_terminate_build 1
Justin Vreeland 794355
%global _no_recompute_build_ids 1
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%if %{with_kabidwchk} || %{with_kabidw_base}
Justin Vreeland 794355
BuildRequires: kabi-dw
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{signkernel}%{signmodules}
Justin Vreeland 794355
BuildRequires: openssl openssl-devel
Justin Vreeland 794355
%if %{signkernel}
Justin Vreeland 794355
%ifarch x86_64 aarch64
Justin Vreeland 794355
BuildRequires: nss-tools
Justin Vreeland 794355
BuildRequires: pesign >= 0.10-4
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_cross}
Justin Vreeland 794355
BuildRequires: binutils-%{_build_arch}-linux-gnu, gcc-%{_build_arch}-linux-gnu
Justin Vreeland 794355
%define cross_opts CROSS_COMPILE=%{_build_arch}-linux-gnu-
Justin Vreeland 794355
%define __strip %{_build_arch}-linux-gnu-strip
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# These below are required to build man pages
Justin Vreeland 794355
%if %{with_perf}
Justin Vreeland 794355
BuildRequires: xmlto
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%if %{with_perf} || %{with_tools}
Justin Vreeland 794355
BuildRequires: asciidoc
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with toolchain_clang}
Justin Vreeland 794355
BuildRequires: clang
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with clang_lto}
Justin Vreeland 794355
BuildRequires: llvm
Justin Vreeland 794355
BuildRequires: lld
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# Because this is the kernel, it's hard to get a single upstream URL
Justin Vreeland 794355
# to represent the base without needing to do a bunch of patching. This
Justin Vreeland 794355
# tarball is generated from a src-git tree. If you want to see the
Justin Vreeland 794355
# exact git commit you can run
Justin Vreeland 794355
#
Justin Vreeland 794355
# xzcat -qq ${TARBALL} | git get-tar-commit-id
Justin Vreeland 794355
Source0: linux-5.14.0-7.el9.tar.xz
Justin Vreeland 794355
Justin Vreeland 794355
Source1: Makefile.rhelver
Justin Vreeland 794355
Justin Vreeland 794355
Justin Vreeland 794355
# Name of the packaged file containing signing key
Justin Vreeland 794355
%ifarch ppc64le
Justin Vreeland 794355
%define signing_key_filename kernel-signing-ppc.cer
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%ifarch s390x
Justin Vreeland 794355
%define signing_key_filename kernel-signing-s390.cer
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
Source8: x509.genkey.rhel
Justin Vreeland 794355
Source9: x509.genkey.fedora
Justin Vreeland 794355
Justin Vreeland 794355
%if %{?released_kernel}
Justin Vreeland 794355
Justin Vreeland 794355
Source10: redhatsecurebootca5.cer
Justin Vreeland 794355
Source11: redhatsecurebootca3.cer
Justin Vreeland 794355
Source12: redhatsecurebootca6.cer
Justin Vreeland 794355
Source13: redhatsecureboot501.cer
Justin Vreeland 794355
Source14: redhatsecureboot302.cer
Justin Vreeland 794355
Source15: redhatsecureboot601.cer
Justin Vreeland 794355
Justin Vreeland 794355
%ifarch x86_64 aarch64
Justin Vreeland 794355
%define secureboot_ca_0 %{SOURCE10}
Justin Vreeland 794355
%define secureboot_key_0 %{SOURCE13}
Justin Vreeland 794355
%define pesign_name_0 redhatsecureboot501
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%ifarch s390x
Justin Vreeland 794355
%define secureboot_ca_0 %{SOURCE11}
Justin Vreeland 794355
%define secureboot_key_0 %{SOURCE14}
Justin Vreeland 794355
%define pesign_name_0 redhatsecureboot302
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%ifarch ppc64le
Justin Vreeland 794355
%define secureboot_ca_0 %{SOURCE12}
Justin Vreeland 794355
%define secureboot_key_0 %{SOURCE15}
Justin Vreeland 794355
%define pesign_name_0 redhatsecureboot601
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# released_kernel
Justin Vreeland 794355
%else
Justin Vreeland 794355
Justin Vreeland 794355
Source10: redhatsecurebootca4.cer
Justin Vreeland 794355
Source11: redhatsecureboot401.cer
Justin Vreeland 794355
Justin Vreeland 794355
%define secureboot_ca_0 %{SOURCE10}
Justin Vreeland 794355
%define secureboot_key_0 %{SOURCE11}
Justin Vreeland 794355
%define pesign_name_0 redhatsecureboot401
Justin Vreeland 794355
Justin Vreeland 794355
# released_kernel
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
Source22: mod-extra.list.rhel
Justin Vreeland 794355
Source16: mod-extra.list.fedora
Justin Vreeland 794355
Source17: mod-denylist.sh
Justin Vreeland 794355
Source18: mod-sign.sh
Justin Vreeland 794355
Source79: parallel_xz.sh
Justin Vreeland 794355
Justin Vreeland 794355
Source80: filter-x86_64.sh.fedora
Justin Vreeland 794355
Source81: filter-armv7hl.sh.fedora
Justin Vreeland 794355
Source82: filter-i686.sh.fedora
Justin Vreeland 794355
Source83: filter-aarch64.sh.fedora
Justin Vreeland 794355
Source86: filter-ppc64le.sh.fedora
Justin Vreeland 794355
Source87: filter-s390x.sh.fedora
Justin Vreeland 794355
Source89: filter-modules.sh.fedora
Justin Vreeland 794355
Justin Vreeland 794355
Source90: filter-x86_64.sh.rhel
Justin Vreeland 794355
Source91: filter-armv7hl.sh.rhel
Justin Vreeland 794355
Source92: filter-i686.sh.rhel
Justin Vreeland 794355
Source93: filter-aarch64.sh.rhel
Justin Vreeland 794355
Source96: filter-ppc64le.sh.rhel
Justin Vreeland 794355
Source97: filter-s390x.sh.rhel
Justin Vreeland 794355
Source99: filter-modules.sh.rhel
Justin Vreeland 794355
%define modsign_cmd %{SOURCE18}
Justin Vreeland 794355
Justin Vreeland 794355
Source20: kernel-aarch64-rhel.config
Justin Vreeland 794355
Source21: kernel-aarch64-debug-rhel.config
Justin Vreeland 794355
Source30: kernel-ppc64le-rhel.config
Justin Vreeland 794355
Source31: kernel-ppc64le-debug-rhel.config
Justin Vreeland 794355
Source32: kernel-s390x-rhel.config
Justin Vreeland 794355
Source33: kernel-s390x-debug-rhel.config
Justin Vreeland 794355
Source34: kernel-s390x-zfcpdump-rhel.config
Justin Vreeland 794355
Source35: kernel-x86_64-rhel.config
Justin Vreeland 794355
Source36: kernel-x86_64-debug-rhel.config
Justin Vreeland 794355
Justin Vreeland 794355
Source37: kernel-aarch64-fedora.config
Justin Vreeland 794355
Source38: kernel-aarch64-debug-fedora.config
Justin Vreeland 794355
Source39: kernel-armv7hl-fedora.config
Justin Vreeland 794355
Source40: kernel-armv7hl-debug-fedora.config
Justin Vreeland 794355
Source41: kernel-armv7hl-lpae-fedora.config
Justin Vreeland 794355
Source42: kernel-armv7hl-lpae-debug-fedora.config
Justin Vreeland 794355
Source43: kernel-i686-fedora.config
Justin Vreeland 794355
Source44: kernel-i686-debug-fedora.config
Justin Vreeland 794355
Source45: kernel-ppc64le-fedora.config
Justin Vreeland 794355
Source46: kernel-ppc64le-debug-fedora.config
Justin Vreeland 794355
Source47: kernel-s390x-fedora.config
Justin Vreeland 794355
Source48: kernel-s390x-debug-fedora.config
Justin Vreeland 794355
Source49: kernel-x86_64-fedora.config
Justin Vreeland 794355
Source50: kernel-x86_64-debug-fedora.config
Justin Vreeland 794355
Justin Vreeland 794355
Justin Vreeland 794355
Justin Vreeland 794355
Source51: generate_all_configs.sh
Justin Vreeland 794355
Justin Vreeland 794355
Source52: process_configs.sh
Justin Vreeland 794355
Source56: update_scripts.sh
Justin Vreeland 794355
Source57: generate_crashkernel_default.sh
Justin Vreeland 794355
Justin Vreeland 794355
Source54: mod-internal.list
Justin Vreeland 794355
Justin Vreeland 794355
Source100: rheldup3.x509
Justin Vreeland 794355
Source101: rhelkpatch1.x509
Justin Vreeland 794355
Justin Vreeland 794355
Source200: check-kabi
Justin Vreeland 794355
Justin Vreeland 794355
Source201: Module.kabi_aarch64
Justin Vreeland 794355
Source202: Module.kabi_ppc64le
Justin Vreeland 794355
Source203: Module.kabi_s390x
Justin Vreeland 794355
Source204: Module.kabi_x86_64
Justin Vreeland 794355
Justin Vreeland 794355
Source210: Module.kabi_dup_aarch64
Justin Vreeland 794355
Source211: Module.kabi_dup_ppc64le
Justin Vreeland 794355
Source212: Module.kabi_dup_s390x
Justin Vreeland 794355
Source213: Module.kabi_dup_x86_64
Justin Vreeland 794355
Justin Vreeland 794355
Source300: kernel-abi-stablelists-%{rpmversion}-%{distro_build}.tar.bz2
Justin Vreeland 794355
Source301: kernel-kabi-dw-%{rpmversion}-%{distro_build}.tar.bz2
Justin Vreeland 794355
Justin Vreeland 794355
# Sources for kernel-tools
Justin Vreeland 794355
Source2000: cpupower.service
Justin Vreeland 794355
Source2001: cpupower.config
Justin Vreeland 794355
Source2002: kvm_stat.logrotate
Justin Vreeland 794355
Justin Vreeland 794355
# Some people enjoy building customized kernels from the dist-git in Fedora and
Justin Vreeland 794355
# use this to override configuration options. One day they may all use the
Justin Vreeland 794355
# source tree, but in the mean time we carry this to support the legacy workflow
Justin Vreeland 794355
Source3000: merge.pl
Justin Vreeland 794355
Source3001: kernel-local
Justin Vreeland 794355
Justin Vreeland 794355
Source4000: README.rst
Justin Vreeland 794355
Source4001: rpminspect.yaml
Justin Vreeland 794355
Source4002: gating.yaml
Justin Vreeland 794355
Justin Vreeland 7a60f1
# hyperscale
Justin Vreeland 7a60f1
Source5001: filter-aarch64.sh.centos-sig-hyperscale
Justin Vreeland 7a60f1
Source5002: filter-modules.sh.centos-sig-hyperscale
Justin Vreeland 7a60f1
Source5005: filter-x86_64.sh.centos-sig-hyperscale
Justin Vreeland 7a60f1
Source5006: mod-extra.list.centos-sig-hyperscale
Justin Vreeland 7a60f1
Justin Vreeland 7a60f1
# CentOS SIG HyperScale config(s)
Justin Vreeland 7a60f1
Source5008: kernel-x86_64-centos-sig-hyperscale.config
Justin Vreeland 7a60f1
Source5009: kernel-x86_64-debug-centos-sig-hyperscale.config
Justin Vreeland 7a60f1
Source5010: kernel-aarch64-centos-sig-hyperscale.config
Justin Vreeland 7a60f1
Source5011: kernel-aarch64-debug-centos-sig-hyperscale.config
Justin Vreeland 794355
## Patches needed for building this package
Justin Vreeland 794355
Justin Vreeland 794355
%if !%{nopatches}
Justin Vreeland 794355
Justin Vreeland 794355
Patch1: patch-%{rpmversion}-redhat.patch
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# empty final patch to facilitate testing of kernel patches
Justin Vreeland 794355
Patch999999: linux-kernel-test.patch
Justin Vreeland 794355
Justin Vreeland 794355
# END OF PATCH DEFINITIONS
Justin Vreeland 794355
Justin Vreeland 794355
%description
Justin Vreeland 794355
The kernel meta package
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# This macro does requires, provides, conflicts, obsoletes for a kernel package.
Justin Vreeland 794355
#	%%kernel_reqprovconf <subpackage>
Justin Vreeland 794355
# It uses any kernel_<subpackage>_conflicts and kernel_<subpackage>_obsoletes
Justin Vreeland 794355
# macros defined above.
Justin Vreeland 794355
#
Justin Vreeland 794355
%define kernel_reqprovconf \
Justin Vreeland 794355
Provides: kernel = %{rpmversion}-%{pkg_release}\
Justin Vreeland 794355
Provides: kernel-%{_target_cpu} = %{rpmversion}-%{pkg_release}%{?1:+%{1}}\
Justin Vreeland 794355
Provides: kernel-drm-nouveau = 16\
Justin Vreeland 794355
Provides: kernel-uname-r = %{KVERREL}%{?1:+%{1}}\
Justin Vreeland 794355
Requires(pre): %{kernel_prereq}\
Justin Vreeland 794355
Requires(pre): %{initrd_prereq}\
Justin Vreeland 794355
Requires(pre): linux-firmware >= 20150904-56.git6ebf5d57\
Justin Vreeland 794355
Requires(preun): systemd >= 200\
Justin Vreeland 794355
Conflicts: xfsprogs < 4.3.0-1\
Justin Vreeland 794355
Conflicts: xorg-x11-drv-vmmouse < 13.0.99\
Justin Vreeland 794355
%{expand:%%{?kernel%{?1:_%{1}}_conflicts:Conflicts: %%{kernel%{?1:_%{1}}_conflicts}}}\
Justin Vreeland 794355
%{expand:%%{?kernel%{?1:_%{1}}_obsoletes:Obsoletes: %%{kernel%{?1:_%{1}}_obsoletes}}}\
Justin Vreeland 794355
%{expand:%%{?kernel%{?1:_%{1}}_provides:Provides: %%{kernel%{?1:_%{1}}_provides}}}\
Justin Vreeland 794355
# We can't let RPM do the dependencies automatic because it'll then pick up\
Justin Vreeland 794355
# a correct but undesirable perl dependency from the module headers which\
Justin Vreeland 794355
# isn't required for the kernel proper to function\
Justin Vreeland 794355
AutoReq: no\
Justin Vreeland 794355
AutoProv: yes\
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
Justin Vreeland 794355
%package doc
Justin Vreeland 794355
Summary: Various documentation bits found in the kernel source
Justin Vreeland 794355
Group: Documentation
Justin Vreeland 794355
%description doc
Justin Vreeland 794355
This package contains documentation files from the kernel
Justin Vreeland 794355
source. Various bits of information about the Linux kernel and the
Justin Vreeland 794355
device drivers shipped with it are documented in these files.
Justin Vreeland 794355
Justin Vreeland 794355
You'll want to install this package if you need a reference to the
Justin Vreeland 794355
options that can be passed to Linux kernel modules at load time.
Justin Vreeland 794355
Justin Vreeland 794355
Justin Vreeland 794355
%package headers
Justin Vreeland 794355
Summary: Header files for the Linux kernel for use by glibc
Justin Vreeland 794355
Obsoletes: glibc-kernheaders < 3.0-46
Justin Vreeland 794355
Provides: glibc-kernheaders = 3.0-46
Justin Vreeland 794355
%description headers
Justin Vreeland 794355
Kernel-headers includes the C header files that specify the interface
Justin Vreeland 794355
between the Linux kernel and userspace libraries and programs.  The
Justin Vreeland 794355
header files define structures and constants that are needed for
Justin Vreeland 794355
building most standard programs and are also needed for rebuilding the
Justin Vreeland 794355
glibc package.
Justin Vreeland 794355
Justin Vreeland 794355
%package cross-headers
Justin Vreeland 794355
Summary: Header files for the Linux kernel for use by cross-glibc
Justin Vreeland 794355
%description cross-headers
Justin Vreeland 794355
Kernel-cross-headers includes the C header files that specify the interface
Justin Vreeland 794355
between the Linux kernel and userspace libraries and programs.  The
Justin Vreeland 794355
header files define structures and constants that are needed for
Justin Vreeland 794355
building most standard programs and are also needed for rebuilding the
Justin Vreeland 794355
cross-glibc package.
Justin Vreeland 794355
Justin Vreeland 794355
Justin Vreeland 794355
%package debuginfo-common-%{_target_cpu}
Justin Vreeland 794355
Summary: Kernel source files used by %{name}-debuginfo packages
Justin Vreeland 794355
Provides: installonlypkg(kernel)
Justin Vreeland 794355
%description debuginfo-common-%{_target_cpu}
Justin Vreeland 794355
This package is required by %{name}-debuginfo subpackages.
Justin Vreeland 794355
It provides the kernel source files common to all builds.
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_perf}
Justin Vreeland 794355
%package -n perf
Justin Vreeland 794355
Summary: Performance monitoring for the Linux kernel
Justin Vreeland 794355
Requires: bzip2
Justin Vreeland 794355
License: GPLv2
Justin Vreeland 794355
%description -n perf
Justin Vreeland 794355
This package contains the perf tool, which enables performance monitoring
Justin Vreeland 794355
of the Linux kernel.
Justin Vreeland 794355
Justin Vreeland 794355
%package -n perf-debuginfo
Justin Vreeland 794355
Summary: Debug information for package perf
Justin Vreeland 794355
Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}
Justin Vreeland 794355
AutoReqProv: no
Justin Vreeland 794355
%description -n perf-debuginfo
Justin Vreeland 794355
This package provides debug information for the perf package.
Justin Vreeland 794355
Justin Vreeland 794355
# Note that this pattern only works right to match the .build-id
Justin Vreeland 794355
# symlinks because of the trailing nonmatching alternation and
Justin Vreeland 794355
# the leading .*, because of find-debuginfo.sh's buggy handling
Justin Vreeland 794355
# of matching the pattern against the symlinks file.
Justin Vreeland 794355
%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{_bindir}/perf(\.debug)?|.*%%{_libexecdir}/perf-core/.*|.*%%{_libdir}/libperf-jvmti.so(\.debug)?|XXX' -o perf-debuginfo.list}
Justin Vreeland 794355
Justin Vreeland 794355
%package -n python3-perf
Justin Vreeland 794355
Summary: Python bindings for apps which will manipulate perf events
Justin Vreeland 794355
%description -n python3-perf
Justin Vreeland 794355
The python3-perf package contains a module that permits applications
Justin Vreeland 794355
written in the Python programming language to use the interface
Justin Vreeland 794355
to manipulate perf events.
Justin Vreeland 794355
Justin Vreeland 794355
%package -n python3-perf-debuginfo
Justin Vreeland 794355
Summary: Debug information for package perf python bindings
Justin Vreeland 794355
Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}
Justin Vreeland 794355
AutoReqProv: no
Justin Vreeland 794355
%description -n python3-perf-debuginfo
Justin Vreeland 794355
This package provides debug information for the perf python bindings.
Justin Vreeland 794355
Justin Vreeland 794355
# the python_sitearch macro should already be defined from above
Justin Vreeland 794355
%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{python3_sitearch}/perf.*so(\.debug)?|XXX' -o python3-perf-debuginfo.list}
Justin Vreeland 794355
Justin Vreeland 794355
# with_perf
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_tools}
Justin Vreeland 794355
%package -n kernel-tools
Justin Vreeland 794355
Summary: Assortment of tools for the Linux kernel
Justin Vreeland 794355
License: GPLv2
Justin Vreeland 794355
%ifarch %{cpupowerarchs}
Justin Vreeland 794355
Provides:  cpupowerutils = 1:009-0.6.p1
Justin Vreeland 794355
Obsoletes: cpupowerutils < 1:009-0.6.p1
Justin Vreeland 794355
Provides:  cpufreq-utils = 1:009-0.6.p1
Justin Vreeland 794355
Provides:  cpufrequtils = 1:009-0.6.p1
Justin Vreeland 794355
Obsoletes: cpufreq-utils < 1:009-0.6.p1
Justin Vreeland 794355
Obsoletes: cpufrequtils < 1:009-0.6.p1
Justin Vreeland 794355
Obsoletes: cpuspeed < 1:1.5-16
Justin Vreeland 794355
Requires: kernel-tools-libs = %{version}-%{release}
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%define __requires_exclude ^%{_bindir}/python
Justin Vreeland 794355
%description -n kernel-tools
Justin Vreeland 794355
This package contains the tools/ directory from the kernel source
Justin Vreeland 794355
and the supporting documentation.
Justin Vreeland 794355
Justin Vreeland 794355
%package -n kernel-tools-libs
Justin Vreeland 794355
Summary: Libraries for the kernels-tools
Justin Vreeland 794355
License: GPLv2
Justin Vreeland 794355
%description -n kernel-tools-libs
Justin Vreeland 794355
This package contains the libraries built from the tools/ directory
Justin Vreeland 794355
from the kernel source.
Justin Vreeland 794355
Justin Vreeland 794355
%package -n kernel-tools-libs-devel
Justin Vreeland 794355
Summary: Assortment of tools for the Linux kernel
Justin Vreeland 794355
License: GPLv2
Justin Vreeland 794355
Requires: kernel-tools = %{version}-%{release}
Justin Vreeland 794355
%ifarch %{cpupowerarchs}
Justin Vreeland 794355
Provides:  cpupowerutils-devel = 1:009-0.6.p1
Justin Vreeland 794355
Obsoletes: cpupowerutils-devel < 1:009-0.6.p1
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Requires: kernel-tools-libs = %{version}-%{release}
Justin Vreeland 794355
Provides: kernel-tools-devel
Justin Vreeland 794355
%description -n kernel-tools-libs-devel
Justin Vreeland 794355
This package contains the development files for the tools/ directory from
Justin Vreeland 794355
the kernel source.
Justin Vreeland 794355
Justin Vreeland 794355
%package -n kernel-tools-debuginfo
Justin Vreeland 794355
Summary: Debug information for package kernel-tools
Justin Vreeland 794355
Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}
Justin Vreeland 794355
AutoReqProv: no
Justin Vreeland 794355
%description -n kernel-tools-debuginfo
Justin Vreeland 794355
This package provides debug information for package kernel-tools.
Justin Vreeland 794355
Justin Vreeland 794355
# Note that this pattern only works right to match the .build-id
Justin Vreeland 794355
# symlinks because of the trailing nonmatching alternation and
Justin Vreeland 794355
# the leading .*, because of find-debuginfo.sh's buggy handling
Justin Vreeland 794355
# of matching the pattern against the symlinks file.
Justin Vreeland 794355
%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{_bindir}/centrino-decode(\.debug)?|.*%%{_bindir}/powernow-k8-decode(\.debug)?|.*%%{_bindir}/cpupower(\.debug)?|.*%%{_libdir}/libcpupower.*|.*%%{_bindir}/turbostat(\.debug)?|.*%%{_bindir}/x86_energy_perf_policy(\.debug)?|.*%%{_bindir}/tmon(\.debug)?|.*%%{_bindir}/lsgpio(\.debug)?|.*%%{_bindir}/gpio-hammer(\.debug)?|.*%%{_bindir}/gpio-event-mon(\.debug)?|.*%%{_bindir}/gpio-watch(\.debug)?|.*%%{_bindir}/iio_event_monitor(\.debug)?|.*%%{_bindir}/iio_generic_buffer(\.debug)?|.*%%{_bindir}/lsiio(\.debug)?|.*%%{_bindir}/intel-speed-select(\.debug)?|.*%%{_bindir}/page_owner_sort(\.debug)?|.*%%{_bindir}/slabinfo(\.debug)?|XXX' -o kernel-tools-debuginfo.list}
Justin Vreeland 794355
Justin Vreeland 794355
# with_tools
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_bpftool}
Justin Vreeland 794355
Justin Vreeland 794355
%package -n bpftool
Justin Vreeland 794355
Summary: Inspection and simple manipulation of eBPF programs and maps
Justin Vreeland 794355
License: GPLv2
Justin Vreeland 794355
%description -n bpftool
Justin Vreeland 794355
This package contains the bpftool, which allows inspection and simple
Justin Vreeland 794355
manipulation of eBPF programs and maps.
Justin Vreeland 794355
Justin Vreeland 794355
%package -n bpftool-debuginfo
Justin Vreeland 794355
Summary: Debug information for package bpftool
Justin Vreeland 794355
Group: Development/Debug
Justin Vreeland 794355
Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}
Justin Vreeland 794355
AutoReqProv: no
Justin Vreeland 794355
%description -n bpftool-debuginfo
Justin Vreeland 794355
This package provides debug information for the bpftool package.
Justin Vreeland 794355
Justin Vreeland 794355
%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{_sbindir}/bpftool(\.debug)?|XXX' -o bpftool-debuginfo.list}
Justin Vreeland 794355
Justin Vreeland 794355
# with_bpftool
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_selftests}
Justin Vreeland 794355
Justin Vreeland 794355
%package selftests-internal
Justin Vreeland 794355
Summary: Kernel samples and selftests
Justin Vreeland 794355
License: GPLv2
Justin Vreeland 794355
Requires: binutils, bpftool, iproute-tc, nmap-ncat, python3
Justin Vreeland 794355
%description selftests-internal
Justin Vreeland 794355
Kernel sample programs and selftests.
Justin Vreeland 794355
Justin Vreeland 794355
# Note that this pattern only works right to match the .build-id
Justin Vreeland 794355
# symlinks because of the trailing nonmatching alternation and
Justin Vreeland 794355
# the leading .*, because of find-debuginfo.sh's buggy handling
Justin Vreeland 794355
# of matching the pattern against the symlinks file.
Justin Vreeland 794355
%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{_libexecdir}/(ksamples|kselftests)/.*|XXX' -o selftests-debuginfo.list}
Justin Vreeland 794355
Justin Vreeland 794355
# with_selftests
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_gcov}
Justin Vreeland 794355
%package gcov
Justin Vreeland 794355
Summary: gcov graph and source files for coverage data collection.
Justin Vreeland 794355
%description gcov
Justin Vreeland 794355
kernel-gcov includes the gcov graph and source files for gcov coverage collection.
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%package -n kernel-abi-stablelists
Justin Vreeland 794355
Summary: The Red Hat Enterprise Linux kernel ABI symbol stablelists
Justin Vreeland 794355
AutoReqProv: no
Justin Vreeland 794355
%description -n kernel-abi-stablelists
Justin Vreeland 794355
The kABI package contains information pertaining to the Red Hat Enterprise
Justin Vreeland 794355
Linux kernel ABI, including lists of kernel symbols that are needed by
Justin Vreeland 794355
external Linux kernel modules, and a yum plugin to aid enforcement.
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_kabidw_base}
Justin Vreeland 794355
%package kernel-kabidw-base-internal
Justin Vreeland 794355
Summary: The baseline dataset for kABI verification using DWARF data
Justin Vreeland 794355
Group: System Environment/Kernel
Justin Vreeland 794355
AutoReqProv: no
Justin Vreeland 794355
%description kernel-kabidw-base-internal
Justin Vreeland 794355
The package contains data describing the current ABI of the Red Hat Enterprise
Justin Vreeland 794355
Linux kernel, suitable for the kabi-dw tool.
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# This macro creates a kernel-<subpackage>-debuginfo package.
Justin Vreeland 794355
#	%%kernel_debuginfo_package <subpackage>
Justin Vreeland 794355
#
Justin Vreeland 794355
# Explanation of the find_debuginfo_opts: We build multiple kernels (debug
Justin Vreeland 794355
# pae etc.) so the regex filters those kernels appropriately. We also
Justin Vreeland 794355
# have to package several binaries as part of kernel-devel but getting
Justin Vreeland 794355
# unique build-ids is tricky for these userspace binaries. We don't really
Justin Vreeland 794355
# care about debugging those so we just filter those out and remove it.
Justin Vreeland 794355
%define kernel_debuginfo_package() \
Justin Vreeland 794355
%package %{?1:%{1}-}debuginfo\
Justin Vreeland 794355
Summary: Debug information for package %{name}%{?1:-%{1}}\
Justin Vreeland 794355
Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}\
Justin Vreeland 794355
Provides: %{name}%{?1:-%{1}}-debuginfo-%{_target_cpu} = %{version}-%{release}\
Justin Vreeland 794355
Provides: installonlypkg(kernel)\
Justin Vreeland 794355
AutoReqProv: no\
Justin Vreeland 794355
%description %{?1:%{1}-}debuginfo\
Justin Vreeland 794355
This package provides debug information for package %{name}%{?1:-%{1}}.\
Justin Vreeland 794355
This is required to use SystemTap with %{name}%{?1:-%{1}}-%{KVERREL}.\
Justin Vreeland 794355
%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*\/usr\/src\/kernels/.*|XXX' -o ignored-debuginfo.list -p '/.*/%%{KVERREL_RE}%{?1:[+]%{1}}/.*|/.*%%{KVERREL_RE}%{?1:\+%{1}}(\.debug)?' -o debuginfo%{?1}.list}\
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# This macro creates a kernel-<subpackage>-devel package.
Justin Vreeland 794355
#	%%kernel_devel_package [-m] <subpackage> <pretty-name>
Justin Vreeland 794355
#
Justin Vreeland 794355
%define kernel_devel_package(m) \
Justin Vreeland 794355
%package %{?1:%{1}-}devel\
Justin Vreeland 794355
Summary: Development package for building kernel modules to match the %{?2:%{2} }kernel\
Justin Vreeland 794355
Provides: kernel%{?1:-%{1}}-devel-%{_target_cpu} = %{version}-%{release}\
Justin Vreeland 794355
Provides: kernel-devel-%{_target_cpu} = %{version}-%{release}%{?1:+%{1}}\
Justin Vreeland 794355
Provides: kernel-devel-uname-r = %{KVERREL}%{?1:+%{1}}\
Justin Vreeland 794355
Provides: installonlypkg(kernel)\
Justin Vreeland 794355
AutoReqProv: no\
Justin Vreeland 794355
Requires(pre): findutils\
Justin Vreeland 794355
Requires: findutils\
Justin Vreeland 794355
Requires: perl-interpreter\
Justin Vreeland 794355
Requires: openssl-devel\
Justin Vreeland 794355
Requires: elfutils-libelf-devel\
Justin Vreeland 794355
Requires: bison\
Justin Vreeland 794355
Requires: flex\
Justin Vreeland 794355
Requires: make\
Justin Vreeland 794355
Requires: gcc\
Justin Vreeland 794355
%if %{-m:1}%{!-m:0}\
Justin Vreeland 794355
Requires: kernel-devel-uname-r = %{KVERREL}\
Justin Vreeland 794355
%endif\
Justin Vreeland 794355
%description %{?1:%{1}-}devel\
Justin Vreeland 794355
This package provides kernel headers and makefiles sufficient to build modules\
Justin Vreeland 794355
against the %{?2:%{2} }kernel package.\
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# This macro creates an empty kernel-<subpackage>-devel-matched package that
Justin Vreeland 794355
# requires both the core and devel packages locked on the same version.
Justin Vreeland 794355
#	%%kernel_devel_matched_package [-m] <subpackage> <pretty-name>
Justin Vreeland 794355
#
Justin Vreeland 794355
%define kernel_devel_matched_package(m) \
Justin Vreeland 794355
%package %{?1:%{1}-}devel-matched\
Justin Vreeland 794355
Summary: Meta package to install matching core and devel packages for a given %{?2:%{2} }kernel\
Justin Vreeland 794355
Requires: kernel%{?1:-%{1}}-devel = %{version}-%{release}\
Justin Vreeland 794355
Requires: kernel%{?1:-%{1}}-core = %{version}-%{release}\
Justin Vreeland 794355
%description %{?1:%{1}-}devel-matched\
Justin Vreeland 794355
This meta package is used to install matching core and devel packages for a given %{?2:%{2} }kernel.\
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# kernel-<variant>-ipaclones-internal package
Justin Vreeland 794355
#
Justin Vreeland 794355
%define kernel_ipaclones_package() \
Justin Vreeland 794355
%package %{?1:%{1}-}ipaclones-internal\
Justin Vreeland 794355
Summary: *.ipa-clones files generated by -fdump-ipa-clones for kernel%{?1:-%{1}}\
Justin Vreeland 794355
Group: System Environment/Kernel\
Justin Vreeland 794355
AutoReqProv: no\
Justin Vreeland 794355
%description %{?1:%{1}-}ipaclones-internal\
Justin Vreeland 794355
This package provides *.ipa-clones files.\
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# This macro creates a kernel-<subpackage>-modules-internal package.
Justin Vreeland 794355
#	%%kernel_modules_internal_package <subpackage> <pretty-name>
Justin Vreeland 794355
#
Justin Vreeland 794355
%define kernel_modules_internal_package() \
Justin Vreeland 794355
%package %{?1:%{1}-}modules-internal\
Justin Vreeland 794355
Summary: Extra kernel modules to match the %{?2:%{2} }kernel\
Justin Vreeland 794355
Group: System Environment/Kernel\
Justin Vreeland 794355
Provides: kernel%{?1:-%{1}}-modules-internal-%{_target_cpu} = %{version}-%{release}\
Justin Vreeland 794355
Provides: kernel%{?1:-%{1}}-modules-internal-%{_target_cpu} = %{version}-%{release}%{?1:+%{1}}\
Justin Vreeland 794355
Provides: kernel%{?1:-%{1}}-modules-internal = %{version}-%{release}%{?1:+%{1}}\
Justin Vreeland 794355
Provides: installonlypkg(kernel-module)\
Justin Vreeland 794355
Provides: kernel%{?1:-%{1}}-modules-internal-uname-r = %{KVERREL}%{?1:+%{1}}\
Justin Vreeland 794355
Requires: kernel-uname-r = %{KVERREL}%{?1:+%{1}}\
Justin Vreeland 794355
Requires: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{?1:+%{1}}\
Justin Vreeland 794355
AutoReq: no\
Justin Vreeland 794355
AutoProv: yes\
Justin Vreeland 794355
%description %{?1:%{1}-}modules-internal\
Justin Vreeland 794355
This package provides kernel modules for the %{?2:%{2} }kernel package for Red Hat internal usage.\
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# This macro creates a kernel-<subpackage>-modules-extra package.
Justin Vreeland 794355
#	%%kernel_modules_extra_package [-m] <subpackage> <pretty-name>
Justin Vreeland 794355
#
Justin Vreeland 794355
%define kernel_modules_extra_package(m) \
Justin Vreeland 794355
%package %{?1:%{1}-}modules-extra\
Justin Vreeland 794355
Summary: Extra kernel modules to match the %{?2:%{2} }kernel\
Justin Vreeland 794355
Provides: kernel%{?1:-%{1}}-modules-extra-%{_target_cpu} = %{version}-%{release}\
Justin Vreeland 794355
Provides: kernel%{?1:-%{1}}-modules-extra-%{_target_cpu} = %{version}-%{release}%{?1:+%{1}}\
Justin Vreeland 794355
Provides: kernel%{?1:-%{1}}-modules-extra = %{version}-%{release}%{?1:+%{1}}\
Justin Vreeland 794355
Provides: installonlypkg(kernel-module)\
Justin Vreeland 794355
Provides: kernel%{?1:-%{1}}-modules-extra-uname-r = %{KVERREL}%{?1:+%{1}}\
Justin Vreeland 794355
Requires: kernel-uname-r = %{KVERREL}%{?1:+%{1}}\
Justin Vreeland 794355
Requires: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{?1:+%{1}}\
Justin Vreeland 794355
%if %{-m:1}%{!-m:0}\
Justin Vreeland 794355
Requires: kernel-modules-extra-uname-r = %{KVERREL}\
Justin Vreeland 794355
%endif\
Justin Vreeland 794355
AutoReq: no\
Justin Vreeland 794355
AutoProv: yes\
Justin Vreeland 794355
%description %{?1:%{1}-}modules-extra\
Justin Vreeland 794355
This package provides less commonly used kernel modules for the %{?2:%{2} }kernel package.\
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# This macro creates a kernel-<subpackage>-modules package.
Justin Vreeland 794355
#	%%kernel_modules_package [-m] <subpackage> <pretty-name>
Justin Vreeland 794355
#
Justin Vreeland 794355
%define kernel_modules_package(m) \
Justin Vreeland 794355
%package %{?1:%{1}-}modules\
Justin Vreeland 794355
Summary: kernel modules to match the %{?2:%{2}-}core kernel\
Justin Vreeland 794355
Provides: kernel%{?1:-%{1}}-modules-%{_target_cpu} = %{version}-%{release}\
Justin Vreeland 794355
Provides: kernel-modules-%{_target_cpu} = %{version}-%{release}%{?1:+%{1}}\
Justin Vreeland 794355
Provides: kernel-modules = %{version}-%{release}%{?1:+%{1}}\
Justin Vreeland 794355
Provides: installonlypkg(kernel-module)\
Justin Vreeland 794355
Provides: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{?1:+%{1}}\
Justin Vreeland 794355
Requires: kernel-uname-r = %{KVERREL}%{?1:+%{1}}\
Justin Vreeland 794355
%if %{-m:1}%{!-m:0}\
Justin Vreeland 794355
Requires: kernel-modules-uname-r = %{KVERREL}\
Justin Vreeland 794355
%endif\
Justin Vreeland 794355
AutoReq: no\
Justin Vreeland 794355
AutoProv: yes\
Justin Vreeland 794355
%description %{?1:%{1}-}modules\
Justin Vreeland 794355
This package provides commonly used kernel modules for the %{?2:%{2}-}core kernel package.\
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# this macro creates a kernel-<subpackage> meta package.
Justin Vreeland 794355
#	%%kernel_meta_package <subpackage>
Justin Vreeland 794355
#
Justin Vreeland 794355
%define kernel_meta_package() \
Justin Vreeland 794355
%package %{1}\
Justin Vreeland 794355
summary: kernel meta-package for the %{1} kernel\
Justin Vreeland 794355
Requires: kernel-%{1}-core-uname-r = %{KVERREL}+%{1}\
Justin Vreeland 794355
Requires: kernel-%{1}-modules-uname-r = %{KVERREL}+%{1}\
Justin Vreeland 794355
Provides: installonlypkg(kernel)\
Justin Vreeland 794355
%description %{1}\
Justin Vreeland 794355
The meta-package for the %{1} kernel\
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# This macro creates a kernel-<subpackage> and its -devel and -debuginfo too.
Justin Vreeland 794355
#	%%define variant_summary The Linux kernel compiled for <configuration>
Justin Vreeland 794355
#	%%kernel_variant_package [-n <pretty-name>] [-m] <subpackage>
Justin Vreeland 794355
#
Justin Vreeland 794355
%define kernel_variant_package(n:m) \
Justin Vreeland 794355
%package %{?1:%{1}-}core\
Justin Vreeland 794355
Summary: %{variant_summary}\
Justin Vreeland 794355
Provides: kernel-%{?1:%{1}-}core-uname-r = %{KVERREL}%{?1:+%{1}}\
Justin Vreeland 794355
Provides: installonlypkg(kernel)\
Justin Vreeland 794355
%if %{-m:1}%{!-m:0}\
Justin Vreeland 794355
Requires: kernel-core-uname-r = %{KVERREL}\
Justin Vreeland 794355
%endif\
Justin Vreeland 794355
%{expand:%%kernel_reqprovconf}\
Justin Vreeland 794355
%if %{?1:1} %{!?1:0} \
Justin Vreeland 794355
%{expand:%%kernel_meta_package %{?1:%{1}}}\
Justin Vreeland 794355
%endif\
Justin Vreeland 794355
%{expand:%%kernel_devel_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}} %{-m:%{-m}}}\
Justin Vreeland 794355
%{expand:%%kernel_devel_matched_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}} %{-m:%{-m}}}\
Justin Vreeland 794355
%{expand:%%kernel_modules_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}} %{-m:%{-m}}}\
Justin Vreeland 794355
%{expand:%%kernel_modules_extra_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}} %{-m:%{-m}}}\
Justin Vreeland 794355
%if %{-m:0}%{!-m:1}\
Justin Vreeland 794355
%{expand:%%kernel_modules_internal_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}}}\
Justin Vreeland 794355
%{expand:%%kernel_debuginfo_package %{?1:%{1}}}\
Justin Vreeland 794355
%endif\
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
# Now, each variant package.
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_pae}
Justin Vreeland 794355
%define variant_summary The Linux kernel compiled for Cortex-A15
Justin Vreeland 794355
%kernel_variant_package lpae
Justin Vreeland 794355
%description lpae-core
Justin Vreeland 794355
This package includes a version of the Linux kernel with support for
Justin Vreeland 794355
Cortex-A15 devices with LPAE and HW virtualisation support
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_zfcpdump}
Justin Vreeland 794355
%define variant_summary The Linux kernel compiled for zfcpdump usage
Justin Vreeland 794355
%kernel_variant_package zfcpdump
Justin Vreeland 794355
%description zfcpdump-core
Justin Vreeland 794355
The kernel package contains the Linux kernel (vmlinuz) for use by the
Justin Vreeland 794355
zfcpdump infrastructure.
Justin Vreeland 794355
# with_zfcpdump
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%define variant_summary The Linux kernel compiled with extra debugging enabled
Justin Vreeland 794355
%if !%{debugbuildsenabled}
Justin Vreeland 794355
%kernel_variant_package -m debug
Justin Vreeland 794355
%else
Justin Vreeland 794355
%kernel_variant_package debug
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%description debug-core
Justin Vreeland 794355
The kernel package contains the Linux kernel (vmlinuz), the core of any
Justin Vreeland 794355
Linux operating system.  The kernel handles the basic functions
Justin Vreeland 794355
of the operating system:  memory allocation, process allocation, device
Justin Vreeland 794355
input and output, etc.
Justin Vreeland 794355
Justin Vreeland 794355
This variant of the kernel has numerous debugging options enabled.
Justin Vreeland 794355
It should only be installed when trying to gather additional information
Justin Vreeland 794355
on kernel bugs, as some of these options impact performance noticably.
Justin Vreeland 794355
Justin Vreeland 794355
# And finally the main -core package
Justin Vreeland 794355
Justin Vreeland 794355
%define variant_summary The Linux kernel
Justin Vreeland 794355
%kernel_variant_package
Justin Vreeland 794355
%description core
Justin Vreeland 794355
The kernel package contains the Linux kernel (vmlinuz), the core of any
Justin Vreeland 794355
Linux operating system.  The kernel handles the basic functions
Justin Vreeland 794355
of the operating system: memory allocation, process allocation, device
Justin Vreeland 794355
input and output, etc.
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_ipaclones}
Justin Vreeland 794355
%kernel_ipaclones_package
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%prep
Justin Vreeland 794355
# do a few sanity-checks for --with *only builds
Justin Vreeland 794355
%if %{with_baseonly}
Justin Vreeland 794355
%if !%{with_up}
Justin Vreeland 794355
echo "Cannot build --with baseonly, up build is disabled"
Justin Vreeland 794355
exit 1
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# more sanity checking; do it quietly
Justin Vreeland 794355
if [ "%{patches}" != "%%{patches}" ] ; then
Justin Vreeland 794355
  for patch in %{patches} ; do
Justin Vreeland 794355
    if [ ! -f $patch ] ; then
Justin Vreeland 794355
      echo "ERROR: Patch  ${patch##/*/}  listed in specfile but is missing"
Justin Vreeland 794355
      exit 1
Justin Vreeland 794355
    fi
Justin Vreeland 794355
  done
Justin Vreeland 794355
fi 2>/dev/null
Justin Vreeland 794355
Justin Vreeland 794355
patch_command='patch -p1 -F1 -s'
Justin Vreeland 794355
ApplyPatch()
Justin Vreeland 794355
{
Justin Vreeland 794355
  local patch=$1
Justin Vreeland 794355
  shift
Justin Vreeland 794355
  if [ ! -f $RPM_SOURCE_DIR/$patch ]; then
Justin Vreeland 794355
    exit 1
Justin Vreeland 794355
  fi
Justin Vreeland 794355
  if ! grep -E "^Patch[0-9]+: $patch\$" %{_specdir}/${RPM_PACKAGE_NAME}.spec ; then
Justin Vreeland 794355
    if [ "${patch:0:8}" != "patch-5." ] ; then
Justin Vreeland 794355
      echo "ERROR: Patch  $patch  not listed as a source patch in specfile"
Justin Vreeland 794355
      exit 1
Justin Vreeland 794355
    fi
Justin Vreeland 794355
  fi 2>/dev/null
Justin Vreeland 794355
  case "$patch" in
Justin Vreeland 794355
  *.bz2) bunzip2 < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;;
Justin Vreeland 794355
  *.gz)  gunzip  < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;;
Justin Vreeland 794355
  *.xz)  unxz    < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;;
Justin Vreeland 794355
  *) $patch_command ${1+"$@"} < "$RPM_SOURCE_DIR/$patch" ;;
Justin Vreeland 794355
  esac
Justin Vreeland 794355
}
Justin Vreeland 794355
Justin Vreeland 794355
# don't apply patch if it's empty
Justin Vreeland 794355
ApplyOptionalPatch()
Justin Vreeland 794355
{
Justin Vreeland 794355
  local patch=$1
Justin Vreeland 794355
  shift
Justin Vreeland 794355
  if [ ! -f $RPM_SOURCE_DIR/$patch ]; then
Justin Vreeland 794355
    exit 1
Justin Vreeland 794355
  fi
Justin Vreeland 794355
  local C=$(wc -l $RPM_SOURCE_DIR/$patch | awk '{print $1}')
Justin Vreeland 794355
  if [ "$C" -gt 9 ]; then
Justin Vreeland 794355
    ApplyPatch $patch ${1+"$@"}
Justin Vreeland 794355
  fi
Justin Vreeland 794355
}
Justin Vreeland 794355
Justin Vreeland 794355
%setup -q -n kernel-5.14.0-7.el9 -c
Justin Vreeland 794355
mv linux-5.14.0-7.el9 linux-%{KVERREL}
Justin Vreeland 794355
Justin Vreeland 794355
cd linux-%{KVERREL}
Justin Vreeland 794355
cp -a %{SOURCE1} .
Justin Vreeland 794355
Justin Vreeland 794355
%if !%{nopatches}
Justin Vreeland 794355
Justin Vreeland 794355
ApplyOptionalPatch patch-%{rpmversion}-redhat.patch
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
ApplyOptionalPatch linux-kernel-test.patch
Justin Vreeland 794355
Justin Vreeland 794355
# END OF PATCH APPLICATIONS
Justin Vreeland 794355
Justin Vreeland 794355
# Any further pre-build tree manipulations happen here.
Justin Vreeland 794355
Justin Vreeland 794355
chmod +x scripts/checkpatch.pl
Justin Vreeland 794355
mv COPYING COPYING-%{version}-%{release}
Justin Vreeland 794355
Justin Vreeland 794355
# This Prevents scripts/setlocalversion from mucking with our version numbers.
Justin Vreeland 794355
touch .scmversion
Justin Vreeland 794355
Justin Vreeland 794355
# Mangle /usr/bin/python shebangs to /usr/bin/python3
Justin Vreeland 794355
# Mangle all Python shebangs to be Python 3 explicitly
Justin Vreeland 794355
# -p preserves timestamps
Justin Vreeland 794355
# -n prevents creating ~backup files
Justin Vreeland 794355
# -i specifies the interpreter for the shebang
Justin Vreeland 794355
# This fixes errors such as
Justin Vreeland 794355
# *** ERROR: ambiguous python shebang in /usr/bin/kvm_stat: #!/usr/bin/python. Change it to python3 (or python2) explicitly.
Justin Vreeland 794355
# We patch all sources below for which we got a report/error.
Justin Vreeland 794355
pathfix.py -i "%{__python3} %{py3_shbang_opts}" -p -n \
Justin Vreeland 794355
	tools/kvm/kvm_stat/kvm_stat \
Justin Vreeland 794355
	scripts/show_delta \
Justin Vreeland 794355
	scripts/diffconfig \
Justin Vreeland 794355
	scripts/bloat-o-meter \
Justin Vreeland 794355
	scripts/jobserver-exec \
Justin Vreeland 794355
	tools \
Justin Vreeland 794355
	Documentation \
Justin Vreeland 794355
	scripts/clang-tools
Justin Vreeland 794355
Justin Vreeland 794355
# only deal with configs if we are going to build for the arch
Justin Vreeland 794355
%ifnarch %nobuildarches
Justin Vreeland 794355
Justin Vreeland 794355
if [ -L configs ]; then
Justin Vreeland 794355
	rm -f configs
Justin Vreeland 794355
fi
Justin Vreeland 794355
mkdir configs
Justin Vreeland 794355
cd configs
Justin Vreeland 794355
Justin Vreeland 794355
# Drop some necessary files from the source dir into the buildroot
Justin Vreeland 794355
cp $RPM_SOURCE_DIR/kernel-*.config .
Justin Vreeland 794355
cp %{SOURCE51} .
Justin Vreeland 794355
# merge.pl
Justin Vreeland 794355
cp %{SOURCE3000} .
Justin Vreeland 794355
# kernel-local
Justin Vreeland 794355
cp %{SOURCE3001} .
Justin Vreeland 794355
VERSION=%{version} ./generate_all_configs.sh %{primary_target} %{debugbuildsenabled}
Justin Vreeland 794355
Justin Vreeland 794355
# Merge in any user-provided local config option changes
Justin Vreeland 794355
%ifnarch %nobuildarches
Justin Vreeland 794355
for i in %{all_arch_configs}
Justin Vreeland 794355
do
Justin Vreeland 794355
  mv $i $i.tmp
Justin Vreeland 794355
  ./merge.pl %{SOURCE3001} $i.tmp > $i
Justin Vreeland 794355
  rm $i.tmp
Justin Vreeland 794355
done
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# enable GCOV kernel config options if gcov is on
Justin Vreeland 794355
%if %{with_gcov}
Justin Vreeland 794355
for i in *.config
Justin Vreeland 794355
do
Justin Vreeland 794355
  sed -i 's/# CONFIG_GCOV_KERNEL is not set/CONFIG_GCOV_KERNEL=y\nCONFIG_GCOV_PROFILE_ALL=y\n/' $i
Justin Vreeland 794355
done
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with clang_lto}
Justin Vreeland 794355
for i in *aarch64*.config *x86_64*.config; do
Justin Vreeland 794355
  sed -i 's/# CONFIG_LTO_CLANG_THIN is not set/CONFIG_LTO_CLANG_THIN=y/' $i
Justin Vreeland 794355
  sed -i 's/CONFIG_LTO_NONE=y/# CONFIG_LTO_NONE is not set/' $i
Justin Vreeland 794355
done
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# Add DUP and kpatch certificates to system trusted keys for RHEL
Justin Vreeland 794355
%if 0%{?rhel}
Justin Vreeland 794355
%if %{signkernel}%{signmodules}
Justin Vreeland 794355
openssl x509 -inform der -in %{SOURCE100} -out rheldup3.pem
Justin Vreeland 794355
openssl x509 -inform der -in %{SOURCE101} -out rhelkpatch1.pem
Justin Vreeland 794355
cat rheldup3.pem rhelkpatch1.pem > ../certs/rhel.pem
Justin Vreeland 794355
%ifarch s390x ppc64le
Justin Vreeland 794355
openssl x509 -inform der -in %{secureboot_ca_0} -out secureboot.pem
Justin Vreeland 794355
cat secureboot.pem >> ../certs/rhel.pem
Justin Vreeland 794355
%endif
Justin Vreeland 794355
for i in *.config; do
Justin Vreeland 794355
  sed -i 's@CONFIG_SYSTEM_TRUSTED_KEYS=""@CONFIG_SYSTEM_TRUSTED_KEYS="certs/rhel.pem"@' $i
Justin Vreeland 794355
done
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
cp %{SOURCE52} .
Justin Vreeland 794355
OPTS=""
Justin Vreeland 794355
%if %{with_configchecks}
Justin Vreeland 794355
	OPTS="$OPTS -w -n -c"
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%if %{with clang_lto}
Justin Vreeland 794355
for opt in %{clang_make_opts}; do
Justin Vreeland 794355
  OPTS="$OPTS -m $opt"
Justin Vreeland 794355
done
Justin Vreeland 794355
%endif
Justin Vreeland 794355
./process_configs.sh $OPTS kernel %{rpmversion}
Justin Vreeland 794355
Justin Vreeland 794355
cp %{SOURCE56} .
Justin Vreeland 794355
RPM_SOURCE_DIR=$RPM_SOURCE_DIR ./update_scripts.sh %{primary_target}
Justin Vreeland 794355
Justin Vreeland 794355
# end of kernel config
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
cd ..
Justin Vreeland 794355
# # End of Configs stuff
Justin Vreeland 794355
Justin Vreeland 794355
# get rid of unwanted files resulting from patch fuzz
Justin Vreeland 794355
find . \( -name "*.orig" -o -name "*~" \) -delete >/dev/null
Justin Vreeland 794355
Justin Vreeland 794355
# remove unnecessary SCM files
Justin Vreeland 794355
find . -name .gitignore -delete >/dev/null
Justin Vreeland 794355
Justin Vreeland 794355
cd ..
Justin Vreeland 794355
Justin Vreeland 794355
###
Justin Vreeland 794355
### build
Justin Vreeland 794355
###
Justin Vreeland 794355
%build
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_sparse}
Justin Vreeland 794355
%define sparse_mflags	C=1
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
cp_vmlinux()
Justin Vreeland 794355
{
Justin Vreeland 794355
  eu-strip --remove-comment -o "$2" "$1"
Justin Vreeland 794355
}
Justin Vreeland 794355
Justin Vreeland 794355
# Note we need to disable these flags for cross builds because the flags
Justin Vreeland 794355
# from redhat-rpm-config assume that host == target so target arch
Justin Vreeland 794355
# flags cause issues with the host compiler.
Justin Vreeland 794355
%if !%{with_cross}
Justin Vreeland 794355
%define build_hostcflags  %{?build_cflags}
Justin Vreeland 794355
%define build_hostldflags %{?build_ldflags}
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%define make %{__make} %{?cross_opts} %{?make_opts} HOSTCFLAGS="%{?build_hostcflags}" HOSTLDFLAGS="%{?build_hostldflags}"
Justin Vreeland 794355
Justin Vreeland 794355
InitBuildVars() {
Justin Vreeland 794355
    # Initialize the kernel .config file and create some variables that are
Justin Vreeland 794355
    # needed for the actual build process.
Justin Vreeland 794355
Justin Vreeland 794355
    Variant=$1
Justin Vreeland 794355
Justin Vreeland 794355
    # Pick the right kernel config file
Justin Vreeland 794355
    Config=kernel-%{version}-%{_target_cpu}${Variant:+-${Variant}}.config
Justin Vreeland 794355
    DevelDir=/usr/src/kernels/%{KVERREL}${Variant:++${Variant}}
Justin Vreeland 794355
Justin Vreeland 794355
    KernelVer=%{version}-%{release}.%{_target_cpu}${Variant:++${Variant}}
Justin Vreeland 794355
Justin Vreeland 794355
    # make sure EXTRAVERSION says what we want it to say
Justin Vreeland 794355
    # Trim the release if this is a CI build, since KERNELVERSION is limited to 64 characters
Justin Vreeland 794355
    ShortRel=$(perl -e "print \"%{release}\" =~ s/\.pr\.[0-9A-Fa-f]{32}//r")
Justin Vreeland 794355
    perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -${ShortRel}.%{_target_cpu}${Variant:++${Variant}}/" Makefile
Justin Vreeland 794355
Justin Vreeland 794355
    # if pre-rc1 devel kernel, must fix up PATCHLEVEL for our versioning scheme
Justin Vreeland 794355
    # if we are post rc1 this should match anyway so this won't matter
Justin Vreeland 794355
    perl -p -i -e 's/^PATCHLEVEL.*/PATCHLEVEL = %{patchlevel}/' Makefile
Justin Vreeland 794355
Justin Vreeland 794355
    %{make} %{?_smp_mflags} mrproper
Justin Vreeland 794355
    cp configs/$Config .config
Justin Vreeland 794355
Justin Vreeland 794355
    %if %{signkernel}%{signmodules}
Justin Vreeland 794355
    cp $RPM_SOURCE_DIR/x509.genkey certs/.
Justin Vreeland 794355
    %endif
Justin Vreeland 794355
Justin Vreeland 794355
    Arch=`head -1 .config | cut -b 3-`
Justin Vreeland 794355
    echo USING ARCH=$Arch
Justin Vreeland 794355
Justin Vreeland 794355
    KCFLAGS="%{?kcflags}"
Justin Vreeland 794355
Justin Vreeland 794355
    # add kpatch flags for base kernel
Justin Vreeland 794355
    if [ "$Variant" == "" ]; then
Justin Vreeland 794355
        KCFLAGS="$KCFLAGS %{?kpatch_kcflags}"
Justin Vreeland 794355
    fi
Justin Vreeland 794355
}
Justin Vreeland 794355
Justin Vreeland 794355
BuildKernel() {
Justin Vreeland 794355
    MakeTarget=$1
Justin Vreeland 794355
    KernelImage=$2
Justin Vreeland 794355
    DoVDSO=$3
Justin Vreeland 794355
    Variant=$4
Justin Vreeland 794355
    InstallName=${5:-vmlinuz}
Justin Vreeland 794355
Justin Vreeland 794355
    DoModules=1
Justin Vreeland 794355
    if [ "$Variant" = "zfcpdump" ]; then
Justin Vreeland 794355
	    DoModules=0
Justin Vreeland 794355
    fi
Justin Vreeland 794355
Justin Vreeland 794355
    # When the bootable image is just the ELF kernel, strip it.
Justin Vreeland 794355
    # We already copy the unstripped file into the debuginfo package.
Justin Vreeland 794355
    if [ "$KernelImage" = vmlinux ]; then
Justin Vreeland 794355
      CopyKernel=cp_vmlinux
Justin Vreeland 794355
    else
Justin Vreeland 794355
      CopyKernel=cp
Justin Vreeland 794355
    fi
Justin Vreeland 794355
Justin Vreeland 794355
    InitBuildVars $Variant
Justin Vreeland 794355
Justin Vreeland 794355
    echo BUILDING A KERNEL FOR ${Variant} %{_target_cpu}...
Justin Vreeland 794355
Justin Vreeland 794355
    %{make} ARCH=$Arch olddefconfig >/dev/null
Justin Vreeland 794355
Justin Vreeland 794355
    # This ensures build-ids are unique to allow parallel debuginfo
Justin Vreeland 794355
    perl -p -i -e "s/^CONFIG_BUILD_SALT.*/CONFIG_BUILD_SALT=\"%{KVERREL}\"/" .config
Justin Vreeland 794355
    %{make} ARCH=$Arch KCFLAGS="$KCFLAGS" WITH_GCOV="%{?with_gcov}" %{?_smp_mflags} $MakeTarget %{?sparse_mflags} %{?kernel_mflags}
Justin Vreeland 794355
    if [ $DoModules -eq 1 ]; then
Justin Vreeland 794355
	%{make} ARCH=$Arch KCFLAGS="$KCFLAGS" WITH_GCOV="%{?with_gcov}" %{?_smp_mflags} modules %{?sparse_mflags} || exit 1
Justin Vreeland 794355
    fi
Justin Vreeland 794355
Justin Vreeland 794355
    mkdir -p $RPM_BUILD_ROOT/%{image_install_path}
Justin Vreeland 794355
    mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer
Justin Vreeland 794355
%if %{with_debuginfo}
Justin Vreeland 794355
    mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/%{image_install_path}
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%ifarch %{arm} aarch64
Justin Vreeland 794355
    %{make} ARCH=$Arch dtbs INSTALL_DTBS_PATH=$RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer
Justin Vreeland 794355
    %{make} ARCH=$Arch dtbs_install INSTALL_DTBS_PATH=$RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer
Justin Vreeland 794355
    cp -r $RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer $RPM_BUILD_ROOT/lib/modules/$KernelVer/dtb
Justin Vreeland 794355
    find arch/$Arch/boot/dts -name '*.dtb' -type f -delete
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
    # Start installing the results
Justin Vreeland 794355
    install -m 644 .config $RPM_BUILD_ROOT/boot/config-$KernelVer
Justin Vreeland 794355
    install -m 644 .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/config
Justin Vreeland 794355
    install -m 644 System.map $RPM_BUILD_ROOT/boot/System.map-$KernelVer
Justin Vreeland 794355
    install -m 644 System.map $RPM_BUILD_ROOT/lib/modules/$KernelVer/System.map
Justin Vreeland 794355
Justin Vreeland 794355
    # We estimate the size of the initramfs because rpm needs to take this size
Justin Vreeland 794355
    # into consideration when performing disk space calculations. (See bz #530778)
Justin Vreeland 794355
    dd if=/dev/zero of=$RPM_BUILD_ROOT/boot/initramfs-$KernelVer.img bs=1M count=20
Justin Vreeland 794355
Justin Vreeland 794355
    if [ -f arch/$Arch/boot/zImage.stub ]; then
Justin Vreeland 794355
      cp arch/$Arch/boot/zImage.stub $RPM_BUILD_ROOT/%{image_install_path}/zImage.stub-$KernelVer || :
Justin Vreeland 794355
      cp arch/$Arch/boot/zImage.stub $RPM_BUILD_ROOT/lib/modules/$KernelVer/zImage.stub-$KernelVer || :
Justin Vreeland 794355
    fi
Justin Vreeland 794355
Justin Vreeland 794355
    %if %{signkernel}
Justin Vreeland 794355
    if [ "$KernelImage" = vmlinux ]; then
Justin Vreeland 794355
        # We can't strip and sign $KernelImage in place, because
Justin Vreeland 794355
        # we need to preserve original vmlinux for debuginfo.
Justin Vreeland 794355
        # Use a copy for signing.
Justin Vreeland 794355
        $CopyKernel $KernelImage $KernelImage.tosign
Justin Vreeland 794355
        KernelImage=$KernelImage.tosign
Justin Vreeland 794355
        CopyKernel=cp
Justin Vreeland 794355
    fi
Justin Vreeland 794355
Justin Vreeland 794355
    # Sign the image if we're using EFI
Justin Vreeland 794355
    # aarch64 kernels are gziped EFI images
Justin Vreeland 794355
    KernelExtension=${KernelImage##*.}
Justin Vreeland 794355
    if [ "$KernelExtension" == "gz" ]; then
Justin Vreeland 794355
        SignImage=${KernelImage%.*}
Justin Vreeland 794355
    else
Justin Vreeland 794355
        SignImage=$KernelImage
Justin Vreeland 794355
    fi
Justin Vreeland 794355
Justin Vreeland 794355
    %ifarch x86_64 aarch64
Justin Vreeland 794355
    %pesign -s -i $SignImage -o vmlinuz.signed -a %{secureboot_ca_0} -c %{secureboot_key_0} -n %{pesign_name_0}
Justin Vreeland 794355
    %endif
Justin Vreeland 794355
    %ifarch s390x ppc64le
Justin Vreeland 794355
    if [ -x /usr/bin/rpm-sign ]; then
Justin Vreeland 794355
	rpm-sign --key "%{pesign_name_0}" --lkmsign $SignImage --output vmlinuz.signed
Justin Vreeland 794355
    elif [ $DoModules -eq 1 ]; then
Justin Vreeland 794355
	chmod +x scripts/sign-file
Justin Vreeland 794355
	./scripts/sign-file -p sha256 certs/signing_key.pem certs/signing_key.x509 $SignImage vmlinuz.signed
Justin Vreeland 794355
    else
Justin Vreeland 794355
	mv $SignImage vmlinuz.signed
Justin Vreeland 794355
    fi
Justin Vreeland 794355
    %endif
Justin Vreeland 794355
Justin Vreeland 794355
    if [ ! -s vmlinuz.signed ]; then
Justin Vreeland 794355
        echo "pesigning failed"
Justin Vreeland 794355
        exit 1
Justin Vreeland 794355
    fi
Justin Vreeland 794355
    mv vmlinuz.signed $SignImage
Justin Vreeland 794355
    if [ "$KernelExtension" == "gz" ]; then
Justin Vreeland 794355
        gzip -f9 $SignImage
Justin Vreeland 794355
    fi
Justin Vreeland 794355
    # signkernel
Justin Vreeland 794355
    %endif
Justin Vreeland 794355
Justin Vreeland 794355
    $CopyKernel $KernelImage \
Justin Vreeland 794355
                $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
Justin Vreeland 794355
    chmod 755 $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
Justin Vreeland 794355
    cp $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer $RPM_BUILD_ROOT/lib/modules/$KernelVer/$InstallName
Justin Vreeland 794355
Justin Vreeland 794355
    # hmac sign the kernel for FIPS
Justin Vreeland 794355
    echo "Creating hmac file: $RPM_BUILD_ROOT/%{image_install_path}/.vmlinuz-$KernelVer.hmac"
Justin Vreeland 794355
    ls -l $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
Justin Vreeland 794355
    sha512hmac $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer | sed -e "s,$RPM_BUILD_ROOT,," > $RPM_BUILD_ROOT/%{image_install_path}/.vmlinuz-$KernelVer.hmac;
Justin Vreeland 794355
    cp $RPM_BUILD_ROOT/%{image_install_path}/.vmlinuz-$KernelVer.hmac $RPM_BUILD_ROOT/lib/modules/$KernelVer/.vmlinuz.hmac
Justin Vreeland 794355
Justin Vreeland 794355
    if [ $DoModules -eq 1 ]; then
Justin Vreeland 794355
	# Override $(mod-fw) because we don't want it to install any firmware
Justin Vreeland 794355
	# we'll get it from the linux-firmware package and we don't want conflicts
Justin Vreeland 794355
	%{make} %{?_smp_mflags} ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT %{?_smp_mflags} modules_install KERNELRELEASE=$KernelVer mod-fw=
Justin Vreeland 794355
    fi
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_gcov}
Justin Vreeland 794355
    # install gcov-needed files to $BUILDROOT/$BUILD/...:
Justin Vreeland 794355
    #   gcov_info->filename is absolute path
Justin Vreeland 794355
    #   gcno references to sources can use absolute paths (e.g. in out-of-tree builds)
Justin Vreeland 794355
    #   sysfs symlink targets (set up at compile time) use absolute paths to BUILD dir
Justin Vreeland 794355
    find . \( -name '*.gcno' -o -name '*.[chS]' \) -exec install -D '{}' "$RPM_BUILD_ROOT/$(pwd)/{}" \;
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
    # add an a noop %%defattr statement 'cause rpm doesn't like empty file list files
Justin Vreeland 794355
    echo '%%defattr(-,-,-)' > ../kernel${Variant:+-${Variant}}-ldsoconf.list
Justin Vreeland 794355
    if [ $DoVDSO -ne 0 ]; then
Justin Vreeland 794355
        %{make} ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT vdso_install KERNELRELEASE=$KernelVer
Justin Vreeland 794355
        if [ -s ldconfig-kernel.conf ]; then
Justin Vreeland 794355
             install -D -m 444 ldconfig-kernel.conf \
Justin Vreeland 794355
                $RPM_BUILD_ROOT/etc/ld.so.conf.d/kernel-$KernelVer.conf
Justin Vreeland 794355
	     echo /etc/ld.so.conf.d/kernel-$KernelVer.conf >> ../kernel${Variant:+-${Variant}}-ldsoconf.list
Justin Vreeland 794355
        fi
Justin Vreeland 794355
Justin Vreeland 794355
        rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/vdso/.build-id
Justin Vreeland 794355
    fi
Justin Vreeland 794355
Justin Vreeland 794355
    # And save the headers/makefiles etc for building modules against
Justin Vreeland 794355
    #
Justin Vreeland 794355
    # This all looks scary, but the end result is supposed to be:
Justin Vreeland 794355
    # * all arch relevant include/ files
Justin Vreeland 794355
    # * all Makefile/Kconfig files
Justin Vreeland 794355
    # * all script/ files
Justin Vreeland 794355
Justin Vreeland 794355
    rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/source
Justin Vreeland 794355
    mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    (cd $RPM_BUILD_ROOT/lib/modules/$KernelVer ; ln -s build source)
Justin Vreeland 794355
    # dirs for additional modules per module-init-tools, kbuild/modules.txt
Justin Vreeland 794355
    mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/updates
Justin Vreeland 794355
    mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/weak-updates
Justin Vreeland 794355
    # CONFIG_KERNEL_HEADER_TEST generates some extra files in the process of
Justin Vreeland 794355
    # testing so just delete
Justin Vreeland 794355
    find . -name *.h.s -delete
Justin Vreeland 794355
    # first copy everything
Justin Vreeland 794355
    cp --parents `find  -type f -name "Makefile*" -o -name "Kconfig*"` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    if [ ! -e Module.symvers ]; then
Justin Vreeland 794355
        touch Module.symvers
Justin Vreeland 794355
    fi
Justin Vreeland 794355
    cp Module.symvers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp System.map $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    if [ -s Module.markers ]; then
Justin Vreeland 794355
      cp Module.markers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    fi
Justin Vreeland 794355
Justin Vreeland 794355
    # create the kABI metadata for use in packaging
Justin Vreeland 794355
    # NOTENOTE: the name symvers is used by the rpm backend
Justin Vreeland 794355
    # NOTENOTE: to discover and run the /usr/lib/rpm/fileattrs/kabi.attr
Justin Vreeland 794355
    # NOTENOTE: script which dynamically adds exported kernel symbol
Justin Vreeland 794355
    # NOTENOTE: checksums to the rpm metadata provides list.
Justin Vreeland 794355
    # NOTENOTE: if you change the symvers name, update the backend too
Justin Vreeland 794355
    echo "**** GENERATING kernel ABI metadata ****"
Justin Vreeland 794355
    gzip -c9 < Module.symvers > $RPM_BUILD_ROOT/boot/symvers-$KernelVer.gz
Justin Vreeland 794355
    cp $RPM_BUILD_ROOT/boot/symvers-$KernelVer.gz $RPM_BUILD_ROOT/lib/modules/$KernelVer/symvers.gz
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_kabichk}
Justin Vreeland 794355
    echo "**** kABI checking is enabled in kernel SPEC file. ****"
Justin Vreeland 794355
    chmod 0755 $RPM_SOURCE_DIR/check-kabi
Justin Vreeland 794355
    if [ -e $RPM_SOURCE_DIR/Module.kabi_%{_target_cpu}$Variant ]; then
Justin Vreeland 794355
        cp $RPM_SOURCE_DIR/Module.kabi_%{_target_cpu}$Variant $RPM_BUILD_ROOT/Module.kabi
Justin Vreeland 794355
        $RPM_SOURCE_DIR/check-kabi -k $RPM_BUILD_ROOT/Module.kabi -s Module.symvers || exit 1
Justin Vreeland 794355
        # for now, don't keep it around.
Justin Vreeland 794355
        rm $RPM_BUILD_ROOT/Module.kabi
Justin Vreeland 794355
    else
Justin Vreeland 794355
        echo "**** NOTE: Cannot find reference Module.kabi file. ****"
Justin Vreeland 794355
    fi
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_kabidupchk}
Justin Vreeland 794355
    echo "**** kABI DUP checking is enabled in kernel SPEC file. ****"
Justin Vreeland 794355
    if [ -e $RPM_SOURCE_DIR/Module.kabi_dup_%{_target_cpu}$Variant ]; then
Justin Vreeland 794355
        cp $RPM_SOURCE_DIR/Module.kabi_dup_%{_target_cpu}$Variant $RPM_BUILD_ROOT/Module.kabi
Justin Vreeland 794355
        $RPM_SOURCE_DIR/check-kabi -k $RPM_BUILD_ROOT/Module.kabi -s Module.symvers || exit 1
Justin Vreeland 794355
        # for now, don't keep it around.
Justin Vreeland 794355
        rm $RPM_BUILD_ROOT/Module.kabi
Justin Vreeland 794355
    else
Justin Vreeland 794355
        echo "**** NOTE: Cannot find DUP reference Module.kabi file. ****"
Justin Vreeland 794355
    fi
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_kabidw_base}
Justin Vreeland 794355
    # Don't build kabi base for debug kernels
Justin Vreeland 794355
    if [ "$Variant" != "zfcpdump" -a "$Variant" != "debug" ]; then
Justin Vreeland 794355
        mkdir -p $RPM_BUILD_ROOT/kabi-dwarf
Justin Vreeland 794355
        tar xjvf %{SOURCE301} -C $RPM_BUILD_ROOT/kabi-dwarf
Justin Vreeland 794355
Justin Vreeland 794355
        mkdir -p $RPM_BUILD_ROOT/kabi-dwarf/stablelists
Justin Vreeland 794355
        tar xjvf %{SOURCE300} -C $RPM_BUILD_ROOT/kabi-dwarf/stablelists
Justin Vreeland 794355
Justin Vreeland 794355
        echo "**** GENERATING DWARF-based kABI baseline dataset ****"
Justin Vreeland 794355
        chmod 0755 $RPM_BUILD_ROOT/kabi-dwarf/run_kabi-dw.sh
Justin Vreeland 794355
        $RPM_BUILD_ROOT/kabi-dwarf/run_kabi-dw.sh generate \
Justin Vreeland 794355
            "$RPM_BUILD_ROOT/kabi-dwarf/stablelists/kabi-current/kabi_stablelist_%{_target_cpu}" \
Justin Vreeland 794355
            "$(pwd)" \
Justin Vreeland 794355
            "$RPM_BUILD_ROOT/kabidw-base/%{_target_cpu}${Variant:+.${Variant}}" || :
Justin Vreeland 794355
Justin Vreeland 794355
        rm -rf $RPM_BUILD_ROOT/kabi-dwarf
Justin Vreeland 794355
    fi
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_kabidwchk}
Justin Vreeland 794355
    if [ "$Variant" != "zfcpdump" ]; then
Justin Vreeland 794355
        mkdir -p $RPM_BUILD_ROOT/kabi-dwarf
Justin Vreeland 794355
        tar xjvf %{SOURCE301} -C $RPM_BUILD_ROOT/kabi-dwarf
Justin Vreeland 794355
        if [ -d "$RPM_BUILD_ROOT/kabi-dwarf/base/%{_target_cpu}${Variant:+.${Variant}}" ]; then
Justin Vreeland 794355
            mkdir -p $RPM_BUILD_ROOT/kabi-dwarf/stablelists
Justin Vreeland 794355
            tar xjvf %{SOURCE300} -C $RPM_BUILD_ROOT/kabi-dwarf/stablelists
Justin Vreeland 794355
Justin Vreeland 794355
            echo "**** GENERATING DWARF-based kABI dataset ****"
Justin Vreeland 794355
            chmod 0755 $RPM_BUILD_ROOT/kabi-dwarf/run_kabi-dw.sh
Justin Vreeland 794355
            $RPM_BUILD_ROOT/kabi-dwarf/run_kabi-dw.sh generate \
Justin Vreeland 794355
                "$RPM_BUILD_ROOT/kabi-dwarf/stablelists/kabi-current/kabi_stablelist_%{_target_cpu}" \
Justin Vreeland 794355
                "$(pwd)" \
Justin Vreeland 794355
                "$RPM_BUILD_ROOT/kabi-dwarf/base/%{_target_cpu}${Variant:+.${Variant}}.tmp" || :
Justin Vreeland 794355
Justin Vreeland 794355
            echo "**** kABI DWARF-based comparison report ****"
Justin Vreeland 794355
            $RPM_BUILD_ROOT/kabi-dwarf/run_kabi-dw.sh compare \
Justin Vreeland 794355
                "$RPM_BUILD_ROOT/kabi-dwarf/base/%{_target_cpu}${Variant:+.${Variant}}" \
Justin Vreeland 794355
                "$RPM_BUILD_ROOT/kabi-dwarf/base/%{_target_cpu}${Variant:+.${Variant}}.tmp" || :
Justin Vreeland 794355
            echo "**** End of kABI DWARF-based comparison report ****"
Justin Vreeland 794355
        else
Justin Vreeland 794355
            echo "**** Baseline dataset for kABI DWARF-BASED comparison report not found ****"
Justin Vreeland 794355
        fi
Justin Vreeland 794355
Justin Vreeland 794355
        rm -rf $RPM_BUILD_ROOT/kabi-dwarf
Justin Vreeland 794355
    fi
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
    # then drop all but the needed Makefiles/Kconfig files
Justin Vreeland 794355
    rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts
Justin Vreeland 794355
    rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
Justin Vreeland 794355
    cp .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp -a scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/tracing
Justin Vreeland 794355
    rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/spdxcheck.py
Justin Vreeland 794355
Justin Vreeland 794355
    # Files for 'make scripts' to succeed with kernel-devel.
Justin Vreeland 794355
    mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/security/selinux/include
Justin Vreeland 794355
    cp -a --parents security/selinux/include/classmap.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp -a --parents security/selinux/include/initial_sid_to_string.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/tools/include/tools
Justin Vreeland 794355
    cp -a --parents tools/include/tools/be_byteshift.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp -a --parents tools/include/tools/le_byteshift.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
Justin Vreeland 794355
    # Files for 'make prepare' to succeed with kernel-devel.
Justin Vreeland 794355
    cp -a --parents tools/include/linux/compiler* $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp -a --parents tools/include/linux/types.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp -a --parents tools/build/Build.include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp --parents tools/build/Build $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp --parents tools/build/fixdep.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp --parents tools/objtool/sync-check.sh $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp -a --parents tools/bpf/resolve_btfids $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
Justin Vreeland 794355
    cp --parents security/selinux/include/policycap_names.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp --parents security/selinux/include/policycap.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
Justin Vreeland 794355
    cp -a --parents tools/include/asm-generic $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp -a --parents tools/include/linux $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp -a --parents tools/include/uapi/asm $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp -a --parents tools/include/uapi/asm-generic $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp -a --parents tools/include/uapi/linux $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp -a --parents tools/include/vdso $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp --parents tools/scripts/utilities.mak $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp -a --parents tools/lib/subcmd $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp --parents tools/lib/*.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp --parents tools/objtool/*.[ch] $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp --parents tools/objtool/Build $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp --parents tools/objtool/include/objtool/*.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp -a --parents tools/lib/bpf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp --parents tools/lib/bpf/Build $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
Justin Vreeland 794355
    if [ -f tools/objtool/objtool ]; then
Justin Vreeland 794355
      cp -a tools/objtool/objtool $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/tools/objtool/ || :
Justin Vreeland 794355
    fi
Justin Vreeland 794355
    if [ -f tools/objtool/fixdep ]; then
Justin Vreeland 794355
      cp -a tools/objtool/fixdep $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/tools/objtool/ || :
Justin Vreeland 794355
    fi
Justin Vreeland 794355
    if [ -d arch/$Arch/scripts ]; then
Justin Vreeland 794355
      cp -a arch/$Arch/scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch} || :
Justin Vreeland 794355
    fi
Justin Vreeland 794355
    if [ -f arch/$Arch/*lds ]; then
Justin Vreeland 794355
      cp -a arch/$Arch/*lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch}/ || :
Justin Vreeland 794355
    fi
Justin Vreeland 794355
    if [ -f arch/%{asmarch}/kernel/module.lds ]; then
Justin Vreeland 794355
      cp -a --parents arch/%{asmarch}/kernel/module.lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
    fi
Justin Vreeland 794355
    find $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts \( -iname "*.o" -o -iname "*.cmd" \) -exec rm -f {} +
Justin Vreeland 794355
%ifarch ppc64le
Justin Vreeland 794355
    cp -a --parents arch/powerpc/lib/crtsavres.[So] $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
%endif
Justin Vreeland 794355
    if [ -d arch/%{asmarch}/include ]; then
Justin Vreeland 794355
      cp -a --parents arch/%{asmarch}/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
    fi
Justin Vreeland 794355
%ifarch aarch64
Justin Vreeland 794355
    # arch/arm64/include/asm/xen references arch/arm
Justin Vreeland 794355
    cp -a --parents arch/arm/include/asm/xen $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
    # arch/arm64/include/asm/opcodes.h references arch/arm
Justin Vreeland 794355
    cp -a --parents arch/arm/include/asm/opcodes.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
%endif
Justin Vreeland 794355
    # include the machine specific headers for ARM variants, if available.
Justin Vreeland 794355
%ifarch %{arm}
Justin Vreeland 794355
    if [ -d arch/%{asmarch}/mach-${Variant}/include ]; then
Justin Vreeland 794355
      cp -a --parents arch/%{asmarch}/mach-${Variant}/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
    fi
Justin Vreeland 794355
    # include a few files for 'make prepare'
Justin Vreeland 794355
    cp -a --parents arch/arm/tools/gen-mach-types $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
    cp -a --parents arch/arm/tools/mach-types $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
Justin Vreeland 794355
%endif
Justin Vreeland 794355
    cp -a include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
Justin Vreeland 794355
%ifarch i686 x86_64
Justin Vreeland 794355
    # files for 'make prepare' to succeed with kernel-devel
Justin Vreeland 794355
    cp -a --parents arch/x86/entry/syscalls/syscall_32.tbl $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
    cp -a --parents arch/x86/entry/syscalls/syscall_64.tbl $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
    cp -a --parents arch/x86/tools/relocs_32.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
    cp -a --parents arch/x86/tools/relocs_64.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
    cp -a --parents arch/x86/tools/relocs.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
    cp -a --parents arch/x86/tools/relocs_common.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
    cp -a --parents arch/x86/tools/relocs.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
    cp -a --parents arch/x86/purgatory/purgatory.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
    cp -a --parents arch/x86/purgatory/stack.S $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
    cp -a --parents arch/x86/purgatory/setup-x86_64.S $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
    cp -a --parents arch/x86/purgatory/entry64.S $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
    cp -a --parents arch/x86/boot/string.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
    cp -a --parents arch/x86/boot/string.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
    cp -a --parents arch/x86/boot/ctype.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
Justin Vreeland 794355
    cp -a --parents scripts/syscalltbl.sh $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
    cp -a --parents scripts/syscallhdr.sh $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
Justin Vreeland 794355
Justin Vreeland 794355
    cp -a --parents tools/arch/x86/include/asm $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp -a --parents tools/arch/x86/include/uapi/asm $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp -a --parents tools/objtool/arch/x86/lib $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp -a --parents tools/arch/x86/lib/ $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp -a --parents tools/arch/x86/tools/gen-insn-attr-x86.awk $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
    cp -a --parents tools/objtool/arch/x86/ $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
Justin Vreeland 794355
%endif
Justin Vreeland 794355
    # Clean up intermediate tools files
Justin Vreeland 794355
    find $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/tools \( -iname "*.o" -o -iname "*.cmd" \) -exec rm -f {} +
Justin Vreeland 794355
Justin Vreeland 794355
    # Make sure the Makefile and version.h have a matching timestamp so that
Justin Vreeland 794355
    # external modules can be built
Justin Vreeland 794355
    touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Makefile $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/generated/uapi/linux/version.h
Justin Vreeland 794355
Justin Vreeland 794355
    # Copy .config to include/config/auto.conf so "make prepare" is unnecessary.
Justin Vreeland 794355
    cp $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/config/auto.conf
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_debuginfo}
Justin Vreeland 794355
    eu-readelf -n vmlinux | grep "Build ID" | awk '{print $NF}' > vmlinux.id
Justin Vreeland 794355
    cp vmlinux.id $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/vmlinux.id
Justin Vreeland 794355
Justin Vreeland 794355
    #
Justin Vreeland 794355
    # save the vmlinux file for kernel debugging into the kernel-debuginfo rpm
Justin Vreeland 794355
    #
Justin Vreeland 794355
    mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer
Justin Vreeland 794355
    cp vmlinux $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer
Justin Vreeland 794355
    if [ -n "%{vmlinux_decompressor}" ]; then
Justin Vreeland 794355
	    eu-readelf -n  %{vmlinux_decompressor} | grep "Build ID" | awk '{print $NF}' > vmlinux.decompressor.id
Justin Vreeland 794355
	    # Without build-id the build will fail. But for s390 the build-id
Justin Vreeland 794355
	    # wasn't added before 5.11. In case it is missing prefer not
Justin Vreeland 794355
	    # packaging the debuginfo over a build failure.
Justin Vreeland 794355
	    if [ -s vmlinux.decompressor.id ]; then
Justin Vreeland 794355
		    cp vmlinux.decompressor.id $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/vmlinux.decompressor.id
Justin Vreeland 794355
		    cp %{vmlinux_decompressor} $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer/vmlinux.decompressor
Justin Vreeland 794355
	    fi
Justin Vreeland 794355
    fi
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
    find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name "*.ko" -type f >modnames
Justin Vreeland 794355
Justin Vreeland 794355
    # mark modules executable so that strip-to-file can strip them
Justin Vreeland 794355
    xargs --no-run-if-empty chmod u+x < modnames
Justin Vreeland 794355
Justin Vreeland 794355
    # Generate a list of modules for block and networking.
Justin Vreeland 794355
Justin Vreeland 794355
    grep -F /drivers/ modnames | xargs --no-run-if-empty nm -upA |
Justin Vreeland 794355
    sed -n 's,^.*/\([^/]*\.ko\):  *U \(.*\)$,\1 \2,p' > drivers.undef
Justin Vreeland 794355
Justin Vreeland 794355
    collect_modules_list()
Justin Vreeland 794355
    {
Justin Vreeland 794355
      sed -r -n -e "s/^([^ ]+) \\.?($2)\$/\\1/p" drivers.undef |
Justin Vreeland 794355
        LC_ALL=C sort -u > $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1
Justin Vreeland 794355
      if [ ! -z "$3" ]; then
Justin Vreeland 794355
        sed -r -e "/^($3)\$/d" -i $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1
Justin Vreeland 794355
      fi
Justin Vreeland 794355
    }
Justin Vreeland 794355
Justin Vreeland 794355
    collect_modules_list networking \
Justin Vreeland 794355
      'register_netdev|ieee80211_register_hw|usbnet_probe|phy_driver_register|rt(l_|2x00)(pci|usb)_probe|register_netdevice'
Justin Vreeland 794355
    collect_modules_list block \
Justin Vreeland 794355
      'ata_scsi_ioctl|scsi_add_host|scsi_add_host_with_dma|blk_alloc_queue|blk_init_queue|register_mtd_blktrans|scsi_esp_register|scsi_register_device_handler|blk_queue_physical_block_size' 'pktcdvd.ko|dm-mod.ko'
Justin Vreeland 794355
    collect_modules_list drm \
Justin Vreeland 794355
      'drm_open|drm_init'
Justin Vreeland 794355
    collect_modules_list modesetting \
Justin Vreeland 794355
      'drm_crtc_init'
Justin Vreeland 794355
Justin Vreeland 794355
    # detect missing or incorrect license tags
Justin Vreeland 794355
    ( find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name '*.ko' | xargs /sbin/modinfo -l | \
Justin Vreeland 794355
        grep -E -v 'GPL( v2)?$|Dual BSD/GPL$|Dual MPL/GPL$|GPL and additional rights$' ) && exit 1
Justin Vreeland 794355
Justin Vreeland 794355
    remove_depmod_files()
Justin Vreeland 794355
    {
Justin Vreeland 794355
        # remove files that will be auto generated by depmod at rpm -i time
Justin Vreeland 794355
        pushd $RPM_BUILD_ROOT/lib/modules/$KernelVer/
Justin Vreeland 794355
            rm -f modules.{alias,alias.bin,builtin.alias.bin,builtin.bin} \
Justin Vreeland 794355
                  modules.{dep,dep.bin,devname,softdep,symbols,symbols.bin}
Justin Vreeland 794355
        popd
Justin Vreeland 794355
    }
Justin Vreeland 794355
Justin Vreeland 794355
    remove_depmod_files
Justin Vreeland 794355
Justin Vreeland 794355
    # Identify modules in the kernel-modules-extras package
Justin Vreeland 794355
    %{SOURCE17} $RPM_BUILD_ROOT lib/modules/$KernelVer $RPM_SOURCE_DIR/mod-extra.list
Justin Vreeland 794355
    # Identify modules in the kernel-modules-extras package
Justin Vreeland 794355
    %{SOURCE17} $RPM_BUILD_ROOT lib/modules/$KernelVer %{SOURCE54} internal
Justin Vreeland 794355
Justin Vreeland 794355
    #
Justin Vreeland 794355
    # Generate the kernel-core and kernel-modules files lists
Justin Vreeland 794355
    #
Justin Vreeland 794355
Justin Vreeland 794355
    # Copy the System.map file for depmod to use, and create a backup of the
Justin Vreeland 794355
    # full module tree so we can restore it after we're done filtering
Justin Vreeland 794355
    cp System.map $RPM_BUILD_ROOT/.
Justin Vreeland 794355
    pushd $RPM_BUILD_ROOT
Justin Vreeland 794355
    mkdir restore
Justin Vreeland 794355
    cp -r lib/modules/$KernelVer/* restore/.
Justin Vreeland 794355
Justin Vreeland 794355
    # don't include anything going into kernel-modules-extra in the file lists
Justin Vreeland 794355
    xargs rm -rf < mod-extra.list
Justin Vreeland 794355
    # don't include anything going int kernel-modules-internal in the file lists
Justin Vreeland 794355
    xargs rm -rf < mod-internal.list
Justin Vreeland 794355
Justin Vreeland 794355
    if [ $DoModules -eq 1 ]; then
Justin Vreeland 794355
	# Find all the module files and filter them out into the core and
Justin Vreeland 794355
	# modules lists.  This actually removes anything going into -modules
Justin Vreeland 794355
	# from the dir.
Justin Vreeland 794355
	find lib/modules/$KernelVer/kernel -name *.ko | sort -n > modules.list
Justin Vreeland 794355
	cp $RPM_SOURCE_DIR/filter-*.sh .
Justin Vreeland 794355
	./filter-modules.sh modules.list %{_target_cpu}
Justin Vreeland 794355
	rm filter-*.sh
Justin Vreeland 794355
Justin Vreeland 794355
	# Run depmod on the resulting module tree and make sure it isn't broken
Justin Vreeland 794355
	depmod -b . -aeF ./System.map $KernelVer &> depmod.out
Justin Vreeland 794355
	if [ -s depmod.out ]; then
Justin Vreeland 794355
	    echo "Depmod failure"
Justin Vreeland 794355
	    cat depmod.out
Justin Vreeland 794355
	    exit 1
Justin Vreeland 794355
	else
Justin Vreeland 794355
	    rm depmod.out
Justin Vreeland 794355
	fi
Justin Vreeland 794355
    else
Justin Vreeland 794355
	# Ensure important files/directories exist to let the packaging succeed
Justin Vreeland 794355
	echo '%%defattr(-,-,-)' > modules.list
Justin Vreeland 794355
	echo '%%defattr(-,-,-)' > k-d.list
Justin Vreeland 794355
	mkdir -p lib/modules/$KernelVer/kernel
Justin Vreeland 794355
	# Add files usually created by make modules, needed to prevent errors
Justin Vreeland 794355
	# thrown by depmod during package installation
Justin Vreeland 794355
	touch lib/modules/$KernelVer/modules.order
Justin Vreeland 794355
	touch lib/modules/$KernelVer/modules.builtin
Justin Vreeland 794355
    fi
Justin Vreeland 794355
Justin Vreeland 794355
    remove_depmod_files
Justin Vreeland 794355
Justin Vreeland 794355
    # Go back and find all of the various directories in the tree.  We use this
Justin Vreeland 794355
    # for the dir lists in kernel-core
Justin Vreeland 794355
    find lib/modules/$KernelVer/kernel -mindepth 1 -type d | sort -n > module-dirs.list
Justin Vreeland 794355
Justin Vreeland 794355
    # Cleanup
Justin Vreeland 794355
    rm System.map
Justin Vreeland 794355
    cp -r restore/* lib/modules/$KernelVer/.
Justin Vreeland 794355
    rm -rf restore
Justin Vreeland 794355
    popd
Justin Vreeland 794355
Justin Vreeland 794355
    # Make sure the files lists start with absolute paths or rpmbuild fails.
Justin Vreeland 794355
    # Also add in the dir entries
Justin Vreeland 794355
    sed -e 's/^lib*/\/lib/' %{?zipsed} $RPM_BUILD_ROOT/k-d.list > ../kernel${Variant:+-${Variant}}-modules.list
Justin Vreeland 794355
    sed -e 's/^lib*/%dir \/lib/' %{?zipsed} $RPM_BUILD_ROOT/module-dirs.list > ../kernel${Variant:+-${Variant}}-core.list
Justin Vreeland 794355
    sed -e 's/^lib*/\/lib/' %{?zipsed} $RPM_BUILD_ROOT/modules.list >> ../kernel${Variant:+-${Variant}}-core.list
Justin Vreeland 794355
    sed -e 's/^lib*/\/lib/' %{?zipsed} $RPM_BUILD_ROOT/mod-extra.list >> ../kernel${Variant:+-${Variant}}-modules-extra.list
Justin Vreeland 794355
    sed -e 's/^lib*/\/lib/' %{?zipsed} $RPM_BUILD_ROOT/mod-internal.list >> ../kernel${Variant:+-${Variant}}-modules-internal.list
Justin Vreeland 794355
Justin Vreeland 794355
    # Cleanup
Justin Vreeland 794355
    rm -f $RPM_BUILD_ROOT/k-d.list
Justin Vreeland 794355
    rm -f $RPM_BUILD_ROOT/modules.list
Justin Vreeland 794355
    rm -f $RPM_BUILD_ROOT/module-dirs.list
Justin Vreeland 794355
    rm -f $RPM_BUILD_ROOT/mod-extra.list
Justin Vreeland 794355
    rm -f $RPM_BUILD_ROOT/mod-internal.list
Justin Vreeland 794355
Justin Vreeland 794355
%if %{signmodules}
Justin Vreeland 794355
    if [ $DoModules -eq 1 ]; then
Justin Vreeland 794355
	# Save the signing keys so we can sign the modules in __modsign_install_post
Justin Vreeland 794355
	cp certs/signing_key.pem certs/signing_key.pem.sign${Variant:++${Variant}}
Justin Vreeland 794355
	cp certs/signing_key.x509 certs/signing_key.x509.sign${Variant:++${Variant}}
Justin Vreeland 794355
    fi
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
    # Move the devel headers out of the root file system
Justin Vreeland 794355
    mkdir -p $RPM_BUILD_ROOT/usr/src/kernels
Justin Vreeland 794355
    mv $RPM_BUILD_ROOT/lib/modules/$KernelVer/build $RPM_BUILD_ROOT/$DevelDir
Justin Vreeland 794355
Justin Vreeland 794355
    # This is going to create a broken link during the build, but we don't use
Justin Vreeland 794355
    # it after this point.  We need the link to actually point to something
Justin Vreeland 794355
    # when kernel-devel is installed, and a relative link doesn't work across
Justin Vreeland 794355
    # the F17 UsrMove feature.
Justin Vreeland 794355
    ln -sf $DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
Justin Vreeland 794355
Justin Vreeland 794355
%ifnarch armv7hl
Justin Vreeland 794355
    # Generate vmlinux.h and put it to kernel-devel path
Justin Vreeland 794355
    bpftool btf dump file vmlinux format c > $RPM_BUILD_ROOT/$DevelDir/vmlinux.h
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
    # prune junk from kernel-devel
Justin Vreeland 794355
    find $RPM_BUILD_ROOT/usr/src/kernels -name ".*.cmd" -delete
Justin Vreeland 794355
Justin Vreeland 794355
    # Generate crashkernel default config
Justin Vreeland 794355
    %{SOURCE57} "$KernelVer" "$Arch" "$RPM_BUILD_ROOT"
Justin Vreeland 794355
Justin Vreeland 794355
    # Red Hat UEFI Secure Boot CA cert, which can be used to authenticate the kernel
Justin Vreeland 794355
    mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer
Justin Vreeland 794355
    install -m 0644 %{secureboot_ca_0} $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/kernel-signing-ca.cer
Justin Vreeland 794355
    %ifarch s390x ppc64le
Justin Vreeland 794355
    if [ $DoModules -eq 1 ]; then
Justin Vreeland 794355
	if [ -x /usr/bin/rpm-sign ]; then
Justin Vreeland 794355
	    install -m 0644 %{secureboot_key_0} $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/%{signing_key_filename}
Justin Vreeland 794355
	else
Justin Vreeland 794355
	    install -m 0644 certs/signing_key.x509.sign${Variant:++${Variant}} $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/kernel-signing-ca.cer
Justin Vreeland 794355
	    openssl x509 -in certs/signing_key.pem.sign${Variant:++${Variant}} -outform der -out $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/%{signing_key_filename}
Justin Vreeland 794355
	    chmod 0644 $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/%{signing_key_filename}
Justin Vreeland 794355
	fi
Justin Vreeland 794355
    fi
Justin Vreeland 794355
    %endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_ipaclones}
Justin Vreeland 794355
    MAXPROCS=$(echo %{?_smp_mflags} | sed -n 's/-j\s*\([0-9]\+\)/\1/p')
Justin Vreeland 794355
    if [ -z "$MAXPROCS" ]; then
Justin Vreeland 794355
        MAXPROCS=1
Justin Vreeland 794355
    fi
Justin Vreeland 794355
    if [ "$Variant" == "" ]; then
Justin Vreeland 794355
        mkdir -p $RPM_BUILD_ROOT/$DevelDir-ipaclones
Justin Vreeland 794355
        find . -name '*.ipa-clones' | xargs -i{} -r -n 1 -P $MAXPROCS install -m 644 -D "{}" "$RPM_BUILD_ROOT/$DevelDir-ipaclones/{}"
Justin Vreeland 794355
    fi
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
}
Justin Vreeland 794355
Justin Vreeland 794355
###
Justin Vreeland 794355
# DO it...
Justin Vreeland 794355
###
Justin Vreeland 794355
Justin Vreeland 794355
# prepare directories
Justin Vreeland 794355
rm -rf $RPM_BUILD_ROOT
Justin Vreeland 794355
mkdir -p $RPM_BUILD_ROOT/boot
Justin Vreeland 794355
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
Justin Vreeland 794355
Justin Vreeland 794355
cd linux-%{KVERREL}
Justin Vreeland 794355
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_debug}
Justin Vreeland 794355
BuildKernel %make_target %kernel_image %{_use_vdso} debug
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_zfcpdump}
Justin Vreeland 794355
BuildKernel %make_target %kernel_image %{_use_vdso} zfcpdump
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_pae}
Justin Vreeland 794355
BuildKernel %make_target %kernel_image %{use_vdso} lpae
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_up}
Justin Vreeland 794355
BuildKernel %make_target %kernel_image %{_use_vdso}
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%ifnarch noarch i686
Justin Vreeland 794355
%if !%{with_debug} && !%{with_zfcpdump} && !%{with_pae} && !%{with_up}
Justin Vreeland 794355
# If only building the user space tools, then initialize the build environment
Justin Vreeland 794355
# and some variables so that the various userspace tools can be built.
Justin Vreeland 794355
InitBuildVars
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%ifarch aarch64
Justin Vreeland 794355
%global perf_build_extra_opts CORESIGHT=1
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%global perf_make \
Justin Vreeland 794355
  %{__make} %{?make_opts} EXTRA_CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" %{?cross_opts} -C tools/perf V=1 NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1 WERROR=0 NO_LIBUNWIND=1 HAVE_CPLUS_DEMANGLE=1 NO_GTK2=1 NO_STRLCPY=1 NO_BIONIC=1 LIBBPF_DYNAMIC=1 LIBTRACEEVENT_DYNAMIC=1 %{?perf_build_extra_opts} prefix=%{_prefix} PYTHON=%{__python3}
Justin Vreeland 794355
%if %{with_perf}
Justin Vreeland 794355
# perf
Justin Vreeland 794355
# make sure check-headers.sh is executable
Justin Vreeland 794355
chmod +x tools/perf/check-headers.sh
Justin Vreeland 794355
%{perf_make} DESTDIR=$RPM_BUILD_ROOT all
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%global tools_make \
Justin Vreeland 794355
  %{make} CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" %{?make_opts}
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_tools}
Justin Vreeland 794355
%ifarch %{cpupowerarchs}
Justin Vreeland 794355
# cpupower
Justin Vreeland 794355
# make sure version-gen.sh is executable.
Justin Vreeland 794355
chmod +x tools/power/cpupower/utils/version-gen.sh
Justin Vreeland 794355
%{tools_make} %{?_smp_mflags} -C tools/power/cpupower CPUFREQ_BENCH=false DEBUG=false
Justin Vreeland 794355
%ifarch x86_64
Justin Vreeland 794355
    pushd tools/power/cpupower/debug/x86_64
Justin Vreeland 794355
    %{tools_make} %{?_smp_mflags} centrino-decode powernow-k8-decode
Justin Vreeland 794355
    popd
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%ifarch x86_64
Justin Vreeland 794355
   pushd tools/power/x86/x86_energy_perf_policy/
Justin Vreeland 794355
   %{tools_make}
Justin Vreeland 794355
   popd
Justin Vreeland 794355
   pushd tools/power/x86/turbostat
Justin Vreeland 794355
   %{tools_make}
Justin Vreeland 794355
   popd
Justin Vreeland 794355
   pushd tools/power/x86/intel-speed-select
Justin Vreeland 794355
   %{make}
Justin Vreeland 794355
   popd
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%endif
Justin Vreeland 794355
pushd tools/thermal/tmon/
Justin Vreeland 794355
%{tools_make}
Justin Vreeland 794355
popd
Justin Vreeland 794355
pushd tools/iio/
Justin Vreeland 794355
%{tools_make}
Justin Vreeland 794355
popd
Justin Vreeland 794355
pushd tools/gpio/
Justin Vreeland 794355
%{tools_make}
Justin Vreeland 794355
popd
Justin Vreeland 794355
# build VM tools
Justin Vreeland 794355
pushd tools/vm/
Justin Vreeland 794355
%{tools_make} slabinfo page_owner_sort
Justin Vreeland 794355
popd
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
if [ -f $DevelDir/vmlinux.h ]; then
Justin Vreeland 794355
  RPM_VMLINUX_H=$DevelDir/vmlinux.h
Justin Vreeland 794355
fi
Justin Vreeland 794355
Justin Vreeland 794355
%global bpftool_make \
Justin Vreeland 794355
  %{__make} EXTRA_CFLAGS="${RPM_OPT_FLAGS}" EXTRA_LDFLAGS="%{__global_ldflags}" DESTDIR=$RPM_BUILD_ROOT %{?make_opts} VMLINUX_H="${RPM_VMLINUX_H}" V=1
Justin Vreeland 794355
%if %{with_bpftool}
Justin Vreeland 794355
pushd tools/bpf/bpftool
Justin Vreeland 794355
%{bpftool_make}
Justin Vreeland 794355
popd
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_selftests}
Justin Vreeland 794355
# Unfortunately, samples/bpf/Makefile expects that the headers are installed
Justin Vreeland 794355
# in the source tree. We installed them previously to $RPM_BUILD_ROOT/usr
Justin Vreeland 794355
# but there's no way to tell the Makefile to take them from there.
Justin Vreeland 794355
%{make} %{?_smp_mflags} headers_install
Justin Vreeland 794355
%{make} %{?_smp_mflags} ARCH=$Arch V=1 M=samples/bpf/
Justin Vreeland 794355
Justin Vreeland 794355
# Prevent bpf selftests to build bpftool repeatedly:
Justin Vreeland 794355
export BPFTOOL=$(pwd)/tools/bpf/bpftool/bpftool
Justin Vreeland 794355
Justin Vreeland 794355
pushd tools/testing/selftests
Justin Vreeland 794355
# We need to install here because we need to call make with ARCH set which
Justin Vreeland 794355
# doesn't seem possible to do in the install section.
Justin Vreeland 794355
%{make} %{?_smp_mflags} ARCH=$Arch V=1 TARGETS="bpf livepatch net net/forwarding net/mptcp netfilter tc-testing" SKIP_TARGETS="" FORCE_TARGETS=1 INSTALL_PATH=%{buildroot}%{_libexecdir}/kselftests VMLINUX_H="${RPM_VMLINUX_H}" install
Justin Vreeland 794355
Justin Vreeland 794355
# 'make install' for bpf is broken and upstream refuses to fix it.
Justin Vreeland 794355
# Install the needed files manually.
Justin Vreeland 794355
for dir in bpf bpf/no_alu32 bpf/progs; do
Justin Vreeland 794355
	# In ARK, the rpm build continues even if some of the selftests
Justin Vreeland 794355
	# cannot be built. It's not always possible to build selftests,
Justin Vreeland 794355
	# as upstream sometimes dependens on too new llvm version or has
Justin Vreeland 794355
	# other issues. If something did not get built, just skip it.
Justin Vreeland 794355
	test -d $dir || continue
Justin Vreeland 794355
	mkdir -p %{buildroot}%{_libexecdir}/kselftests/$dir
Justin Vreeland 794355
	find $dir -maxdepth 1 -type f \( -executable -o -name '*.py' -o -name settings -o \
Justin Vreeland 794355
		-name 'btf_dump_test_case_*.c' -o \
Justin Vreeland 794355
		-name '*.o' -exec sh -c 'readelf -h "{}" | grep -q "^  Machine:.*BPF"' \; \) -print0 | \
Justin Vreeland 794355
	xargs -0 cp -t %{buildroot}%{_libexecdir}/kselftests/$dir || true
Justin Vreeland 794355
done
Justin Vreeland 794355
popd
Justin Vreeland 794355
export -n BPFTOOL
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_doc}
Justin Vreeland 794355
# Make the HTML pages.
Justin Vreeland 794355
%{__make} PYTHON=/usr/bin/python3 htmldocs || %{doc_build_fail}
Justin Vreeland 794355
Justin Vreeland 794355
# sometimes non-world-readable files sneak into the kernel source tree
Justin Vreeland 794355
chmod -R a=rX Documentation
Justin Vreeland 794355
find Documentation -type d | xargs chmod u+w
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# In the modsign case, we do 3 things.  1) We check the "variant" and hard
Justin Vreeland 794355
# code the value in the following invocations.  This is somewhat sub-optimal
Justin Vreeland 794355
# but we're doing this inside of an RPM macro and it isn't as easy as it
Justin Vreeland 794355
# could be because of that.  2) We restore the .tmp_versions/ directory from
Justin Vreeland 794355
# the one we saved off in BuildKernel above.  This is to make sure we're
Justin Vreeland 794355
# signing the modules we actually built/installed in that variant.  3) We
Justin Vreeland 794355
# grab the arch and invoke mod-sign.sh command to actually sign the modules.
Justin Vreeland 794355
#
Justin Vreeland 794355
# We have to do all of those things _after_ find-debuginfo runs, otherwise
Justin Vreeland 794355
# that will strip the signature off of the modules.
Justin Vreeland 794355
#
Justin Vreeland 794355
# Don't sign modules for the zfcpdump variant as it is monolithic.
Justin Vreeland 794355
Justin Vreeland 794355
%define __modsign_install_post \
Justin Vreeland 794355
  if [ "%{signmodules}" -eq "1" ]; then \
Justin Vreeland 794355
    if [ "%{with_pae}" -ne "0" ]; then \
Justin Vreeland 794355
       %{modsign_cmd} certs/signing_key.pem.sign+lpae certs/signing_key.x509.sign+lpae $RPM_BUILD_ROOT/lib/modules/%{KVERREL}+lpae/ \
Justin Vreeland 794355
    fi \
Justin Vreeland 794355
    if [ "%{with_debug}" -ne "0" ]; then \
Justin Vreeland 794355
      %{modsign_cmd} certs/signing_key.pem.sign+debug certs/signing_key.x509.sign+debug $RPM_BUILD_ROOT/lib/modules/%{KVERREL}+debug/ \
Justin Vreeland 794355
    fi \
Justin Vreeland 794355
    if [ "%{with_up}" -ne "0" ]; then \
Justin Vreeland 794355
      %{modsign_cmd} certs/signing_key.pem.sign certs/signing_key.x509.sign $RPM_BUILD_ROOT/lib/modules/%{KVERREL}/ \
Justin Vreeland 794355
    fi \
Justin Vreeland 794355
  fi \
Justin Vreeland 794355
  if [ "%{zipmodules}" -eq "1" ]; then \
Justin Vreeland 794355
    find $RPM_BUILD_ROOT/lib/modules/ -type f -name '*.ko' | xargs -P%{zcpu} xz; \
Justin Vreeland 794355
  fi \
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
###
Justin Vreeland 794355
### Special hacks for debuginfo subpackages.
Justin Vreeland 794355
###
Justin Vreeland 794355
Justin Vreeland 794355
# This macro is used by %%install, so we must redefine it before that.
Justin Vreeland 794355
%define debug_package %{nil}
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_debuginfo}
Justin Vreeland 794355
Justin Vreeland 794355
%ifnarch noarch
Justin Vreeland 794355
%global __debug_package 1
Justin Vreeland 794355
%files -f debugfiles.list debuginfo-common-%{_target_cpu}
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# We don't want to package debuginfo for self-tests and samples but
Justin Vreeland 794355
# we have to delete them to avoid an error messages about unpackaged
Justin Vreeland 794355
# files.
Justin Vreeland 794355
# Delete the debuginfo for kernel-devel files
Justin Vreeland 794355
%define __remove_unwanted_dbginfo_install_post \
Justin Vreeland 794355
  if [ "%{with_selftests}" -ne "0" ]; then \
Justin Vreeland 794355
    rm -rf $RPM_BUILD_ROOT/usr/lib/debug/usr/libexec/ksamples; \
Justin Vreeland 794355
    rm -rf $RPM_BUILD_ROOT/usr/lib/debug/usr/libexec/kselftests; \
Justin Vreeland 794355
  fi \
Justin Vreeland 794355
  rm -rf $RPM_BUILD_ROOT/usr/lib/debug/usr/src; \
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# Disgusting hack alert! We need to ensure we sign modules *after* all
Justin Vreeland 794355
# invocations of strip occur, which is in __debug_install_post if
Justin Vreeland 794355
# find-debuginfo.sh runs, and __os_install_post if not.
Justin Vreeland 794355
#
Justin Vreeland 794355
%define __spec_install_post \
Justin Vreeland 794355
  %{?__debug_package:%{__debug_install_post}}\
Justin Vreeland 794355
  %{__arch_install_post}\
Justin Vreeland 794355
  %{__os_install_post}\
Justin Vreeland 794355
  %{__remove_unwanted_dbginfo_install_post}\
Justin Vreeland 794355
  %{__modsign_install_post}
Justin Vreeland 794355
Justin Vreeland 794355
###
Justin Vreeland 794355
### install
Justin Vreeland 794355
###
Justin Vreeland 794355
Justin Vreeland 794355
%install
Justin Vreeland 794355
Justin Vreeland 794355
cd linux-%{KVERREL}
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_doc}
Justin Vreeland 794355
docdir=$RPM_BUILD_ROOT%{_datadir}/doc/kernel-doc-%{rpmversion}-%{pkgrelease}
Justin Vreeland 794355
Justin Vreeland 794355
# copy the source over
Justin Vreeland 794355
mkdir -p $docdir
Justin Vreeland 794355
tar -h -f - --exclude=man --exclude='.*' -c Documentation | tar xf - -C $docdir
Justin Vreeland 794355
Justin Vreeland 794355
# with_doc
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# We have to do the headers install before the tools install because the
Justin Vreeland 794355
# kernel headers_install will remove any header files in /usr/include that
Justin Vreeland 794355
# it doesn't install itself.
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_headers}
Justin Vreeland 794355
# Install kernel headers
Justin Vreeland 794355
%{__make} ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_install
Justin Vreeland 794355
Justin Vreeland 794355
find $RPM_BUILD_ROOT/usr/include \
Justin Vreeland 794355
     \( -name .install -o -name .check -o \
Justin Vreeland 794355
        -name ..install.cmd -o -name ..check.cmd \) -delete
Justin Vreeland 794355
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_cross_headers}
Justin Vreeland 794355
%if 0%{?fedora}
Justin Vreeland 794355
HDR_ARCH_LIST='arm arm64 powerpc s390 x86'
Justin Vreeland 794355
%else
Justin Vreeland 794355
HDR_ARCH_LIST='arm64 powerpc s390 x86'
Justin Vreeland 794355
%endif
Justin Vreeland 794355
mkdir -p $RPM_BUILD_ROOT/usr/tmp-headers
Justin Vreeland 794355
Justin Vreeland 794355
for arch in $HDR_ARCH_LIST; do
Justin Vreeland 794355
	mkdir $RPM_BUILD_ROOT/usr/tmp-headers/arch-${arch}
Justin Vreeland 794355
	%{__make} ARCH=${arch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr/tmp-headers/arch-${arch} headers_install
Justin Vreeland 794355
done
Justin Vreeland 794355
Justin Vreeland 794355
find $RPM_BUILD_ROOT/usr/tmp-headers \
Justin Vreeland 794355
     \( -name .install -o -name .check -o \
Justin Vreeland 794355
        -name ..install.cmd -o -name ..check.cmd \) -delete
Justin Vreeland 794355
Justin Vreeland 794355
# Copy all the architectures we care about to their respective asm directories
Justin Vreeland 794355
for arch in $HDR_ARCH_LIST ; do
Justin Vreeland 794355
	mkdir -p $RPM_BUILD_ROOT/usr/${arch}-linux-gnu/include
Justin Vreeland 794355
	mv $RPM_BUILD_ROOT/usr/tmp-headers/arch-${arch}/include/* $RPM_BUILD_ROOT/usr/${arch}-linux-gnu/include/
Justin Vreeland 794355
done
Justin Vreeland 794355
Justin Vreeland 794355
rm -rf $RPM_BUILD_ROOT/usr/tmp-headers
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_kernel_abi_stablelists}
Justin Vreeland 794355
# kabi directory
Justin Vreeland 794355
INSTALL_KABI_PATH=$RPM_BUILD_ROOT/lib/modules/
Justin Vreeland 794355
mkdir -p $INSTALL_KABI_PATH
Justin Vreeland 794355
Justin Vreeland 794355
# install kabi releases directories
Justin Vreeland 794355
tar xjvf %{SOURCE300} -C $INSTALL_KABI_PATH
Justin Vreeland 794355
# with_kernel_abi_stablelists
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_perf}
Justin Vreeland 794355
# perf tool binary and supporting scripts/binaries
Justin Vreeland 794355
%{perf_make} DESTDIR=$RPM_BUILD_ROOT lib=%{_lib} install-bin
Justin Vreeland 794355
# remove the 'trace' symlink.
Justin Vreeland 794355
rm -f %{buildroot}%{_bindir}/trace
Justin Vreeland 794355
Justin Vreeland 794355
# For both of the below, yes, this should be using a macro but right now
Justin Vreeland 794355
# it's hard coded and we don't actually want it anyway right now.
Justin Vreeland 794355
# Whoever wants examples can fix it up!
Justin Vreeland 794355
Justin Vreeland 794355
# remove examples
Justin Vreeland 794355
rm -rf %{buildroot}/usr/lib/perf/examples
Justin Vreeland 794355
rm -rf %{buildroot}/usr/lib/perf/include
Justin Vreeland 794355
Justin Vreeland 794355
# python-perf extension
Justin Vreeland 794355
%{perf_make} DESTDIR=$RPM_BUILD_ROOT install-python_ext
Justin Vreeland 794355
Justin Vreeland 794355
# perf man pages (note: implicit rpm magic compresses them later)
Justin Vreeland 794355
mkdir -p %{buildroot}/%{_mandir}/man1
Justin Vreeland 794355
%{perf_make} DESTDIR=$RPM_BUILD_ROOT install-man
Justin Vreeland 794355
Justin Vreeland 794355
# remove any tracevent files, eg. its plugins still gets built and installed,
Justin Vreeland 794355
# even if we build against system's libtracevent during perf build (by setting
Justin Vreeland 794355
# LIBTRACEEVENT_DYNAMIC=1 above in perf_make macro). Those files should already
Justin Vreeland 794355
# ship with libtraceevent package.
Justin Vreeland 794355
rm -rf %{buildroot}%{_libdir}/traceevent
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_tools}
Justin Vreeland 794355
%ifarch %{cpupowerarchs}
Justin Vreeland 794355
%{make} -C tools/power/cpupower DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} mandir=%{_mandir} CPUFREQ_BENCH=false install
Justin Vreeland 794355
rm -f %{buildroot}%{_libdir}/*.{a,la}
Justin Vreeland 794355
%find_lang cpupower
Justin Vreeland 794355
mv cpupower.lang ../
Justin Vreeland 794355
%ifarch x86_64
Justin Vreeland 794355
    pushd tools/power/cpupower/debug/x86_64
Justin Vreeland 794355
    install -m755 centrino-decode %{buildroot}%{_bindir}/centrino-decode
Justin Vreeland 794355
    install -m755 powernow-k8-decode %{buildroot}%{_bindir}/powernow-k8-decode
Justin Vreeland 794355
    popd
Justin Vreeland 794355
%endif
Justin Vreeland 794355
chmod 0755 %{buildroot}%{_libdir}/libcpupower.so*
Justin Vreeland 794355
mkdir -p %{buildroot}%{_unitdir} %{buildroot}%{_sysconfdir}/sysconfig
Justin Vreeland 794355
install -m644 %{SOURCE2000} %{buildroot}%{_unitdir}/cpupower.service
Justin Vreeland 794355
install -m644 %{SOURCE2001} %{buildroot}%{_sysconfdir}/sysconfig/cpupower
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%ifarch x86_64
Justin Vreeland 794355
   mkdir -p %{buildroot}%{_mandir}/man8
Justin Vreeland 794355
   pushd tools/power/x86/x86_energy_perf_policy
Justin Vreeland 794355
   %{tools_make} DESTDIR=%{buildroot} install
Justin Vreeland 794355
   popd
Justin Vreeland 794355
   pushd tools/power/x86/turbostat
Justin Vreeland 794355
   %{tools_make} DESTDIR=%{buildroot} install
Justin Vreeland 794355
   popd
Justin Vreeland 794355
   pushd tools/power/x86/intel-speed-select
Justin Vreeland 794355
   %{tools_make} CFLAGS+="-D_GNU_SOURCE -Iinclude" DESTDIR=%{buildroot} install
Justin Vreeland 794355
   popd
Justin Vreeland 794355
%endif
Justin Vreeland 794355
pushd tools/thermal/tmon
Justin Vreeland 794355
%{tools_make} INSTALL_ROOT=%{buildroot} install
Justin Vreeland 794355
popd
Justin Vreeland 794355
pushd tools/iio
Justin Vreeland 794355
%{tools_make} CFLAGS+="-D_GNU_SOURCE -Iinclude" DESTDIR=%{buildroot} install
Justin Vreeland 794355
popd
Justin Vreeland 794355
pushd tools/gpio
Justin Vreeland 794355
%{tools_make} DESTDIR=%{buildroot} install
Justin Vreeland 794355
popd
Justin Vreeland 794355
install -m644 -D %{SOURCE2002} %{buildroot}%{_sysconfdir}/logrotate.d/kvm_stat
Justin Vreeland 794355
pushd tools/kvm/kvm_stat
Justin Vreeland 794355
%{__make} INSTALL_ROOT=%{buildroot} install-tools
Justin Vreeland 794355
%{__make} INSTALL_ROOT=%{buildroot} install-man
Justin Vreeland 794355
install -m644 -D kvm_stat.service %{buildroot}%{_unitdir}/kvm_stat.service
Justin Vreeland 794355
popd
Justin Vreeland 794355
# install VM tools
Justin Vreeland 794355
pushd tools/vm/
Justin Vreeland 794355
install -m755 slabinfo %{buildroot}%{_bindir}/slabinfo
Justin Vreeland 794355
install -m755 page_owner_sort %{buildroot}%{_bindir}/page_owner_sort
Justin Vreeland 794355
popd
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
if [ -f $DevelDir/vmlinux.h ]; then
Justin Vreeland 794355
  RPM_VMLINUX_H=$DevelDir/vmlinux.h
Justin Vreeland 794355
fi
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_bpftool}
Justin Vreeland 794355
pushd tools/bpf/bpftool
Justin Vreeland 794355
%{bpftool_make} prefix=%{_prefix} bash_compdir=%{_sysconfdir}/bash_completion.d/ mandir=%{_mandir} install doc-install
Justin Vreeland 794355
popd
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_selftests}
Justin Vreeland 794355
pushd samples
Justin Vreeland 794355
install -d %{buildroot}%{_libexecdir}/ksamples
Justin Vreeland 794355
# install bpf samples
Justin Vreeland 794355
pushd bpf
Justin Vreeland 794355
install -d %{buildroot}%{_libexecdir}/ksamples/bpf
Justin Vreeland 794355
find -type f -executable -exec install -m755 {} %{buildroot}%{_libexecdir}/ksamples/bpf \;
Justin Vreeland 794355
install -m755 *.sh %{buildroot}%{_libexecdir}/ksamples/bpf
Justin Vreeland 794355
# test_lwt_bpf.sh compiles test_lwt_bpf.c when run; this works only from the
Justin Vreeland 794355
# kernel tree. Just remove it.
Justin Vreeland 794355
rm %{buildroot}%{_libexecdir}/ksamples/bpf/test_lwt_bpf.sh
Justin Vreeland 794355
install -m644 *_kern.o %{buildroot}%{_libexecdir}/ksamples/bpf || true
Justin Vreeland 794355
install -m644 tcp_bpf.readme %{buildroot}%{_libexecdir}/ksamples/bpf
Justin Vreeland 794355
popd
Justin Vreeland 794355
# install pktgen samples
Justin Vreeland 794355
pushd pktgen
Justin Vreeland 794355
install -d %{buildroot}%{_libexecdir}/ksamples/pktgen
Justin Vreeland 794355
find . -type f -executable -exec install -m755 {} %{buildroot}%{_libexecdir}/ksamples/pktgen/{} \;
Justin Vreeland 794355
find . -type f ! -executable -exec install -m644 {} %{buildroot}%{_libexecdir}/ksamples/pktgen/{} \;
Justin Vreeland 794355
popd
Justin Vreeland 794355
popd
Justin Vreeland 794355
# install drivers/net/mlxsw selftests
Justin Vreeland 794355
pushd tools/testing/selftests/drivers/net/mlxsw
Justin Vreeland 794355
find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/drivers/net/mlxsw/{} \;
Justin Vreeland 794355
find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/drivers/net/mlxsw/{} \;
Justin Vreeland 794355
find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/drivers/net/mlxsw/{} \;
Justin Vreeland 794355
popd
Justin Vreeland 794355
# install drivers/net/netdevsim selftests
Justin Vreeland 794355
pushd tools/testing/selftests/drivers/net/netdevsim
Justin Vreeland 794355
find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/drivers/net/netdevsim/{} \;
Justin Vreeland 794355
find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/drivers/net/netdevsim/{} \;
Justin Vreeland 794355
find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/drivers/net/netdevsim/{} \;
Justin Vreeland 794355
popd
Justin Vreeland 794355
# install net/forwarding selftests
Justin Vreeland 794355
pushd tools/testing/selftests/net/forwarding
Justin Vreeland 794355
find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/net/forwarding/{} \;
Justin Vreeland 794355
find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/net/forwarding/{} \;
Justin Vreeland 794355
find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/net/forwarding/{} \;
Justin Vreeland 794355
popd
Justin Vreeland 794355
# install net/mptcp selftests
Justin Vreeland 794355
pushd tools/testing/selftests/net/mptcp
Justin Vreeland 794355
find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/net/mptcp/{} \;
Justin Vreeland 794355
find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/net/mptcp/{} \;
Justin Vreeland 794355
find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/net/mptcp/{} \;
Justin Vreeland 794355
popd
Justin Vreeland 794355
# install tc-testing selftests
Justin Vreeland 794355
pushd tools/testing/selftests/tc-testing
Justin Vreeland 794355
find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/tc-testing/{} \;
Justin Vreeland 794355
find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/tc-testing/{} \;
Justin Vreeland 794355
find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/tc-testing/{} \;
Justin Vreeland 794355
popd
Justin Vreeland 794355
# install livepatch selftests
Justin Vreeland 794355
pushd tools/testing/selftests/livepatch
Justin Vreeland 794355
find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/livepatch/{} \;
Justin Vreeland 794355
find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/livepatch/{} \;
Justin Vreeland 794355
find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/livepatch/{} \;
Justin Vreeland 794355
popd
Justin Vreeland 794355
# install netfilter selftests
Justin Vreeland 794355
pushd tools/testing/selftests/netfilter
Justin Vreeland 794355
find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/netfilter/{} \;
Justin Vreeland 794355
find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/netfilter/{} \;
Justin Vreeland 794355
find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/netfilter/{} \;
Justin Vreeland 794355
popd
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
###
Justin Vreeland 794355
### clean
Justin Vreeland 794355
###
Justin Vreeland 794355
Justin Vreeland 794355
###
Justin Vreeland 794355
### scripts
Justin Vreeland 794355
###
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_tools}
Justin Vreeland 794355
%post -n kernel-tools-libs
Justin Vreeland 794355
/sbin/ldconfig
Justin Vreeland 794355
Justin Vreeland 794355
%postun -n kernel-tools-libs
Justin Vreeland 794355
/sbin/ldconfig
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# This macro defines a %%post script for a kernel*-devel package.
Justin Vreeland 794355
#	%%kernel_devel_post [<subpackage>]
Justin Vreeland 794355
# Note we don't run hardlink if ostree is in use, as ostree is
Justin Vreeland 794355
# a far more sophisticated hardlink implementation.
Justin Vreeland 794355
# https://github.com/projectatomic/rpm-ostree/commit/58a79056a889be8814aa51f507b2c7a4dccee526
Justin Vreeland 794355
#
Justin Vreeland 794355
%define kernel_devel_post() \
Justin Vreeland 794355
%{expand:%%post %{?1:%{1}-}devel}\
Justin Vreeland 794355
if [ -f /etc/sysconfig/kernel ]\
Justin Vreeland 794355
then\
Justin Vreeland 794355
    . /etc/sysconfig/kernel || exit $?\
Justin Vreeland 794355
fi\
Justin Vreeland 794355
if [ "$HARDLINK" != "no" -a -x /usr/bin/hardlink -a ! -e /run/ostree-booted ] \
Justin Vreeland 794355
then\
Justin Vreeland 794355
    (cd /usr/src/kernels/%{KVERREL}%{?1:+%{1}} &&\
Justin Vreeland 794355
     /usr/bin/find . -type f | while read f; do\
Justin Vreeland 794355
       hardlink -c /usr/src/kernels/*%{?dist}.*/$f $f > /dev/null\
Justin Vreeland 794355
     done)\
Justin Vreeland 794355
fi\
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# This macro defines a %%post script for a kernel*-modules-extra package.
Justin Vreeland 794355
# It also defines a %%postun script that does the same thing.
Justin Vreeland 794355
#	%%kernel_modules_extra_post [<subpackage>]
Justin Vreeland 794355
#
Justin Vreeland 794355
%define kernel_modules_extra_post() \
Justin Vreeland 794355
%{expand:%%post %{?1:%{1}-}modules-extra}\
Justin Vreeland 794355
/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\
Justin Vreeland 794355
%{nil}\
Justin Vreeland 794355
%{expand:%%postun %{?1:%{1}-}modules-extra}\
Justin Vreeland 794355
/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# This macro defines a %%post script for a kernel*-modules-internal package.
Justin Vreeland 794355
# It also defines a %%postun script that does the same thing.
Justin Vreeland 794355
#	%%kernel_modules_internal_post [<subpackage>]
Justin Vreeland 794355
#
Justin Vreeland 794355
%define kernel_modules_internal_post() \
Justin Vreeland 794355
%{expand:%%post %{?1:%{1}-}modules-internal}\
Justin Vreeland 794355
/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\
Justin Vreeland 794355
%{nil}\
Justin Vreeland 794355
%{expand:%%postun %{?1:%{1}-}modules-internal}\
Justin Vreeland 794355
/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# This macro defines a %%post script for a kernel*-modules package.
Justin Vreeland 794355
# It also defines a %%postun script that does the same thing.
Justin Vreeland 794355
#	%%kernel_modules_post [<subpackage>]
Justin Vreeland 794355
#
Justin Vreeland 794355
%define kernel_modules_post() \
Justin Vreeland 794355
%{expand:%%post %{?1:%{1}-}modules}\
Justin Vreeland 794355
/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\
Justin Vreeland 794355
%{nil}\
Justin Vreeland 794355
%{expand:%%postun %{?1:%{1}-}modules}\
Justin Vreeland 794355
/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
# This macro defines a %%posttrans script for a kernel package.
Justin Vreeland 794355
#	%%kernel_variant_posttrans [<subpackage>]
Justin Vreeland 794355
# More text can follow to go at the end of this variant's %%post.
Justin Vreeland 794355
#
Justin Vreeland 794355
%define kernel_variant_posttrans() \
Justin Vreeland 794355
%{expand:%%posttrans %{?1:%{1}-}core}\
Justin Vreeland 794355
%if 0%{!?fedora:1}\
Justin Vreeland 794355
if [ -x %{_sbindir}/weak-modules ]\
Justin Vreeland 794355
then\
Justin Vreeland 794355
    %{_sbindir}/weak-modules --add-kernel %{KVERREL}%{?1:+%{1}} || exit $?\
Justin Vreeland 794355
fi\
Justin Vreeland 794355
%endif\
Justin Vreeland 794355
/bin/kernel-install add %{KVERREL}%{?1:+%{1}} /lib/modules/%{KVERREL}%{?1:+%{1}}/vmlinuz || exit $?\
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# This macro defines a %%post script for a kernel package and its devel package.
Justin Vreeland 794355
#	%%kernel_variant_post [-v <subpackage>] [-r <replace>]
Justin Vreeland 794355
# More text can follow to go at the end of this variant's %%post.
Justin Vreeland 794355
#
Justin Vreeland 794355
%define kernel_variant_post(v:r:) \
Justin Vreeland 794355
%{expand:%%kernel_devel_post %{?-v*}}\
Justin Vreeland 794355
%{expand:%%kernel_modules_post %{?-v*}}\
Justin Vreeland 794355
%{expand:%%kernel_modules_extra_post %{?-v*}}\
Justin Vreeland 794355
%{expand:%%kernel_modules_internal_post %{?-v*}}\
Justin Vreeland 794355
%{expand:%%kernel_variant_posttrans %{?-v*}}\
Justin Vreeland 794355
%{expand:%%post %{?-v*:%{-v*}-}core}\
Justin Vreeland 794355
%{-r:\
Justin Vreeland 794355
if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ] &&\
Justin Vreeland 794355
   [ -f /etc/sysconfig/kernel ]; then\
Justin Vreeland 794355
  /bin/sed -r -i -e 's/^DEFAULTKERNEL=%{-r*}$/DEFAULTKERNEL=kernel%{?-v:-%{-v*}}/' /etc/sysconfig/kernel || exit $?\
Justin Vreeland 794355
fi}\
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# This macro defines a %%preun script for a kernel package.
Justin Vreeland 794355
#	%%kernel_variant_preun <subpackage>
Justin Vreeland 794355
#
Justin Vreeland 794355
%define kernel_variant_preun() \
Justin Vreeland 794355
%{expand:%%preun %{?1:%{1}-}core}\
Justin Vreeland 794355
/bin/kernel-install remove %{KVERREL}%{?1:+%{1}} /lib/modules/%{KVERREL}%{?1:+%{1}}/vmlinuz || exit $?\
Justin Vreeland 794355
if [ -x %{_sbindir}/weak-modules ]\
Justin Vreeland 794355
then\
Justin Vreeland 794355
    %{_sbindir}/weak-modules --remove-kernel %{KVERREL}%{?1:+%{1}} || exit $?\
Justin Vreeland 794355
fi\
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
%kernel_variant_preun
Justin Vreeland 794355
%kernel_variant_post -r kernel-smp
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_pae}
Justin Vreeland 794355
%kernel_variant_preun lpae
Justin Vreeland 794355
%kernel_variant_post -v lpae -r (kernel|kernel-smp)
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_debug}
Justin Vreeland 794355
%kernel_variant_preun debug
Justin Vreeland 794355
%kernel_variant_post -v debug
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_zfcpdump}
Justin Vreeland 794355
%kernel_variant_preun zfcpdump
Justin Vreeland 794355
%kernel_variant_post -v zfcpdump
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
if [ -x /sbin/ldconfig ]
Justin Vreeland 794355
then
Justin Vreeland 794355
    /sbin/ldconfig -X || exit $?
Justin Vreeland 794355
fi
Justin Vreeland 794355
Justin Vreeland 794355
###
Justin Vreeland 794355
### file lists
Justin Vreeland 794355
###
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_headers}
Justin Vreeland 794355
%files headers
Justin Vreeland 794355
/usr/include/*
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_cross_headers}
Justin Vreeland 794355
%files cross-headers
Justin Vreeland 794355
/usr/*-linux-gnu/include/*
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_kernel_abi_stablelists}
Justin Vreeland 794355
%files -n kernel-abi-stablelists
Justin Vreeland 794355
/lib/modules/kabi-*
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_kabidw_base}
Justin Vreeland 794355
%ifarch x86_64 s390x ppc64 ppc64le aarch64
Justin Vreeland 794355
%files kernel-kabidw-base-internal
Justin Vreeland 794355
%defattr(-,root,root)
Justin Vreeland 794355
/kabidw-base/%{_target_cpu}/*
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# only some architecture builds need kernel-doc
Justin Vreeland 794355
%if %{with_doc}
Justin Vreeland 794355
%files doc
Justin Vreeland 794355
%defattr(-,root,root)
Justin Vreeland 794355
%{_datadir}/doc/kernel-doc-%{rpmversion}-%{pkgrelease}/Documentation/*
Justin Vreeland 794355
%dir %{_datadir}/doc/kernel-doc-%{rpmversion}-%{pkgrelease}/Documentation
Justin Vreeland 794355
%dir %{_datadir}/doc/kernel-doc-%{rpmversion}-%{pkgrelease}
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_perf}
Justin Vreeland 794355
%files -n perf
Justin Vreeland 794355
%{_bindir}/perf
Justin Vreeland 794355
%{_libdir}/libperf-jvmti.so
Justin Vreeland 794355
%dir %{_libexecdir}/perf-core
Justin Vreeland 794355
%{_libexecdir}/perf-core/*
Justin Vreeland 794355
%{_datadir}/perf-core/*
Justin Vreeland 794355
%{_mandir}/man[1-8]/perf*
Justin Vreeland 794355
%{_sysconfdir}/bash_completion.d/perf
Justin Vreeland 794355
%doc linux-%{KVERREL}/tools/perf/Documentation/examples.txt
Justin Vreeland 794355
%{_docdir}/perf-tip/tips.txt
Justin Vreeland 794355
Justin Vreeland 794355
%files -n python3-perf
Justin Vreeland 794355
%{python3_sitearch}/*
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_debuginfo}
Justin Vreeland 794355
%files -f perf-debuginfo.list -n perf-debuginfo
Justin Vreeland 794355
Justin Vreeland 794355
%files -f python3-perf-debuginfo.list -n python3-perf-debuginfo
Justin Vreeland 794355
%endif
Justin Vreeland 794355
# with_perf
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_tools}
Justin Vreeland 794355
%ifnarch %{cpupowerarchs}
Justin Vreeland 794355
%files -n kernel-tools
Justin Vreeland 794355
%else
Justin Vreeland 794355
%files -n kernel-tools -f cpupower.lang
Justin Vreeland 794355
%{_bindir}/cpupower
Justin Vreeland 794355
%{_datadir}/bash-completion/completions/cpupower
Justin Vreeland 794355
%ifarch x86_64
Justin Vreeland 794355
%{_bindir}/centrino-decode
Justin Vreeland 794355
%{_bindir}/powernow-k8-decode
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%{_unitdir}/cpupower.service
Justin Vreeland 794355
%{_mandir}/man[1-8]/cpupower*
Justin Vreeland 794355
%config(noreplace) %{_sysconfdir}/sysconfig/cpupower
Justin Vreeland 794355
%ifarch x86_64
Justin Vreeland 794355
%{_bindir}/x86_energy_perf_policy
Justin Vreeland 794355
%{_mandir}/man8/x86_energy_perf_policy*
Justin Vreeland 794355
%{_bindir}/turbostat
Justin Vreeland 794355
%{_mandir}/man8/turbostat*
Justin Vreeland 794355
%{_bindir}/intel-speed-select
Justin Vreeland 794355
%endif
Justin Vreeland 794355
# cpupowerarchs
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%{_bindir}/tmon
Justin Vreeland 794355
%{_bindir}/iio_event_monitor
Justin Vreeland 794355
%{_bindir}/iio_generic_buffer
Justin Vreeland 794355
%{_bindir}/lsiio
Justin Vreeland 794355
%{_bindir}/lsgpio
Justin Vreeland 794355
%{_bindir}/gpio-hammer
Justin Vreeland 794355
%{_bindir}/gpio-event-mon
Justin Vreeland 794355
%{_bindir}/gpio-watch
Justin Vreeland 794355
%{_mandir}/man1/kvm_stat*
Justin Vreeland 794355
%{_bindir}/kvm_stat
Justin Vreeland 794355
%{_unitdir}/kvm_stat.service
Justin Vreeland 794355
%config(noreplace) %{_sysconfdir}/logrotate.d/kvm_stat
Justin Vreeland 794355
%{_bindir}/page_owner_sort
Justin Vreeland 794355
%{_bindir}/slabinfo
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_debuginfo}
Justin Vreeland 794355
%files -f kernel-tools-debuginfo.list -n kernel-tools-debuginfo
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%ifarch %{cpupowerarchs}
Justin Vreeland 794355
%files -n kernel-tools-libs
Justin Vreeland 794355
%{_libdir}/libcpupower.so.0
Justin Vreeland 794355
%{_libdir}/libcpupower.so.0.0.1
Justin Vreeland 794355
Justin Vreeland 794355
%files -n kernel-tools-libs-devel
Justin Vreeland 794355
%{_libdir}/libcpupower.so
Justin Vreeland 794355
%{_includedir}/cpufreq.h
Justin Vreeland 794355
%endif
Justin Vreeland 794355
# with_tools
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_bpftool}
Justin Vreeland 794355
%files -n bpftool
Justin Vreeland 794355
%{_sbindir}/bpftool
Justin Vreeland 794355
%{_sysconfdir}/bash_completion.d/bpftool
Justin Vreeland 794355
%{_mandir}/man8/bpftool-cgroup.8.gz
Justin Vreeland 794355
%{_mandir}/man8/bpftool-gen.8.gz
Justin Vreeland 794355
%{_mandir}/man8/bpftool-iter.8.gz
Justin Vreeland 794355
%{_mandir}/man8/bpftool-link.8.gz
Justin Vreeland 794355
%{_mandir}/man8/bpftool-map.8.gz
Justin Vreeland 794355
%{_mandir}/man8/bpftool-prog.8.gz
Justin Vreeland 794355
%{_mandir}/man8/bpftool-perf.8.gz
Justin Vreeland 794355
%{_mandir}/man8/bpftool.8.gz
Justin Vreeland 794355
%{_mandir}/man8/bpftool-net.8.gz
Justin Vreeland 794355
%{_mandir}/man8/bpftool-feature.8.gz
Justin Vreeland 794355
%{_mandir}/man8/bpftool-btf.8.gz
Justin Vreeland 794355
%{_mandir}/man8/bpftool-struct_ops.8.gz
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_debuginfo}
Justin Vreeland 794355
%files -f bpftool-debuginfo.list -n bpftool-debuginfo
Justin Vreeland 794355
%defattr(-,root,root)
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_selftests}
Justin Vreeland 794355
%files selftests-internal
Justin Vreeland 794355
%{_libexecdir}/ksamples
Justin Vreeland 794355
%{_libexecdir}/kselftests
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# empty meta-package
Justin Vreeland 794355
%ifnarch %nobuildarches noarch
Justin Vreeland 794355
%files
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
%if %{with_gcov}
Justin Vreeland 794355
%ifarch x86_64 s390x ppc64le aarch64
Justin Vreeland 794355
%files gcov
Justin Vreeland 794355
%{_builddir}
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%endif
Justin Vreeland 794355
Justin Vreeland 794355
# This is %%{image_install_path} on an arch where that includes ELF files,
Justin Vreeland 794355
# or empty otherwise.
Justin Vreeland 794355
%define elf_image_install_path %{?kernel_image_elf:%{image_install_path}}
Justin Vreeland 794355
Justin Vreeland 794355
#
Justin Vreeland 794355
# This macro defines the %%files sections for a kernel package
Justin Vreeland 794355
# and its devel and debuginfo packages.
Justin Vreeland 794355
#	%%kernel_variant_files [-k vmlinux] <use_vdso> <condition> <subpackage>
Justin Vreeland 794355
#
Justin Vreeland 794355
%define kernel_variant_files(k:) \
Justin Vreeland 794355
%if %{2}\
Justin Vreeland 794355
%{expand:%%files -f kernel-%{?3:%{3}-}core.list %{?1:-f kernel-%{?3:%{3}-}ldsoconf.list} %{?3:%{3}-}core}\
Justin Vreeland 794355
%{!?_licensedir:%global license %%doc}\
Justin Vreeland 794355
%license linux-%{KVERREL}/COPYING-%{version}-%{release}\
Justin Vreeland 794355
/lib/modules/%{KVERREL}%{?3:+%{3}}/%{?-k:%{-k*}}%{!?-k:vmlinuz}\
Justin Vreeland 794355
%ghost /%{image_install_path}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-%{KVERREL}%{?3:+%{3}}\
Justin Vreeland 794355
/lib/modules/%{KVERREL}%{?3:+%{3}}/.vmlinuz.hmac \
Justin Vreeland 794355
%ghost /%{image_install_path}/.vmlinuz-%{KVERREL}%{?3:+%{3}}.hmac \
Justin Vreeland 794355
%ifarch %{arm} aarch64\
Justin Vreeland 794355
/lib/modules/%{KVERREL}%{?3:+%{3}}/dtb \
Justin Vreeland 794355
%ghost /%{image_install_path}/dtb-%{KVERREL}%{?3:+%{3}} \
Justin Vreeland 794355
%endif\
Justin Vreeland 794355
%attr(0600, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/System.map\
Justin Vreeland 794355
%ghost %attr(0600, root, root) /boot/System.map-%{KVERREL}%{?3:+%{3}}\
Justin Vreeland 794355
/lib/modules/%{KVERREL}%{?3:+%{3}}/symvers.gz\
Justin Vreeland 794355
/lib/modules/%{KVERREL}%{?3:+%{3}}/config\
Justin Vreeland 794355
%ghost %attr(0600, root, root) /boot/symvers-%{KVERREL}%{?3:+%{3}}.gz\
Justin Vreeland 794355
%ghost %attr(0600, root, root) /boot/initramfs-%{KVERREL}%{?3:+%{3}}.img\
Justin Vreeland 794355
%ghost %attr(0644, root, root) /boot/config-%{KVERREL}%{?3:+%{3}}\
Justin Vreeland 794355
%dir /lib/modules\
Justin Vreeland 794355
%dir /lib/modules/%{KVERREL}%{?3:+%{3}}\
Justin Vreeland 794355
%dir /lib/modules/%{KVERREL}%{?3:+%{3}}/kernel\
Justin Vreeland 794355
/lib/modules/%{KVERREL}%{?3:+%{3}}/build\
Justin Vreeland 794355
/lib/modules/%{KVERREL}%{?3:+%{3}}/source\
Justin Vreeland 794355
/lib/modules/%{KVERREL}%{?3:+%{3}}/updates\
Justin Vreeland 794355
/lib/modules/%{KVERREL}%{?3:+%{3}}/weak-updates\
Justin Vreeland 794355
/lib/modules/%{KVERREL}%{?3:+%{3}}/crashkernel.default\
Justin Vreeland 794355
%{_datadir}/doc/kernel-keys/%{KVERREL}%{?3:+%{3}}\
Justin Vreeland 794355
%if %{1}\
Justin Vreeland 794355
/lib/modules/%{KVERREL}%{?3:+%{3}}/vdso\
Justin Vreeland 794355
%endif\
Justin Vreeland 794355
/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.*\
Justin Vreeland 794355
%{expand:%%files -f kernel-%{?3:%{3}-}modules.list %{?3:%{3}-}modules}\
Justin Vreeland 794355
%{expand:%%files %{?3:%{3}-}devel}\
Justin Vreeland 794355
%defverify(not mtime)\
Justin Vreeland 794355
/usr/src/kernels/%{KVERREL}%{?3:+%{3}}\
Justin Vreeland 794355
%{expand:%%files %{?3:%{3}-}devel-matched}\
Justin Vreeland 794355
%{expand:%%files -f kernel-%{?3:%{3}-}modules-extra.list %{?3:%{3}-}modules-extra}\
Justin Vreeland 794355
%config(noreplace) /etc/modprobe.d/*-blacklist.conf\
Justin Vreeland 794355
%{expand:%%files -f kernel-%{?3:%{3}-}modules-internal.list %{?3:%{3}-}modules-internal}\
Justin Vreeland 794355
%if %{with_debuginfo}\
Justin Vreeland 794355
%ifnarch noarch\
Justin Vreeland 794355
%{expand:%%files -f debuginfo%{?3}.list %{?3:%{3}-}debuginfo}\
Justin Vreeland 794355
%endif\
Justin Vreeland 794355
%endif\
Justin Vreeland 794355
%if %{?3:1} %{!?3:0}\
Justin Vreeland 794355
%{expand:%%files %{3}}\
Justin Vreeland 794355
%endif\
Justin Vreeland 794355
%endif\
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
%kernel_variant_files %{_use_vdso} %{with_up}
Justin Vreeland 794355
%kernel_variant_files %{_use_vdso} %{with_debug} debug
Justin Vreeland 794355
%if %{with_debug_meta}
Justin Vreeland 794355
%files debug
Justin Vreeland 794355
%files debug-core
Justin Vreeland 794355
%files debug-devel
Justin Vreeland 794355
%files debug-devel-matched
Justin Vreeland 794355
%files debug-modules
Justin Vreeland 794355
%files debug-modules-extra
Justin Vreeland 794355
%endif
Justin Vreeland 794355
%kernel_variant_files %{use_vdso} %{with_pae} lpae
Justin Vreeland 794355
%kernel_variant_files %{_use_vdso} %{with_zfcpdump} zfcpdump
Justin Vreeland 794355
Justin Vreeland 794355
%define kernel_variant_ipaclones(k:) \
Justin Vreeland 794355
%if %{1}\
Justin Vreeland 794355
%if %{with_ipaclones}\
Justin Vreeland 794355
%{expand:%%files %{?2:%{2}-}ipaclones-internal}\
Justin Vreeland 794355
%defattr(-,root,root)\
Justin Vreeland 794355
%defverify(not mtime)\
Justin Vreeland 794355
/usr/src/kernels/%{KVERREL}%{?2:+%{2}}-ipaclones\
Justin Vreeland 794355
%endif\
Justin Vreeland 794355
%endif\
Justin Vreeland 794355
%{nil}
Justin Vreeland 794355
Justin Vreeland 794355
%kernel_variant_ipaclones %{with_up}
Justin Vreeland 794355
Justin Vreeland 794355
# plz don't put in a version string unless you're going to tag
Justin Vreeland 794355
# and build.
Justin Vreeland 794355
#
Justin Vreeland 794355
#
Justin Vreeland 794355
%changelog
Justin Vreeland 794355
* Tue Oct 12 2021 Justin Vreeland <vreeland.justin@gmail.com> - 5.14.0-%{specrelease}
Justin Vreeland 794355
- Update for CentOS Hyperscale SIG
Justin Vreeland 794355
Justin Vreeland 794355
* Mon Oct 11 2021 Herton R. Krzesinski <herton@redhat.com> [5.14.0-7.el9]
Justin Vreeland 794355
- redhat: Enable Nitro Enclaves driver on x86 for real (Vitaly Kuznetsov) [2011739]
Justin Vreeland 794355
- redhat/.gitignore: Add rhel9 KABI files (Prarit Bhargava) [2009489]
Justin Vreeland 794355
- hwmon: (k10temp) Add support for yellow carp (David Arcari) [1987069]
Justin Vreeland 794355
- hwmon: (k10temp) Rework the temperature offset calculation (David Arcari) [1987069]
Justin Vreeland 794355
- hwmon: (k10temp) Don't show Tdie for all Zen/Zen2/Zen3 CPU/APU (David Arcari) [1987069]
Justin Vreeland 794355
- hwmon: (k10temp) Add additional missing Zen2 and Zen3 APUs (David Arcari) [1987069]
Justin Vreeland 794355
- hwmon: (k10temp) support Zen3 APUs (David Arcari) [1987069]
Justin Vreeland 794355
- selinux,smack: fix subjective/objective credential use mixups (Ondrej Mosnacek) [2008145]
Justin Vreeland 794355
- redhat: kernel.spec: selftests: abort on build failure (Jiri Benc) [2004012]
Justin Vreeland 794355
- Revert "bpf, selftests: Disable tests that need clang13" (Jiri Benc) [2004012]
Justin Vreeland 794355
- selftests, bpf: Fix makefile dependencies on libbpf (Jiri Benc) [2004012]
Justin Vreeland 794355
Justin Vreeland 794355
* Fri Oct 08 2021 Herton R. Krzesinski <herton@redhat.com> [5.14.0-6.el9]
Justin Vreeland 794355
- pinctrl: Bulk conversion to generic_handle_domain_irq() (David Arcari) [2000232]
Justin Vreeland 794355
- pinctrl: amd: Handle wake-up interrupt (David Arcari) [2000232]
Justin Vreeland 794355
- pinctrl: amd: Add irq field data (David Arcari) [2000232]
Justin Vreeland 794355
- Revert "redhat: define _rhel variable because pesign macro now needs it" (Jan Stancek)
Justin Vreeland 794355
- redhat: switch secureboot kernel image signing to release keys (Jan Stancek)
Justin Vreeland 794355
- redhat/configs: Disable FIREWIRE (Prarit Bhargava) [1871862]
Justin Vreeland 794355
- Enable e1000 in rhel9 as unsupported (Ken Cox) [2002344]
Justin Vreeland 794355
Justin Vreeland 794355
* Mon Oct 04 2021 Jan Stancek <jstancek@redhat.com> [5.14.0-1.6.1.el9]
Justin Vreeland 794355
- Revert "redhat: define _rhel variable because pesign macro now needs it" (Jan Stancek)
Justin Vreeland 794355
- redhat: switch secureboot kernel image signing to release keys (Jan Stancek)
Justin Vreeland 794355
- redhat/configs: Disable FIREWIRE (Prarit Bhargava) [1871862]
Justin Vreeland 794355
- Enable e1000 in rhel9 as unsupported (Ken Cox) [2002344]
Justin Vreeland 794355
Justin Vreeland 794355
* Thu Sep 30 2021 Herton R. Krzesinski <herton@redhat.com> [5.14.0-5.el9]
Justin Vreeland 794355
- redhat/configs: enable CONFIG_SQUASHFS_ZSTD which is already enabled in Fedora 34 (Tao Liu) [1998953]
Justin Vreeland 794355
- fs: dlm: fix return -EINTR on recovery stopped (Alexander Aring) [2004213]
Justin Vreeland 794355
- redhat: replace redhatsecureboot303 signing key with redhatsecureboot601 (Jan Stancek) [2002499]
Justin Vreeland 794355
- redhat: define _rhel variable because pesign macro now needs it (Jan Stancek) [2002499]
Justin Vreeland 794355
- redhat: drop certificates that were deprecated after GRUB's BootHole flaw (Jan Stancek) [1994849]
Justin Vreeland 794355
- redhat: correct file name of redhatsecurebootca1 (Jan Stancek) [2002499]
Justin Vreeland 794355
- redhat: align file names with names of signing keys for ppc and s390 (Jan Stancek) [2002499]
Justin Vreeland 794355
- redhat: restore sublevel in changelog (Jan Stancek)
Justin Vreeland 794355
- fs: dlm: avoid comms shutdown delay in release_lockspace (Alexander Aring) [1994749]
Justin Vreeland 794355
- redhat/configs: Enable CONFIG_BLK_CGROUP_IOLATENCY & CONFIG_BLK_CGROUP_FC_APPID (Waiman Long) [1996675]
Justin Vreeland 794355
- redhat/configs: remove conflicting SYSTEM_BLACKLIST_KEYRING (Bruno Meneguele) [2002350]
Justin Vreeland 794355
- Enable "inter server to server" NFSv4.2 COPY (Steve Dickson) [1487367]
Justin Vreeland 794355
Justin Vreeland 794355
* Wed Sep 29 2021 Jan Stancek <jstancek@redhat.com> [5.14.0-1.5.1.el9]
Justin Vreeland 794355
- fs: dlm: fix return -EINTR on recovery stopped (Alexander Aring) [2004213]
Justin Vreeland 794355
- redhat/configs: Update configs for secure IPL (Claudio Imbrenda) [1976884]
Justin Vreeland 794355
- redhat: replace redhatsecureboot303 signing key with redhatsecureboot601 (Jan Stancek) [2002499]
Justin Vreeland 794355
- redhat: define _rhel variable because pesign macro now needs it (Jan Stancek) [2002499]
Justin Vreeland 794355
- redhat: drop certificates that were deprecated after GRUB's BootHole flaw (Jan Stancek) [1994849]
Justin Vreeland 794355
- redhat: correct file name of redhatsecurebootca1 (Jan Stancek) [2002499]
Justin Vreeland 794355
- redhat: align file names with names of signing keys for ppc and s390 (Jan Stancek) [2002499]
Justin Vreeland 794355
Justin Vreeland 794355
* Mon Sep 27 2021 Jan Stancek <jstancek@redhat.com> [5.14.0-1.4.1.el9]
Justin Vreeland 794355
- redhat: restore sublevel in changelog (Jan Stancek)
Justin Vreeland 794355
- fs: dlm: avoid comms shutdown delay in release_lockspace (Alexander Aring) [1994749]
Justin Vreeland 794355
- redhat/configs: Enable CONFIG_BLK_CGROUP_IOLATENCY & CONFIG_BLK_CGROUP_FC_APPID (Waiman Long) [1996675]
Justin Vreeland 794355
Justin Vreeland 794355
* Wed Sep 22 2021 Herton R. Krzesinski <herton@redhat.com> [5.14-4.el9]
Justin Vreeland 794355
- Drivers: hv: vmbus: Fix kernel crash upon unbinding a device from uio_hv_generic driver (Vitaly Kuznetsov) [1999535]
Justin Vreeland 794355
- ipc: replace costly bailout check in sysvipc_find_ipc() (Rafael Aquini) [1987130 2003270] {CVE-2021-3669}
Justin Vreeland 794355
- redhat/configs: Disable CONFIG_DRM_VMWGFX on aarch64 (Michel Dänzer) [1996993]
Justin Vreeland 794355
- redhat: set USE_DIST_IN_SOURCE=1 for 9.0-beta (Jan Stancek)
Justin Vreeland 794355
- redhat: add option to use DIST tag in sources (Jan Stancek)
Justin Vreeland 794355
- CI: Enable notification messages for RHEL9 (Veronika Kabatova)
Justin Vreeland 794355
- CI: Enable private pipelines for RT branches (Veronika Kabatova)
Justin Vreeland 794355
- CI: Remove ARK leftovers (Veronika Kabatova)
Justin Vreeland 794355
- redhat: add *-matched meta packages to rpminspect emptyrpm config (Herton R. Krzesinski)
Justin Vreeland 794355
- gfs2: Don't call dlm after protocol is unmounted (Bob Peterson) [1988451]
Justin Vreeland 794355
- gfs2: don't stop reads while withdraw in progress (Bob Peterson) [1988451]
Justin Vreeland 794355
- gfs2: Mark journal inodes as "don't cache" (Bob Peterson) [1988451]
Justin Vreeland 794355
- cgroup/cpuset: Avoid memory migration when nodemasks match (Waiman Long) [1980430]
Justin Vreeland 794355
- cgroup/cpuset: Enable memory migration for cpuset v2 (Waiman Long) [1980430]
Justin Vreeland 794355
- iscsi_ibft: Fix isa_bus_to_virt not working under ARM (Maurizio Lombardi) [1963801]
Justin Vreeland 794355
- x86/setup: Explicitly include acpi.h (Maurizio Lombardi) [1963801]
Justin Vreeland 794355
- iscsi_ibft: fix warning in reserve_ibft_region() (Maurizio Lombardi) [1963801]
Justin Vreeland 794355
- iscsi_ibft: fix crash due to KASLR physical memory remapping (Maurizio Lombardi) [1963801]
Justin Vreeland 794355
- redhat: fix chronological order in the changelog file (Herton R. Krzesinski)
Justin Vreeland 794355
Justin Vreeland 794355
* Wed Sep 22 2021 Jan Stancek <jstancek@redhat.com> [5.14.0-1.3.1.el9]
Justin Vreeland 794355
- redhat/configs: remove conflicting SYSTEM_BLACKLIST_KEYRING (Bruno Meneguele) [2002350]
Justin Vreeland 794355
- Enable "inter server to server" NFSv4.2 COPY (Steve Dickson) [1487367]
Justin Vreeland 794355
Justin Vreeland 794355
* Fri Sep 17 2021 Jan Stancek <jstancek@redhat.com> [5.14-1.2.1.el9]
Justin Vreeland 794355
- redhat/configs: Disable CONFIG_DRM_VMWGFX on aarch64 (Michel Dänzer) [1996993]
Justin Vreeland 794355
- redhat: set USE_DIST_IN_SOURCE=1 for 9.0-beta (Jan Stancek)
Justin Vreeland 794355
- redhat: add option to use DIST tag in sources (Jan Stancek)
Justin Vreeland 794355
- CI: Enable notification messages for RHEL9 (Veronika Kabatova)
Justin Vreeland 794355
- CI: Enable private pipelines for RT branches (Veronika Kabatova)
Justin Vreeland 794355
- CI: Remove ARK leftovers (Veronika Kabatova)
Justin Vreeland 794355
- redhat: add *-matched meta packages to rpminspect emptyrpm config (Herton R. Krzesinski)
Justin Vreeland 794355
- gfs2: Don't call dlm after protocol is unmounted (Bob Peterson) [1988451]
Justin Vreeland 794355
- gfs2: don't stop reads while withdraw in progress (Bob Peterson) [1988451]
Justin Vreeland 794355
- gfs2: Mark journal inodes as "don't cache" (Bob Peterson) [1988451]
Justin Vreeland 794355
- cgroup/cpuset: Avoid memory migration when nodemasks match (Waiman Long) [1980430]
Justin Vreeland 794355
- cgroup/cpuset: Enable memory migration for cpuset v2 (Waiman Long) [1980430]
Justin Vreeland 794355
- iscsi_ibft: Fix isa_bus_to_virt not working under ARM (Maurizio Lombardi) [1963801]
Justin Vreeland 794355
- x86/setup: Explicitly include acpi.h (Maurizio Lombardi) [1963801]
Justin Vreeland 794355
- iscsi_ibft: fix warning in reserve_ibft_region() (Maurizio Lombardi) [1963801]
Justin Vreeland 794355
- iscsi_ibft: fix crash due to KASLR physical memory remapping (Maurizio Lombardi) [1963801]
Justin Vreeland 794355
Justin Vreeland 794355
* Thu Sep 16 2021 Herton R. Krzesinski <herton@redhat.com> [5.14-3]
Justin Vreeland 794355
- misc/pvpanic-pci: Allow automatic loading (Eric Auger) [1977192]
Justin Vreeland 794355
- md/raid10: Remove unnecessary rcu_dereference in raid10_handle_discard (Nigel Croxon) [1965294]
Justin Vreeland 794355
- rcu: Avoid unneeded function call in rcu_read_unlock() (Waiman Long) [1998549]
Justin Vreeland 794355
- Enable bridge jobs for scratch pipelines (Michael Hofmann)
Justin Vreeland 794355
- CI: use 9.0-beta-rt branch for -rt pipeline (Jan Stancek)
Justin Vreeland 794355
- crypto: ccp - Add support for new CCP/PSP device ID (Vladis Dronov) [1987099]
Justin Vreeland 794355
- crypto: ccp - shutdown SEV firmware on kexec (Vladis Dronov) [1987099]
Justin Vreeland 794355
Justin Vreeland 794355
* Tue Sep 14 2021 Jan Stancek <jstancek@redhat.com> [5.14-1.1.1]
Justin Vreeland 794355
- md/raid10: Remove unnecessary rcu_dereference in raid10_handle_discard (Nigel Croxon) [1965294]
Justin Vreeland 794355
- rcu: Avoid unneeded function call in rcu_read_unlock() (Waiman Long) [1998549]
Justin Vreeland 794355
Justin Vreeland 794355
* Mon Sep 13 2021 Herton R. Krzesinski <herton@redhat.com> [5.14-2]
Justin Vreeland 794355
- redhat: update branches/targets after 9 Beta fork (Herton R. Krzesinski)
Justin Vreeland 794355
- hv_utils: Set the maximum packet size for VSS driver to the length of the receive buffer (Vitaly Kuznetsov) [1996628]
Justin Vreeland 794355
- Enable bridge jobs for scratch pipelines (Michael Hofmann)
Justin Vreeland 794355
Justin Vreeland 794355
* Mon Aug 30 2021 Herton R. Krzesinski <herton@redhat.com> [5.14-1]
Justin Vreeland 794355
- redhat: drop Patchlist.changelog for RHEL (Jan Stancek) [1997494]
Justin Vreeland 794355
- redhat: update Makefile.variables for centos/rhel9 fork (Herton R. Krzesinski)
Justin Vreeland 794355
- redhat: add support for stream profile in koji/brew (Herton R. Krzesinski)
Justin Vreeland 794355
- redhat: make DIST default to .el9 (Herton R. Krzesinski)
Justin Vreeland 794355
- redhat: set default values in Makefiles for RHEL 9 Beta (Jan Stancek) [1997494]
Justin Vreeland 794355
- arm64: use common CONFIG_MAX_ZONEORDER for arm kernel (Mark Salter)
Justin Vreeland 794355
- Create Makefile.variables for a single point of configuration change (Justin M. Forbes)
Justin Vreeland 794355
- rpmspec: drop traceevent files instead of just excluding them from files list (Herton R. Krzesinski) [1967640]
Justin Vreeland 794355
- redhat/config: Enablement of CONFIG_PAPR_SCM for PowerPC (Gustavo Walbon) [1962936]
Justin Vreeland 794355
- Attempt to fix Intel PMT code (David Arcari)
Justin Vreeland 794355
- CI: Enable realtime branch testing (Veronika Kabatova)
Justin Vreeland 794355
- CI: Enable realtime checks for c9s and RHEL9 (Veronika Kabatova)
Justin Vreeland 794355
- [fs] dax: mark tech preview (Bill O'Donnell)
Justin Vreeland 794355
- ark: wireless: enable all rtw88 pcie wirless variants (Peter Robinson)
Justin Vreeland 794355
- wireless: rtw88: move debug options to common/debug (Peter Robinson)
Justin Vreeland 794355
- fedora: minor PTP clock driver cleanups (Peter Robinson)
Justin Vreeland 794355
- common: x86: enable VMware PTP support on ark (Peter Robinson)
Justin Vreeland 794355
- arm64: dts: rockchip: Disable CDN DP on Pinebook Pro (Matthias Brugger)
Justin Vreeland 794355
- arm64: dts: rockchip: Setup USB typec port as datarole on (Dan Johansen)
Justin Vreeland 794355
- [scsi] megaraid_sas: re-add certain pci-ids (Tomas Henzl)
Justin Vreeland 794355
- xfs: drop experimental warnings for bigtime and inobtcount (Bill O'Donnell) [1995321]
Justin Vreeland 794355
- Disable liquidio driver on ark/rhel (Herton R. Krzesinski) [1993393]
Justin Vreeland 794355
- More Fedora config updates (Justin M. Forbes)
Justin Vreeland 794355
- Fedora config updates for 5.14 (Justin M. Forbes)
Justin Vreeland 794355
- CI: Rename ARK CI pipeline type (Veronika Kabatova)
Justin Vreeland 794355
- CI: Finish up c9s config (Veronika Kabatova)
Justin Vreeland 794355
- CI: Update ppc64le config (Veronika Kabatova)
Justin Vreeland 794355
- CI: use more templates (Veronika Kabatova)
Justin Vreeland 794355
- Filter updates for aarch64 (Justin M. Forbes)
Justin Vreeland 794355
- increase CONFIG_NODES_SHIFT for aarch64 (Chris von Recklinghausen) [1890304]
Justin Vreeland 794355
- redhat: configs: Enable CONFIG_WIRELESS_HOTKEY (Hans de Goede)
Justin Vreeland 794355
- redhat/configs: Update CONFIG_NVRAM (Desnes A. Nunes do Rosario) [1988254]
Justin Vreeland 794355
- common: serial: build in SERIAL_8250_LPSS for x86 (Peter Robinson)
Justin Vreeland 794355
- powerpc: enable CONFIG_FUNCTION_PROFILER (Diego Domingos) [1831065]
Justin Vreeland 794355
- crypto: rng - Override drivers/char/random in FIPS mode (Herbert Xu)
Justin Vreeland 794355
- random: Add hook to override device reads and getrandom(2) (Herbert Xu)
Justin Vreeland 794355
- redhat/configs: Disable Soft-RoCE driver (Kamal Heib)
Justin Vreeland 794355
- redhat/configs/evaluate_configs: Update help output (Prarit Bhargava)
Justin Vreeland 794355
- redhat/configs: Double MAX_LOCKDEP_CHAINS (Justin M. Forbes)
Justin Vreeland 794355
- fedora: configs: Fix WM5102 Kconfig (Hans de Goede)
Justin Vreeland 794355
- powerpc: enable CONFIG_POWER9_CPU (Diego Domingos) [1876436]
Justin Vreeland 794355
- redhat/configs: Fix CONFIG_VIRTIO_IOMMU to 'y' on aarch64 (Eric Auger) [1972795]
Justin Vreeland 794355
- filter-modules.sh: add more sound modules to filter (Jaroslav Kysela)
Justin Vreeland 794355
- redhat/configs: sound configuration cleanups and updates (Jaroslav Kysela)
Justin Vreeland 794355
- common: Update for CXL (Compute Express Link) configs (Peter Robinson)
Justin Vreeland 794355
- redhat: configs: disable CRYPTO_SM modules (Herton R. Krzesinski) [1990040]
Justin Vreeland 794355
- Remove fedora version of the LOCKDEP_BITS, we should use common (Justin M. Forbes)
Justin Vreeland 794355
- Re-enable sermouse for x86 (rhbz 1974002) (Justin M. Forbes)
Justin Vreeland 794355
- Fedora 5.14 configs round 1 (Justin M. Forbes)
Justin Vreeland 794355
- redhat: add gating configuration for centos stream/rhel9 (Herton R. Krzesinski)
Justin Vreeland 794355
- x86: configs: Enable CONFIG_TEST_FPU for debug kernels (Vitaly Kuznetsov) [1988384]
Justin Vreeland 794355
- redhat/configs: Move CHACHA and POLY1305 to core kernel to allow BIG_KEYS=y (root) [1983298]
Justin Vreeland 794355
- kernel.spec: fix build of samples/bpf (Jiri Benc)
Justin Vreeland 794355
- Enable OSNOISE_TRACER and TIMERLAT_TRACER (Jerome Marchand) [1979379]
Justin Vreeland 794355
- rpmspec: switch iio and gpio tools to use tools_make (Herton R. Krzesinski) [1956988]
Justin Vreeland 794355
- configs/process_configs.sh: Handle config items with no help text (Patrick Talbert)
Justin Vreeland 794355
- fedora: sound config updates for 5.14 (Peter Robinson)
Justin Vreeland 794355
- fedora: Only enable FSI drivers on POWER platform (Peter Robinson)
Justin Vreeland 794355
- The CONFIG_RAW_DRIVER has been removed from upstream (Peter Robinson)
Justin Vreeland 794355
- fedora: updates for 5.14 with a few disables for common from pending (Peter Robinson)
Justin Vreeland 794355
- fedora: migrate from MFD_TPS68470 -> INTEL_SKL_INT3472 (Peter Robinson)
Justin Vreeland 794355
- fedora: Remove STAGING_GASKET_FRAMEWORK (Peter Robinson)
Justin Vreeland 794355
- Fedora: move DRM_VMWGFX configs from ark -> common (Peter Robinson)
Justin Vreeland 794355
- fedora: arm: disabled unused FB drivers (Peter Robinson)
Justin Vreeland 794355
- fedora: don't enable FB_VIRTUAL (Peter Robinson)
Justin Vreeland 794355
- redhat/configs: Double MAX_LOCKDEP_ENTRIES (Waiman Long) [1940075]
Justin Vreeland 794355
- rpmspec: fix verbose output on kernel-devel installation (Herton R. Krzesinski) [1981406]
Justin Vreeland 794355
- Build Fedora x86s kernels with bytcr-wm5102 (Marius Hoch)
Justin Vreeland 794355
- Deleted redhat/configs/fedora/generic/x86/CONFIG_FB_HYPERV (Patrick Lang)
Justin Vreeland 794355
- rpmspec: correct the ghost initramfs attributes (Herton R. Krzesinski) [1977056]
Justin Vreeland 794355
- rpmspec: amend removal of depmod created files to include modules.builtin.alias.bin (Herton R. Krzesinski) [1977056]
Justin Vreeland 794355
- configs: remove duplicate CONFIG_DRM_HYPERV file (Patrick Talbert)
Justin Vreeland 794355
- CI: use common code for merge and release (Don Zickus)
Justin Vreeland 794355
- rpmspec: add release string to kernel doc directory name (Jan Stancek)
Justin Vreeland 794355
- redhat/configs: Add CONFIG_INTEL_PMT_CRASHLOG (Michael Petlan) [1880486]
Justin Vreeland 794355
- redhat/configs: Add CONFIG_INTEL_PMT_TELEMETRY (Michael Petlan) [1880486]
Justin Vreeland 794355
- redhat/configs: Add CONFIG_MFD_INTEL_PMT (Michael Petlan) [1880486]
Justin Vreeland 794355
- redhat/configs: enable CONFIG_BLK_DEV_ZONED (Ming Lei) [1638087]
Justin Vreeland 794355
- Add --with clang_lto option to build the kernel with Link Time Optimizations (Tom Stellard)
Justin Vreeland 794355
- common: disable DVB_AV7110 and associated pieces (Peter Robinson)
Justin Vreeland 794355
- Fix fedora-only config updates (Don Zickus)
Justin Vreeland 794355
- Fedor config update for new option (Justin M. Forbes)
Justin Vreeland 794355
- redhat/configs: Enable stmmac NIC for x86_64 (Mark Salter)
Justin Vreeland 794355
- all: hyperv: use the DRM driver rather than FB (Peter Robinson)
Justin Vreeland 794355
- all: hyperv: unify the Microsoft HyperV configs (Peter Robinson)
Justin Vreeland 794355
- all: VMWare: clean up VMWare configs (Peter Robinson)
Justin Vreeland 794355
- Update CONFIG_ARM_FFA_TRANSPORT (Patrick Talbert)
Justin Vreeland 794355
- CI: Handle all mirrors (Veronika Kabatova)
Justin Vreeland 794355
- Turn on CONFIG_STACKTRACE for s390x zfpcdump kernels (Justin M. Forbes)
Justin Vreeland 794355
- arm64: switch ark kernel to 4K pagesize (Mark Salter)
Justin Vreeland 794355
- Disable AMIGA_PARTITION and KARMA_PARTITION (Prarit Bhargava) [1802694]
Justin Vreeland 794355
- all: unify and cleanup i2c TPM2 modules (Peter Robinson)
Justin Vreeland 794355
- redhat/configs: Set CONFIG_VIRTIO_IOMMU on aarch64 (Eric Auger) [1972795]
Justin Vreeland 794355
- redhat/configs: Disable CONFIG_RT_GROUP_SCHED in rhel config (Phil Auld)
Justin Vreeland 794355
- redhat/configs: enable KEXEC_SIG which is already enabled in RHEL8 for s390x and x86_64 (Coiby Xu) [1976835]
Justin Vreeland 794355
- rpmspec: do not BuildRequires bpftool on noarch (Herton R. Krzesinski)
Justin Vreeland 794355
- redhat/configs: disable {IMA,EVM}_LOAD_X509 (Bruno Meneguele) [1977529]
Justin Vreeland 794355
- redhat: add secureboot CA certificate to trusted kernel keyring (Bruno Meneguele)
Justin Vreeland 794355
- redhat/configs: enable IMA_ARCH_POLICY for aarch64 and s390x (Bruno Meneguele)
Justin Vreeland 794355
- redhat/configs: Enable CONFIG_MLXBF_GIGE on aarch64 (Alaa Hleihel) [1858599]
Justin Vreeland 794355
- common: enable STRICT_MODULE_RWX everywhere (Peter Robinson)
Justin Vreeland 794355
- COMMON_CLK_STM32MP157_SCMI is bool and selects COMMON_CLK_SCMI (Justin M. Forbes)
Justin Vreeland 794355
- kernel.spec: Add kernel{,-debug}-devel-matched meta packages (Timothée Ravier)
Justin Vreeland 794355
- Turn off with_selftests for Fedora (Justin M. Forbes)
Justin Vreeland 794355
- Don't build bpftool on Fedora (Justin M. Forbes)
Justin Vreeland 794355
- Fix location of syscall scripts for kernel-devel (Justin M. Forbes)
Justin Vreeland 794355
- fedora: arm: Enable some i.MX8 options (Peter Robinson)
Justin Vreeland 794355
- Enable Landlock for Fedora (Justin M. Forbes)
Justin Vreeland 794355
- Filter update for Fedora aarch64 (Justin M. Forbes)
Justin Vreeland 794355
- rpmspec: only build debug meta packages where we build debug ones (Herton R. Krzesinski)
Justin Vreeland 794355
- rpmspec: do not BuildRequires bpftool on nobuildarches (Herton R. Krzesinski)
Justin Vreeland 794355
- redhat/configs: Consolidate CONFIG_HMC_DRV in the common s390x folder (Thomas Huth) [1976270]
Justin Vreeland 794355
- redhat/configs: Consolidate CONFIG_EXPOLINE_OFF in the common folder (Thomas Huth) [1976270]
Justin Vreeland 794355
- redhat/configs: Move CONFIG_HW_RANDOM_S390 into the s390x/ subfolder (Thomas Huth) [1976270]
Justin Vreeland 794355
- redhat/configs: Disable CONFIG_HOTPLUG_PCI_SHPC in the Fedora settings (Thomas Huth) [1976270]
Justin Vreeland 794355
- redhat/configs: Remove the non-existent CONFIG_NO_BOOTMEM switch (Thomas Huth) [1976270]
Justin Vreeland 794355
- redhat/configs: Compile the virtio-console as a module on s390x (Thomas Huth) [1976270]
Justin Vreeland 794355
- redhat/configs: Enable CONFIG_S390_CCW_IOMMU and CONFIG_VFIO_CCW for ARK, too (Thomas Huth) [1976270]
Justin Vreeland 794355
- Revert "Merge branch 'ec_fips' into 'os-build'" (Vladis Dronov) [1947240]
Justin Vreeland 794355
- Fix typos in fedora filters (Justin M. Forbes)
Justin Vreeland 794355
- More filtering for Fedora (Justin M. Forbes)
Justin Vreeland 794355
- Fix Fedora module filtering for spi-altera-dfl (Justin M. Forbes)
Justin Vreeland 794355
- Fedora 5.13 config updates (Justin M. Forbes)
Justin Vreeland 794355
- fedora: cleanup TCG_TIS_I2C_CR50 (Peter Robinson)
Justin Vreeland 794355
- fedora: drop duplicate configs (Peter Robinson)
Justin Vreeland 794355
- More Fedora config updates for 5.13 (Justin M. Forbes)
Justin Vreeland 794355
- redhat/configs: Enable needed drivers for BlueField SoC on aarch64 (Alaa Hleihel) [1858592 1858594 1858596]
Justin Vreeland 794355
- redhat: Rename mod-blacklist.sh to mod-denylist.sh (Prarit Bhargava)
Justin Vreeland 794355
- redhat/configs: enable CONFIG_NET_ACT_MPLS (Marcelo Ricardo Leitner)
Justin Vreeland 794355
- configs: Enable CONFIG_DEBUG_KERNEL for zfcpdump (Jiri Olsa)
Justin Vreeland 794355
- kernel.spec: Add support to use vmlinux.h (Don Zickus)
Justin Vreeland 794355
- spec: Add vmlinux.h to kernel-devel package (Jiri Olsa)
Justin Vreeland 794355
- Turn off DRM_XEN_FRONTEND for Fedora as we had DRM_XEN off already (Justin M. Forbes)
Justin Vreeland 794355
- Fedora 5.13 config updates pt 3 (Justin M. Forbes)
Justin Vreeland 794355
- all: enable ath11k wireless modules (Peter Robinson)
Justin Vreeland 794355
- all: Enable WWAN and associated MHI bus pieces (Peter Robinson)
Justin Vreeland 794355
- spec: Enable sefltests rpm build (Jiri Olsa)
Justin Vreeland 794355
- spec: Allow bpf selftest/samples to fail (Jiri Olsa)
Justin Vreeland 794355
- bpf, selftests: Disable tests that need clang13 (Toke Høiland-Jørgensen)
Justin Vreeland 794355
- kvm: Add kvm_stat.service file and kvm_stat logrotate config to the tools (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: Add missing source files to kernel-selftests-internal (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: selftests: add net/forwarding to TARGETS list (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: selftests: add build requirement on libmnl-devel (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: add action.o to kernel-selftests-internal (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: avoid building bpftool repeatedly (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: selftests require python3 (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: skip selftests that failed to build (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: fix installation of bpf selftests (Jiri Benc)
Justin Vreeland 794355
- redhat: fix samples and selftests make options (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: enable mptcp selftests for kernel-selftests-internal (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: Do not export shared objects from libexecdir to RPM Provides (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: add missing dependency for the which package (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: add netfilter selftests to kernel-selftests-internal (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: move slabinfo and page_owner_sort debuginfo to tools-debuginfo (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: package and ship VM tools (Jiri Benc)
Justin Vreeland 794355
- configs: enable CONFIG_PAGE_OWNER (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: add coreutils (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: add netdevsim driver selftests to kernel-selftests-internal (Jiri Benc)
Justin Vreeland 794355
- redhat/Makefile: Clean out the --without flags from the baseonly rule (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: Stop building unnecessary rpms for baseonly builds (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: disable more kabi switches for gcov build (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: Rename kabi-dw base (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: Fix error messages during build of zfcpdump kernel (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: perf: remove bpf examples (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: selftests should not depend on modules-internal (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: build samples (Jiri Benc)
Justin Vreeland 794355
- kernel.spec: tools: sync missing options with RHEL 8 (Jiri Benc)
Justin Vreeland 794355
- redhat/configs: nftables: Enable extra flowtable symbols (Phil Sutter)
Justin Vreeland 794355
- redhat/configs: Sync netfilter options with RHEL8 (Phil Sutter)
Justin Vreeland 794355
- Fedora 5.13 config updates pt 2 (Justin M. Forbes)
Justin Vreeland 794355
- Move CONFIG_ARCH_INTEL_SOCFPGA up a level for Fedora (Justin M. Forbes)
Justin Vreeland 794355
- fedora: enable the Rockchip rk3399 pcie drivers (Peter Robinson)
Justin Vreeland 794355
- Fedora 5.13 config updates pt 1 (Justin M. Forbes)
Justin Vreeland 794355
- Fix version requirement from opencsd-devel buildreq (Justin M. Forbes)
Justin Vreeland 794355
- configs/ark/s390: set CONFIG_MARCH_Z14 and CONFIG_TUNE_Z15 (Philipp Rudo) [1876435]
Justin Vreeland 794355
- configs/common/s390: Clean up CONFIG_{MARCH,TUNE}_Z* (Philipp Rudo)
Justin Vreeland 794355
- configs/process_configs.sh: make use of dummy-tools (Philipp Rudo)
Justin Vreeland 794355
- configs/common: disable CONFIG_INIT_STACK_ALL_{PATTERN,ZERO} (Philipp Rudo)
Justin Vreeland 794355
- configs/common/aarch64: disable CONFIG_RELR (Philipp Rudo)
Justin Vreeland 794355
- redhat/config: enable STMICRO nic for RHEL (Mark Salter)
Justin Vreeland 794355
- redhat/configs: Enable ARCH_TEGRA on RHEL (Mark Salter)
Justin Vreeland 794355
- redhat/configs: enable IMA_KEXEC for supported arches (Bruno Meneguele)
Justin Vreeland 794355
- redhat/configs: enable INTEGRITY_SIGNATURE to all arches (Bruno Meneguele)
Justin Vreeland 794355
- configs: enable CONFIG_LEDS_BRIGHTNESS_HW_CHANGED (Benjamin Tissoires)
Justin Vreeland 794355
- RHEL: disable io_uring support (Jeff Moyer)
Justin Vreeland 794355
- all: Changing CONFIG_UV_SYSFS to build uv_sysfs.ko as a loadable module. (Frank Ramsay)
Justin Vreeland 794355
- Enable NITRO_ENCLAVES on RHEL (Vitaly Kuznetsov)
Justin Vreeland 794355
- Update the Quick Start documentation (David Ward)
Justin Vreeland 794355
- redhat/configs: Set PVPANIC_MMIO for x86 and PVPANIC_PCI for aarch64 (Eric Auger) [1961178]
Justin Vreeland 794355
- bpf: Fix unprivileged_bpf_disabled setup (Jiri Olsa)
Justin Vreeland 794355
- Enable CONFIG_BPF_UNPRIV_DEFAULT_OFF (Jiri Olsa)
Justin Vreeland 794355
- configs/common/s390: disable CONFIG_QETH_{OSN,OSX} (Philipp Rudo) [1903201]
Justin Vreeland 794355
- nvme: nvme_mpath_init remove multipath check (Mike Snitzer)
Justin Vreeland 794355
- team: mark team driver as deprecated (Hangbin Liu) [1945477]
Justin Vreeland 794355
- Make CRYPTO_EC also builtin (Simo Sorce) [1947240]
Justin Vreeland 794355
- Do not hard-code a default value for DIST (David Ward)
Justin Vreeland 794355
- Override %%{debugbuildsenabled} if the --with-release option is used (David Ward)
Justin Vreeland 794355
- Improve comments in SPEC file, and move some option tests and macros (David Ward)
Justin Vreeland 794355
- configs: enable CONFIG_EXFAT_FS (Pavel Reichl) [1943423]
Justin Vreeland 794355
- Revert s390x/zfcpdump part of a9d179c40281 and ecbfddd98621 (Vladis Dronov)
Justin Vreeland 794355
- Embed crypto algos, modes and templates needed in the FIPS mode (Vladis Dronov) [1947240]
Justin Vreeland 794355
- configs: Add and enable CONFIG_HYPERV_TESTING for debug kernels (Mohammed Gamal)
Justin Vreeland 794355
- mm/cma: mark CMA on x86_64 tech preview and print RHEL-specific infos (David Hildenbrand) [1945002]
Justin Vreeland 794355
- configs: enable CONFIG_CMA on x86_64 in ARK (David Hildenbrand) [1945002]
Justin Vreeland 794355
- rpmspec: build debug-* meta-packages if debug builds are disabled (Herton R. Krzesinski)
Justin Vreeland 794355
- UIO: disable unused config options (Aristeu Rozanski) [1957819]
Justin Vreeland 794355
- ARK-config: Make amd_pinctrl module builtin (Hans de Goede)
Justin Vreeland 794355
- rpmspec: revert/drop content hash for kernel-headers (Herton R. Krzesinski)
Justin Vreeland 794355
- rpmspec: fix check that calls InitBuildVars (Herton R. Krzesinski)
Justin Vreeland 794355
- fedora: enable zonefs (Damien Le Moal)
Justin Vreeland 794355
- redhat: load specific ARCH keys to INTEGRITY_PLATFORM_KEYRING (Bruno Meneguele)
Justin Vreeland 794355
- redhat: enable INTEGRITY_TRUSTED_KEYRING across all variants (Bruno Meneguele)
Justin Vreeland 794355
- redhat: enable SYSTEM_BLACKLIST_KEYRING across all variants (Bruno Meneguele)
Justin Vreeland 794355
- redhat: enable INTEGRITY_ASYMMETRIC_KEYS across all variants (Bruno Meneguele)
Justin Vreeland 794355
- Remove unused boot loader specification files (David Ward)
Justin Vreeland 794355
- redhat/configs: Enable mlx5 IPsec and TLS offloads (Alaa Hleihel) [1869674 1957636]
Justin Vreeland 794355
- Force DWARF4 because crash does not support DWARF5 yet (Justin M. Forbes)
Justin Vreeland 794355
- common: disable Apple Silicon generally (Peter Robinson)
Justin Vreeland 794355
- cleanup Intel's FPGA configs (Peter Robinson)
Justin Vreeland 794355
- common: move PTP KVM support from ark to common (Peter Robinson)
Justin Vreeland 794355
- Enable CONFIG_DRM_AMDGPU_USERPTR for everyone (Justin M. Forbes)
Justin Vreeland 794355
- redhat: add initial rpminspect configuration (Herton R. Krzesinski)
Justin Vreeland 794355
- fedora: arm updates for 5.13 (Peter Robinson)
Justin Vreeland 794355
- fedora: Enable WWAN and associated MHI bits (Peter Robinson)
Justin Vreeland 794355
- Update CONFIG_MODPROBE_PATH to /usr/sbin (Justin Forbes)
Justin Vreeland 794355
- Fedora set modprobe path (Justin M. Forbes)
Justin Vreeland 794355
- Keep sctp and l2tp modules in modules-extra (Don Zickus)
Justin Vreeland 794355
- Fix ppc64le cross build packaging (Don Zickus)
Justin Vreeland 794355
- Fedora: Make amd_pinctrl module builtin (Hans de Goede)
Justin Vreeland 794355
- Keep CONFIG_KASAN_HW_TAGS off for aarch64 debug configs (Justin M. Forbes)
Justin Vreeland 794355
- New configs in drivers/bus (Fedora Kernel Team)
Justin Vreeland 794355
- RHEL: Don't build KVM PR module on ppc64 (David Gibson) [1930649]
Justin Vreeland 794355
- Flip CONFIG_USB_ROLE_SWITCH from m to y (Justin M. Forbes)
Justin Vreeland 794355
- Set valid options for CONFIG_FW_LOADER_USER_HELPER (Justin M. Forbes)
Justin Vreeland 794355
- Clean up CONFIG_FB_MODE_HELPERS (Justin M. Forbes)
Justin Vreeland 794355
- Turn off CONFIG_VFIO for the s390x zfcpdump kernel (Justin M. Forbes)
Justin Vreeland 794355
- Delete unused CONFIG_SND_SOC_MAX98390 pending-common (Justin M. Forbes)
Justin Vreeland 794355
- Update pending-common configs, preparing to set correctly (Justin M. Forbes)
Justin Vreeland 794355
- Update fedora filters for surface (Justin M. Forbes)
Justin Vreeland 794355
- Build CONFIG_CRYPTO_ECDSA inline for s390x zfcpdump (Justin M. Forbes)
Justin Vreeland 794355
- Replace "flavour" where "variant" is meant instead (David Ward)
Justin Vreeland 794355
- Drop the %%{variant} macro and fix --with-vanilla (David Ward)
Justin Vreeland 794355
- Fix syntax of %%kernel_variant_files (David Ward)
Justin Vreeland 794355
- Change description of --without-vdso-install to fix typo (David Ward)
Justin Vreeland 794355
- Config updates to work around mismatches (Justin M. Forbes)
Justin Vreeland 794355
- CONFIG_SND_SOC_FSL_ASOC_CARD selects CONFIG_MFD_WM8994 now (Justin M. Forbes)
Justin Vreeland 794355
- wireguard: disable in FIPS mode (Hangbin Liu) [1940794]
Justin Vreeland 794355
- Enable mtdram for fedora (rhbz 1955916) (Justin M. Forbes)
Justin Vreeland 794355
- Remove reference to bpf-helpers man page (Justin M. Forbes)
Justin Vreeland 794355
- Fedora: enable more modules for surface devices (Dave Olsthoorn)
Justin Vreeland 794355
- Fix Fedora config mismatch for CONFIG_FSL_ENETC_IERB (Justin M. Forbes)
Justin Vreeland 794355
- hardlink is in /usr/bin/ now (Justin M. Forbes)
Justin Vreeland 794355
- Ensure CONFIG_KVM_BOOK3S_64_PR stays on in Fedora, even if it is turned off in RHEL (Justin M. Forbes)
Justin Vreeland 794355
- Set date in package release from repository commit, not system clock (David Ward)
Justin Vreeland 794355
- Use a better upstream tarball filename for snapshots (David Ward)
Justin Vreeland 794355
- Don't create empty pending-common files on pending-fedora commits (Don Zickus)
Justin Vreeland 794355
- nvme: decouple basic ANA log page re-read support from native multipathing (Mike Snitzer)
Justin Vreeland 794355
- nvme: allow local retry and proper failover for REQ_FAILFAST_TRANSPORT (Mike Snitzer)
Justin Vreeland 794355
- nvme: Return BLK_STS_TARGET if the DNR bit is set (Mike Snitzer)
Justin Vreeland 794355
- Add redhat/configs/pending-common/generic/s390x/zfcpdump/CONFIG_NETFS_SUPPORT (Justin M. Forbes)
Justin Vreeland 794355
- Create ark-latest branch last for CI scripts (Don Zickus)
Justin Vreeland 794355
- Replace /usr/libexec/platform-python with /usr/bin/python3 (David Ward)
Justin Vreeland 794355
- Turn off ADI_AXI_ADC and AD9467 which now require CONFIG_OF (Justin M. Forbes)
Justin Vreeland 794355
- Export ark infrastructure files (Don Zickus)
Justin Vreeland 794355
- docs: Update docs to reflect newer workflow. (Don Zickus)
Justin Vreeland 794355
- Use upstream/master for merge-base with fallback to master (Don Zickus)
Justin Vreeland 794355
- Fedora: Turn off the SND_INTEL_BYT_PREFER_SOF option (Hans de Goede)
Justin Vreeland 794355
- filter-modules.sh.fedora: clean up "netprots" (Paul Bolle)
Justin Vreeland 794355
- filter-modules.sh.fedora: clean up "scsidrvs" (Paul Bolle)
Justin Vreeland 794355
- filter-*.sh.fedora: clean up "ethdrvs" (Paul Bolle)
Justin Vreeland 794355
- filter-*.sh.fedora: clean up "driverdirs" (Paul Bolle)
Justin Vreeland 794355
- filter-*.sh.fedora: remove incorrect entries (Paul Bolle)
Justin Vreeland 794355
- filter-*.sh.fedora: clean up "singlemods" (Paul Bolle)
Justin Vreeland 794355
- filter-modules.sh.fedora: drop unused list "iiodrvs" (Paul Bolle)
Justin Vreeland 794355
- Update mod-internal to fix depmod issue (Nico Pache)
Justin Vreeland 794355
- Turn on CONFIG_VDPA_SIM_NET (rhbz 1942343) (Justin M. Forbes)
Justin Vreeland 794355
- New configs in drivers/power (Fedora Kernel Team)
Justin Vreeland 794355
- Turn on CONFIG_NOUVEAU_DEBUG_PUSH for debug configs (Justin M. Forbes)
Justin Vreeland 794355
- Turn off KFENCE sampling by default for Fedora (Justin M. Forbes)
Justin Vreeland 794355
- Fedora config updates round 2 (Justin M. Forbes)
Justin Vreeland 794355
- New configs in drivers/soc (Jeremy Cline)
Justin Vreeland 794355
- filter-modules.sh: Fix copy/paste error 'input' (Paul Bolle)
Justin Vreeland 794355
- Update module filtering for 5.12 kernels (Justin M. Forbes)
Justin Vreeland 794355
- Fix genlog.py to ensure that comments retain "%%" characters. (Mark Mielke)
Justin Vreeland 794355
- New configs in drivers/leds (Fedora Kernel Team)
Justin Vreeland 794355
- Limit CONFIG_USB_CDNS_SUPPORT to x86_64 and arm in Fedora (David Ward)
Justin Vreeland 794355
- Fedora: Enable CHARGER_GPIO on aarch64 too (Peter Robinson)
Justin Vreeland 794355
- Fedora config updates (Justin M. Forbes)
Justin Vreeland 794355
- wireguard: mark as Tech Preview (Hangbin Liu) [1613522]
Justin Vreeland 794355
- configs: enable CONFIG_WIREGUARD in ARK (Hangbin Liu) [1613522]
Justin Vreeland 794355
- Remove duplicate configs acroos fedora, ark and common (Don Zickus)
Justin Vreeland 794355
- Combine duplicate configs across ark and fedora into common (Don Zickus)
Justin Vreeland 794355
- common/ark: cleanup and unify the parport configs (Peter Robinson)
Justin Vreeland 794355
- iommu/vt-d: enable INTEL_IDXD_SVM for both fedora and rhel (Jerry Snitselaar)
Justin Vreeland 794355
- REDHAT: coresight: etm4x: Disable coresight on HPE Apollo 70 (Jeremy Linton)
Justin Vreeland 794355
- configs/common/generic: disable CONFIG_SLAB_MERGE_DEFAULT (Rafael Aquini)
Justin Vreeland 794355
- Remove _legacy_common_support (Justin M. Forbes)
Justin Vreeland 794355
- redhat/mod-blacklist.sh: Fix floppy blacklisting (Hans de Goede)
Justin Vreeland 794355
- New configs in fs/pstore (CKI@GitLab)
Justin Vreeland 794355
- New configs in arch/powerpc (Fedora Kernel Team)
Justin Vreeland 794355
- configs: enable BPF LSM on Fedora and ARK (Ondrej Mosnacek)
Justin Vreeland 794355
- configs: clean up LSM configs (Ondrej Mosnacek)
Justin Vreeland 794355
- New configs in drivers/platform (CKI@GitLab)
Justin Vreeland 794355
- New configs in drivers/firmware (CKI@GitLab)
Justin Vreeland 794355
- New configs in drivers/mailbox (Fedora Kernel Team)
Justin Vreeland 794355
- New configs in drivers/net/phy (Justin M. Forbes)
Justin Vreeland 794355
- Update CONFIG_DM_MULTIPATH_IOA (Augusto Caringi)
Justin Vreeland 794355
- New configs in mm/Kconfig (CKI@GitLab)
Justin Vreeland 794355
- New configs in arch/powerpc (Jeremy Cline)
Justin Vreeland 794355
- New configs in arch/powerpc (Jeremy Cline)
Justin Vreeland 794355
- New configs in drivers/input (Fedora Kernel Team)
Justin Vreeland 794355
- New configs in net/bluetooth (Justin M. Forbes)
Justin Vreeland 794355
- New configs in drivers/clk (Fedora Kernel Team)
Justin Vreeland 794355
- New configs in init/Kconfig (Jeremy Cline)
Justin Vreeland 794355
- redhat: allow running fedora-configs and rh-configs targets outside of redhat/ (Herton R. Krzesinski)
Justin Vreeland 794355
- all: unify the disable of goldfish (android emulation platform) (Peter Robinson)
Justin Vreeland 794355
- common: minor cleanup/de-dupe of dma/dmabuf debug configs (Peter Robinson)
Justin Vreeland 794355
- common/ark: these drivers/arches were removed in 5.12 (Peter Robinson)
Justin Vreeland 794355
- Correct kernel-devel make prepare build for 5.12. (Paulo E. Castro)
Justin Vreeland 794355
- redhat: add initial support for centos stream dist-git sync on Makefiles (Herton R. Krzesinski)
Justin Vreeland 794355
- redhat/configs: Enable CONFIG_SCHED_STACK_END_CHECK for Fedora and ARK (Josh Poimboeuf) [1856174]
Justin Vreeland 794355
- CONFIG_VFIO now selects IOMMU_API instead of depending on it, causing several config mismatches for the zfcpdump kernel (Justin M. Forbes)
Justin Vreeland 794355
- Turn off weak-modules for Fedora (Justin M. Forbes)
Justin Vreeland 794355
- redhat: enable CONFIG_FW_LOADER_COMPRESS for ARK (Herton R. Krzesinski) [1939095]
Justin Vreeland 794355
- Fedora: filters: update to move dfl-emif to modules (Peter Robinson)
Justin Vreeland 794355
- drop duplicate DEVFREQ_GOV_SIMPLE_ONDEMAND config (Peter Robinson)
Justin Vreeland 794355
- efi: The EFI_VARS is legacy and now x86 only (Peter Robinson)
Justin Vreeland 794355
- common: enable RTC_SYSTOHC to supplement update_persistent_clock64 (Peter Robinson)
Justin Vreeland 794355
- generic: arm: enable SCMI for all options (Peter Robinson)
Justin Vreeland 794355
- fedora: the PCH_CAN driver is x86-32 only (Peter Robinson)
Justin Vreeland 794355
- common: disable legacy CAN device support (Peter Robinson)
Justin Vreeland 794355
- common: Enable Microchip MCP251x/MCP251xFD CAN controllers (Peter Robinson)
Justin Vreeland 794355
- common: Bosch MCAN support for Intel Elkhart Lake (Peter Robinson)
Justin Vreeland 794355
- common: enable CAN_PEAK_PCIEFD PCI-E driver (Peter Robinson)
Justin Vreeland 794355
- common: disable CAN_PEAK_PCIEC PCAN-ExpressCard (Peter Robinson)
Justin Vreeland 794355
- common: enable common CAN layer 2 protocols (Peter Robinson)
Justin Vreeland 794355
- ark: disable CAN_LEDS option (Peter Robinson)
Justin Vreeland 794355
- Fedora: Turn on SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC option (Hans de Goede)
Justin Vreeland 794355
- Fedora: enable modules for surface devices (Dave Olsthoorn)
Justin Vreeland 794355
- Turn on SND_SOC_INTEL_SOUNDWIRE_SOF_MACH for Fedora again (Justin M. Forbes)
Justin Vreeland 794355
- common: fix WM8804 codec dependencies (Peter Robinson)
Justin Vreeland 794355
- Build SERIO_SERPORT as a module (Peter Robinson)
Justin Vreeland 794355
- input: touchscreen: move ELO and Wacom serial touchscreens to x86 (Peter Robinson)
Justin Vreeland 794355
- Sync serio touchscreens for non x86 architectures to the same as ARK (Peter Robinson)
Justin Vreeland 794355
- Only enable SERIO_LIBPS2 on x86 (Peter Robinson)
Justin Vreeland 794355
- Only enable PC keyboard controller and associated keyboard on x86 (Peter Robinson)
Justin Vreeland 794355
- Generic: Mouse: Tweak generic serial mouse options (Peter Robinson)
Justin Vreeland 794355
- Only enable PS2 Mouse options on x86 (Peter Robinson)
Justin Vreeland 794355
- Disable bluetooth highspeed by default (Peter Robinson)
Justin Vreeland 794355
- Fedora: A few more general updates for 5.12 window (Peter Robinson)
Justin Vreeland 794355
- Fedora: Updates for 5.12 merge window (Peter Robinson)
Justin Vreeland 794355
- Fedora: remove dead options that were removed upstream (Peter Robinson)
Justin Vreeland 794355
- redhat: remove CONFIG_DRM_PANEL_XINGBANGDA_XBD599 (Herton R. Krzesinski)
Justin Vreeland 794355
- New configs in arch/powerpc (Fedora Kernel Team)
Justin Vreeland 794355
- Turn on CONFIG_PPC_QUEUED_SPINLOCKS as it is default upstream now (Justin M. Forbes)
Justin Vreeland 794355
- Update pending-common configs to address new upstream config deps (Justin M. Forbes)
Justin Vreeland 794355
- rpmspec: ship gpio-watch.debug in the proper debuginfo package (Herton R. Krzesinski)
Justin Vreeland 794355
- Removed description text as a comment confuses the config generation (Justin M. Forbes)
Justin Vreeland 794355
- New configs in drivers/dma-buf (Jeremy Cline)
Justin Vreeland 794355
- Fedora: ARMv7: build for 16 CPUs. (Peter Robinson)
Justin Vreeland 794355
- Fedora: only enable DEBUG_HIGHMEM on debug kernels (Peter Robinson)
Justin Vreeland 794355
- process_configs.sh: fix find/xargs data flow (Ondrej Mosnacek)
Justin Vreeland 794355
- Fedora config update (Justin M. Forbes)
Justin Vreeland 794355
- fedora: minor arm sound config updates (Peter Robinson)
Justin Vreeland 794355
- Fix trailing white space in redhat/configs/fedora/generic/CONFIG_SND_INTEL_BYT_PREFER_SOF (Justin M. Forbes)
Justin Vreeland 794355
- Add a redhat/rebase-notes.txt file (Hans de Goede)
Justin Vreeland 794355
- Turn on SND_INTEL_BYT_PREFER_SOF for Fedora (Hans de Goede)
Justin Vreeland 794355
- CI: Drop MR ID from the name variable (Veronika Kabatova)
Justin Vreeland 794355
- redhat: add DUP and kpatch certificates to system trusted keys for RHEL build (Herton R. Krzesinski)
Justin Vreeland 794355
- The comments in CONFIG_USB_RTL8153_ECM actually turn off CONFIG_USB_RTL8152 (Justin M. Forbes)
Justin Vreeland 794355
- Update CKI pipeline project (Veronika Kabatova)
Justin Vreeland 794355
- Turn off additional KASAN options for Fedora (Justin M. Forbes)
Justin Vreeland 794355
- Rename the master branch to rawhide for Fedora (Justin M. Forbes)
Justin Vreeland 794355
- Makefile targets for packit integration (Ben Crocker)
Justin Vreeland 794355
- Turn off KASAN for rawhide debug builds (Justin M. Forbes)
Justin Vreeland 794355
- New configs in arch/arm64 (Justin Forbes)
Justin Vreeland 794355
- Remove deprecated Intel MIC config options (Peter Robinson)
Justin Vreeland 794355
- redhat: replace inline awk script with genlog.py call (Herton R. Krzesinski)
Justin Vreeland 794355
- redhat: add genlog.py script (Herton R. Krzesinski)
Justin Vreeland 794355
- kernel.spec.template - fix use_vdso usage (Ben Crocker)
Justin Vreeland 794355
- redhat: remove remaining references of CONFIG_RH_DISABLE_DEPRECATED (Herton R. Krzesinski)
Justin Vreeland 794355
- Turn off vdso_install for ppc (Justin M. Forbes)
Justin Vreeland 794355
- Remove bpf-helpers.7 from bpftool package (Jiri Olsa)
Justin Vreeland 794355
- New configs in lib/Kconfig.debug (Fedora Kernel Team)
Justin Vreeland 794355
- Turn off CONFIG_VIRTIO_CONSOLE for s390x zfcpdump (Justin M. Forbes)
Justin Vreeland 794355
- New configs in drivers/clk (Justin M. Forbes)
Justin Vreeland 794355
- Keep VIRTIO_CONSOLE on s390x available. (Jakub ÄŒajka)
Justin Vreeland 794355
- New configs in lib/Kconfig.debug (Jeremy Cline)
Justin Vreeland 794355
- Fedora 5.11 config updates part 4 (Justin M. Forbes)
Justin Vreeland 794355
- Fedora 5.11 config updates part 3 (Justin M. Forbes)
Justin Vreeland 794355
- Fedora 5.11 config updates part 2 (Justin M. Forbes)
Justin Vreeland 794355
- Update internal (test) module list from RHEL-8 (Joe Lawrence) [1915073]
Justin Vreeland 794355
- Fix USB_XHCI_PCI regression (Justin M. Forbes)
Justin Vreeland 794355
- fedora: fixes for ARMv7 build issue by disabling HIGHPTE (Peter Robinson)
Justin Vreeland 794355
- all: s390x: Increase CONFIG_PCI_NR_FUNCTIONS to 512 (#1888735) (Dan Horák)
Justin Vreeland 794355
- Fedora 5.11 configs pt 1 (Justin M. Forbes)
Justin Vreeland 794355
- redhat: avoid conflict with mod-blacklist.sh and released_kernel defined (Herton R. Krzesinski)
Justin Vreeland 794355
- redhat: handle certificate files conditionally as done for src.rpm (Herton R. Krzesinski)
Justin Vreeland 794355
- specfile: add %%{?_smp_mflags} to "make headers_install" in tools/testing/selftests (Denys Vlasenko)
Justin Vreeland 794355
- specfile: add %%{?_smp_mflags} to "make samples/bpf/" (Denys Vlasenko)
Justin Vreeland 794355
- Run MR testing in CKI pipeline (Veronika Kabatova)
Justin Vreeland 794355
- Reword comment (Nicolas Chauvet)
Justin Vreeland 794355
- Add with_cross_arm conditional (Nicolas Chauvet)
Justin Vreeland 794355
- Redefines __strip if with_cross (Nicolas Chauvet)
Justin Vreeland 794355
- fedora: only enable ACPI_CONFIGFS, ACPI_CUSTOM_METHOD in debug kernels (Peter Robinson)
Justin Vreeland 794355
- fedora: User the same EFI_CUSTOM_SSDT_OVERLAYS as ARK (Peter Robinson)
Justin Vreeland 794355
- all: all arches/kernels enable the same DMI options (Peter Robinson)
Justin Vreeland 794355
- all: move SENSORS_ACPI_POWER to common/generic (Peter Robinson)
Justin Vreeland 794355
- fedora: PCIE_HISI_ERR is already in common (Peter Robinson)
Justin Vreeland 794355
- all: all ACPI platforms enable ATA_ACPI so move it to common (Peter Robinson)
Justin Vreeland 794355
- all: x86: move shared x86 acpi config options to generic (Peter Robinson)
Justin Vreeland 794355
- All: x86: Move ACPI_VIDEO to common/x86 (Peter Robinson)
Justin Vreeland 794355
- All: x86: Enable ACPI_DPTF (Intel DPTF) (Peter Robinson)
Justin Vreeland 794355
- All: enable ACPI_BGRT for all ACPI platforms. (Peter Robinson)
Justin Vreeland 794355
- All: Only build ACPI_EC_DEBUGFS for debug kernels (Peter Robinson)
Justin Vreeland 794355
- All: Disable Intel Classmate PC ACPI_CMPC option (Peter Robinson)
Justin Vreeland 794355
- cleanup: ACPI_PROCFS_POWER was removed upstream (Peter Robinson)
Justin Vreeland 794355
- All: ACPI: De-dupe the ACPI options that are the same across ark/fedora on x86/arm (Peter Robinson)
Justin Vreeland 794355
- Enable the vkms module in Fedora (Jeremy Cline)
Justin Vreeland 794355
- Fedora: arm updates for 5.11 and general cross Fedora cleanups (Peter Robinson)
Justin Vreeland 794355
- Add gcc-c++ to BuildRequires (Justin M. Forbes)
Justin Vreeland 794355
- Update CONFIG_KASAN_HW_TAGS (Justin M. Forbes)
Justin Vreeland 794355
- fedora: arm: move generic power off/reset to all arm (Peter Robinson)
Justin Vreeland 794355
- fedora: ARMv7: build in DEVFREQ_GOV_SIMPLE_ONDEMAND until I work out why it's changed (Peter Robinson)
Justin Vreeland 794355
- fedora: cleanup joystick_adc (Peter Robinson)
Justin Vreeland 794355
- fedora: update some display options (Peter Robinson)
Justin Vreeland 794355
- fedora: arm: enable TI PRU options (Peter Robinson)
Justin Vreeland 794355
- fedora: arm: minor exynos plaform updates (Peter Robinson)
Justin Vreeland 794355
- arm: SoC: disable Toshiba Visconti SoC (Peter Robinson)
Justin Vreeland 794355
- common: disable ARCH_BCM4908 (NFC) (Peter Robinson)
Justin Vreeland 794355
- fedora: minor arm config updates (Peter Robinson)
Justin Vreeland 794355
- fedora: enable Tegra 234 SoC (Peter Robinson)
Justin Vreeland 794355
- fedora: arm: enable new Hikey 3xx options (Peter Robinson)
Justin Vreeland 794355
- Fedora: USB updates (Peter Robinson)
Justin Vreeland 794355
- fedora: enable the GNSS receiver subsystem (Peter Robinson)
Justin Vreeland 794355
- Remove POWER_AVS as no longer upstream (Peter Robinson)
Justin Vreeland 794355
- Cleanup RESET_RASPBERRYPI (Peter Robinson)
Justin Vreeland 794355
- Cleanup GPIO_CDEV_V1 options. (Peter Robinson)
Justin Vreeland 794355
- fedora: arm crypto updates (Peter Robinson)
Justin Vreeland 794355
- CONFIG_KASAN_HW_TAGS for aarch64 (Justin M. Forbes)
Justin Vreeland 794355
- Fedora: cleanup PCMCIA configs, move to x86 (Peter Robinson)
Justin Vreeland 794355
- New configs in drivers/rtc (Fedora Kernel Team)
Justin Vreeland 794355
- redhat/configs: Enable CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL (Josh Poimboeuf) [1856176]
Justin Vreeland 794355
- redhat/configs: Enable CONFIG_GCC_PLUGIN_STRUCTLEAK (Josh Poimboeuf) [1856176]
Justin Vreeland 794355
- redhat/configs: Enable CONFIG_GCC_PLUGINS on ARK (Josh Poimboeuf) [1856176]
Justin Vreeland 794355
- redhat/configs: Enable CONFIG_KASAN on Fedora (Josh Poimboeuf) [1856176]
Justin Vreeland 794355
- New configs in init/Kconfig (Fedora Kernel Team)
Justin Vreeland 794355
- build_configs.sh: Fix syntax flagged by shellcheck (Ben Crocker)
Justin Vreeland 794355
- genspec.sh: Fix syntax flagged by shellcheck (Ben Crocker)
Justin Vreeland 794355
- mod-blacklist.sh: Fix syntax flagged by shellcheck (Ben Crocker)
Justin Vreeland 794355
- Enable Speakup accessibility driver (Justin M. Forbes)
Justin Vreeland 794355
- New configs in init/Kconfig (Fedora Kernel Team)
Justin Vreeland 794355
- Fix fedora config mismatch due to dep changes (Justin M. Forbes)
Justin Vreeland 794355
- New configs in drivers/crypto (Jeremy Cline)
Justin Vreeland 794355
- Remove duplicate ENERGY_MODEL configs (Peter Robinson)
Justin Vreeland 794355
- This is selected by PCIE_QCOM so must match (Justin M. Forbes)
Justin Vreeland 794355
- drop unused BACKLIGHT_GENERIC (Peter Robinson)
Justin Vreeland 794355
- Remove cp instruction already handled in instruction below. (Paulo E. Castro)
Justin Vreeland 794355
- Add all the dependencies gleaned from running `make prepare` on a bloated devel kernel. (Paulo E. Castro)
Justin Vreeland 794355
- Add tools to path mangling script. (Paulo E. Castro)
Justin Vreeland 794355
- Remove duplicate cp statement which is also not specific to x86. (Paulo E. Castro)
Justin Vreeland 794355
- Correct orc_types failure whilst running `make prepare` https://bugzilla.redhat.com/show_bug.cgi?id=1882854 (Paulo E. Castro)
Justin Vreeland 794355
- redhat: ark: enable CONFIG_IKHEADERS (Jiri Olsa)
Justin Vreeland 794355
- Add missing '$' sign to (GIT) in redhat/Makefile (Augusto Caringi)
Justin Vreeland 794355
- Remove filterdiff and use native git instead (Don Zickus)
Justin Vreeland 794355
- New configs in net/sched (Justin M. Forbes)
Justin Vreeland 794355
- New configs in drivers/mfd (CKI@GitLab)
Justin Vreeland 794355
- New configs in drivers/mfd (Fedora Kernel Team)
Justin Vreeland 794355
- New configs in drivers/firmware (Fedora Kernel Team)
Justin Vreeland 794355
- Temporarily backout parallel xz script (Justin M. Forbes)
Justin Vreeland 794355
- redhat: explicitly disable CONFIG_IMA_APPRAISE_SIGNED_INIT (Bruno Meneguele)
Justin Vreeland 794355
- redhat: enable CONFIG_EVM_LOAD_X509 on ARK (Bruno Meneguele)
Justin Vreeland 794355
- redhat: enable CONFIG_EVM_ATTR_FSUUID on ARK (Bruno Meneguele)
Justin Vreeland 794355
- redhat: enable CONFIG_EVM in all arches and flavors (Bruno Meneguele)
Justin Vreeland 794355
- redhat: enable CONFIG_IMA_LOAD_X509 on ARK (Bruno Meneguele)
Justin Vreeland 794355
- redhat: set CONFIG_IMA_DEFAULT_HASH to SHA256 (Bruno Meneguele)
Justin Vreeland 794355
- redhat: enable CONFIG_IMA_SECURE_AND_OR_TRUSTED_BOOT (Bruno Meneguele)
Justin Vreeland 794355
- redhat: enable CONFIG_IMA_READ_POLICY on ARK (Bruno Meneguele)
Justin Vreeland 794355
- redhat: set default IMA template for all ARK arches (Bruno Meneguele)
Justin Vreeland 794355
- redhat: enable CONFIG_IMA_DEFAULT_HASH_SHA256 for all flavors (Bruno Meneguele)
Justin Vreeland 794355
- redhat: disable CONFIG_IMA_DEFAULT_HASH_SHA1 (Bruno Meneguele)
Justin Vreeland 794355
- redhat: enable CONFIG_IMA_ARCH_POLICY for ppc and x86 (Bruno Meneguele)
Justin Vreeland 794355
- redhat: enable CONFIG_IMA_APPRAISE_MODSIG (Bruno Meneguele)
Justin Vreeland 794355
- redhat: enable CONFIG_IMA_APPRAISE_BOOTPARAM (Bruno Meneguele)
Justin Vreeland 794355
- redhat: enable CONFIG_IMA_APPRAISE (Bruno Meneguele)
Justin Vreeland 794355
- redhat: enable CONFIG_INTEGRITY for aarch64 (Bruno Meneguele)
Justin Vreeland 794355
- kernel: Update some missing KASAN/KCSAN options (Jeremy Linton)
Justin Vreeland 794355
- kernel: Enable coresight on aarch64 (Jeremy Linton)
Justin Vreeland 794355
- Update CONFIG_INET6_ESPINTCP (Justin Forbes)
Justin Vreeland 794355
- New configs in net/ipv6 (Justin M. Forbes)
Justin Vreeland 794355
- fedora: move CONFIG_RTC_NVMEM options from ark to common (Peter Robinson)
Justin Vreeland 794355
- configs: Enable CONFIG_DEBUG_INFO_BTF (Don Zickus)
Justin Vreeland 794355
- fedora: some minor arm audio config tweaks (Peter Robinson)
Justin Vreeland 794355
- Ship xpad with default modules on Fedora and RHEL (Bastien Nocera)
Justin Vreeland 794355
- Fedora: Only enable legacy serial/game port joysticks on x86 (Peter Robinson)
Justin Vreeland 794355
- Fedora: Enable the options required for the Librem 5 Phone (Peter Robinson)
Justin Vreeland 794355
- Fedora config update (Justin M. Forbes)
Justin Vreeland 794355
- Fedora config change because CONFIG_FSL_DPAA2_ETH now selects CONFIG_FSL_XGMAC_MDIO (Justin M. Forbes)
Justin Vreeland 794355
- redhat: generic  enable CONFIG_INET_MPTCP_DIAG (Davide Caratti)
Justin Vreeland 794355
- Fedora config update (Justin M. Forbes)
Justin Vreeland 794355
- Enable NANDSIM for Fedora (Justin M. Forbes)
Justin Vreeland 794355
- Re-enable CONFIG_ACPI_TABLE_UPGRADE for Fedora since upstream disables this if secureboot is active (Justin M. Forbes)
Justin Vreeland 794355
- Ath11k related config updates (Justin M. Forbes)
Justin Vreeland 794355
- Fedora config updates for ath11k (Justin M. Forbes)
Justin Vreeland 794355
- Turn on ATH11K for Fedora (Justin M. Forbes)
Justin Vreeland 794355
- redhat: enable CONFIG_INTEL_IOMMU_SVM (Jerry Snitselaar)
Justin Vreeland 794355
- More Fedora config fixes (Justin M. Forbes)
Justin Vreeland 794355
- Fedora 5.10 config updates (Justin M. Forbes)
Justin Vreeland 794355
- Fedora 5.10 configs round 1 (Justin M. Forbes)
Justin Vreeland 794355
- Fedora config updates (Justin M. Forbes)
Justin Vreeland 794355
- Allow kernel-tools to build without selftests (Don Zickus)
Justin Vreeland 794355
- Allow building of kernel-tools standalone (Don Zickus)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_ACT_CTINFO (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_SCH_TEQL (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_SCH_SFB (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_SCH_QFQ (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_SCH_PLUG (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_SCH_PIE (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_SCH_HHF (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_SCH_DSMARK (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_SCH_DRR (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_SCH_CODEL (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_SCH_CHOKE (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_SCH_CBQ (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_SCH_ATM (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_EMATCH and sub-targets (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_CLS_TCINDEX (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_CLS_RSVP6 (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_CLS_RSVP (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_CLS_ROUTE4 (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_CLS_BASIC (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_ACT_SKBMOD (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_ACT_SIMP (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: disable CONFIG_NET_ACT_NAT (Davide Caratti)
Justin Vreeland 794355
- arm64/defconfig: Enable CONFIG_KEXEC_FILE (Bhupesh Sharma) [1821565]
Justin Vreeland 794355
- redhat/configs: Cleanup CONFIG_CRYPTO_SHA512 (Prarit Bhargava)
Justin Vreeland 794355
- New configs in drivers/mfd (Fedora Kernel Team)
Justin Vreeland 794355
- Fix LTO issues with kernel-tools (Don Zickus)
Justin Vreeland 794355
- Point pathfix to the new location for gen_compile_commands.py (Justin M. Forbes)
Justin Vreeland 794355
- configs: Disable CONFIG_SECURITY_SELINUX_DISABLE (Ondrej Mosnacek)
Justin Vreeland 794355
- [Automatic] Handle config dependency changes (Don Zickus)
Justin Vreeland 794355
- configs/iommu: Add config comment to empty CONFIG_SUN50I_IOMMU file (Jerry Snitselaar)
Justin Vreeland 794355
- New configs in kernel/trace (Fedora Kernel Team)
Justin Vreeland 794355
- Fix Fedora config locations (Justin M. Forbes)
Justin Vreeland 794355
- Fedora config updates (Justin M. Forbes)
Justin Vreeland 794355
- configs: enable CONFIG_CRYPTO_CTS=y so cts(cbc(aes)) is available in FIPS mode (Vladis Dronov) [1855161]
Justin Vreeland 794355
- Partial revert: Add master merge check (Don Zickus)
Justin Vreeland 794355
- Update Maintainers doc to reflect workflow changes (Don Zickus)
Justin Vreeland 794355
- WIP: redhat/docs: Update documentation for single branch workflow (Prarit Bhargava)
Justin Vreeland 794355
- Add CONFIG_ARM64_MTE which is not picked up by the config scripts for some reason (Justin M. Forbes)
Justin Vreeland 794355
- Disable Speakup synth DECEXT (Justin M. Forbes)
Justin Vreeland 794355
- Enable Speakup for Fedora since it is out of staging (Justin M. Forbes)
Justin Vreeland 794355
- Modify patchlist changelog output (Don Zickus)
Justin Vreeland 794355
- process_configs.sh: Fix syntax flagged by shellcheck (Ben Crocker)
Justin Vreeland 794355
- generate_all_configs.sh: Fix syntax flagged by shellcheck (Ben Crocker)
Justin Vreeland 794355
- redhat/self-test: Initial commit (Ben Crocker)
Justin Vreeland 794355
- Fixes "acpi: prefer booting with ACPI over DTS" to be RHEL only (Peter Robinson)
Justin Vreeland 794355
- arch/x86: Remove vendor specific CPU ID checks (Prarit Bhargava)
Justin Vreeland 794355
- redhat: Replace hardware.redhat.com link in Unsupported message (Prarit Bhargava) [1810301]
Justin Vreeland 794355
- x86: Fix compile issues with rh_check_supported() (Don Zickus)
Justin Vreeland 794355
- KEYS: Make use of platform keyring for module signature verify (Robert Holmes)
Justin Vreeland 794355
- Input: rmi4 - remove the need for artificial IRQ in case of HID (Benjamin Tissoires)
Justin Vreeland 794355
- ARM: tegra: usb no reset (Peter Robinson)
Justin Vreeland 794355
- arm: make CONFIG_HIGHPTE optional without CONFIG_EXPERT (Jon Masters)
Justin Vreeland 794355
- redhat: rh_kabi: deduplication friendly structs (Jiri Benc)
Justin Vreeland 794355
- redhat: rh_kabi add a comment with warning about RH_KABI_EXCLUDE usage (Jiri Benc)
Justin Vreeland 794355
- redhat: rh_kabi: introduce RH_KABI_EXTEND_WITH_SIZE (Jiri Benc)
Justin Vreeland 794355
- redhat: rh_kabi: Indirect EXTEND macros so nesting of other macros will resolve. (Don Dutile)
Justin Vreeland 794355
- redhat: rh_kabi: Fix RH_KABI_SET_SIZE to use dereference operator (Tony Camuso)
Justin Vreeland 794355
- redhat: rh_kabi: Add macros to size and extend structs (Prarit Bhargava)
Justin Vreeland 794355
- Removing Obsolete hba pci-ids from rhel8 (Dick Kennedy)
Justin Vreeland 794355
- mptsas: pci-id table changes (Laura Abbott)
Justin Vreeland 794355
- mptsas: Taint kernel if mptsas is loaded (Laura Abbott)
Justin Vreeland 794355
- mptspi: pci-id table changes (Laura Abbott)
Justin Vreeland 794355
- qla2xxx: Remove PCI IDs of deprecated adapter (Jeremy Cline)
Justin Vreeland 794355
- be2iscsi: remove unsupported device IDs (Chris Leech)
Justin Vreeland 794355
- mptspi: Taint kernel if mptspi is loaded (Laura Abbott)
Justin Vreeland 794355
- hpsa: remove old cciss-based smartarray pci ids (Joseph Szczypek)
Justin Vreeland 794355
- qla4xxx: Remove deprecated PCI IDs from RHEL 8 (Chad Dupuis)
Justin Vreeland 794355
- aacraid: Remove depreciated device and vendor PCI id's (Raghava Aditya Renukunta)
Justin Vreeland 794355
- megaraid_sas: remove deprecated pci-ids (Tomas Henzl)
Justin Vreeland 794355
- mpt*: remove certain deprecated pci-ids (Jeremy Cline)
Justin Vreeland 794355
- kernel: add SUPPORT_REMOVED kernel taint (Tomas Henzl)
Justin Vreeland 794355
- Rename RH_DISABLE_DEPRECATED to RHEL_DIFFERENCES (Don Zickus)
Justin Vreeland 794355
- Add option of 13 for FORCE_MAX_ZONEORDER (Peter Robinson)
Justin Vreeland 794355
- s390: Lock down the kernel when the IPL secure flag is set (Jeremy Cline)
Justin Vreeland 794355
- efi: Lock down the kernel if booted in secure boot mode (David Howells)
Justin Vreeland 794355
- efi: Add an EFI_SECURE_BOOT flag to indicate secure boot mode (David Howells)
Justin Vreeland 794355
- security: lockdown: expose a hook to lock the kernel down (Jeremy Cline)
Justin Vreeland 794355
- Make get_cert_list() use efi_status_to_str() to print error messages. (Peter Jones)
Justin Vreeland 794355
- Add efi_status_to_str() and rework efi_status_to_err(). (Peter Jones)
Justin Vreeland 794355
- Add support for deprecating processors (Laura Abbott) [1565717 1595918 1609604 1610493]
Justin Vreeland 794355
- arm: aarch64: Drop the EXPERT setting from ARM64_FORCE_52BIT (Jeremy Cline)
Justin Vreeland 794355
- iommu/arm-smmu: workaround DMA mode issues (Laura Abbott)
Justin Vreeland 794355
- rh_kabi: introduce RH_KABI_EXCLUDE (Jakub Racek)
Justin Vreeland 794355
- ipmi: do not configure ipmi for HPE m400 (Laura Abbott) [1670017]
Justin Vreeland 794355
- kABI: Add generic kABI macros to use for kABI workarounds (Myron Stowe) [1546831]
Justin Vreeland 794355
- add pci_hw_vendor_status() (Maurizio Lombardi)
Justin Vreeland 794355
- ahci: thunderx2: Fix for errata that affects stop engine (Robert Richter)
Justin Vreeland 794355
- Vulcan: AHCI PCI bar fix for Broadcom Vulcan early silicon (Robert Richter)
Justin Vreeland 794355
- bpf: set unprivileged_bpf_disabled to 1 by default, add a boot parameter (Eugene Syromiatnikov) [1561171]
Justin Vreeland 794355
- add Red Hat-specific taint flags (Eugene Syromiatnikov) [1559877]
Justin Vreeland 794355
- tags.sh: Ignore redhat/rpm (Jeremy Cline)
Justin Vreeland 794355
- put RHEL info into generated headers (Laura Abbott) [1663728]
Justin Vreeland 794355
- acpi: prefer booting with ACPI over DTS (Mark Salter) [1576869]
Justin Vreeland 794355
- aarch64: acpi scan: Fix regression related to X-Gene UARTs (Mark Salter) [1519554]
Justin Vreeland 794355
- ACPI / irq: Workaround firmware issue on X-Gene based m400 (Mark Salter) [1519554]
Justin Vreeland 794355
- modules: add rhelversion MODULE_INFO tag (Laura Abbott)
Justin Vreeland 794355
- ACPI: APEI: arm64: Ignore broken HPE moonshot APEI support (Al Stone) [1518076]
Justin Vreeland 794355
- Add Red Hat tainting (Laura Abbott) [1565704]
Justin Vreeland 794355
- Introduce CONFIG_RH_DISABLE_DEPRECATED (Laura Abbott)
Justin Vreeland 794355
- Stop merging ark-patches for release (Don Zickus)
Justin Vreeland 794355
- Fix path location for ark-update-configs.sh (Don Zickus)
Justin Vreeland 794355
- Combine Red Hat patches into single patch (Don Zickus)
Justin Vreeland 794355
- New configs in drivers/misc (Jeremy Cline)
Justin Vreeland 794355
- New configs in drivers/net/wireless (Justin M. Forbes)
Justin Vreeland 794355
- New configs in drivers/phy (Fedora Kernel Team)
Justin Vreeland 794355
- New configs in drivers/tty (Fedora Kernel Team)
Justin Vreeland 794355
- Set SquashFS decompression options for all flavors to match RHEL (Bohdan Khomutskyi)
Justin Vreeland 794355
- configs: Enable CONFIG_ENERGY_MODEL (Phil Auld)
Justin Vreeland 794355
- New configs in drivers/pinctrl (Fedora Kernel Team)
Justin Vreeland 794355
- Update CONFIG_THERMAL_NETLINK (Justin Forbes)
Justin Vreeland 794355
- Separate merge-upstream and release stages (Don Zickus)
Justin Vreeland 794355
- Re-enable CONFIG_IR_SERIAL on Fedora (Prarit Bhargava)
Justin Vreeland 794355
- Create Patchlist.changelog file (Don Zickus)
Justin Vreeland 794355
- Filter out upstream commits from changelog (Don Zickus)
Justin Vreeland 794355
- Merge Upstream script fixes (Don Zickus)
Justin Vreeland 794355
- kernel.spec: Remove kernel-keys directory on rpm erase (Prarit Bhargava)
Justin Vreeland 794355
- Add mlx5_vdpa to module filter for Fedora (Justin M. Forbes)
Justin Vreeland 794355
- Add python3-sphinx_rtd_theme buildreq for docs (Justin M. Forbes)
Justin Vreeland 794355
- redhat/configs/process_configs.sh: Remove *.config.orig files (Prarit Bhargava)
Justin Vreeland 794355
- redhat/configs/process_configs.sh: Add process_configs_known_broken flag (Prarit Bhargava)
Justin Vreeland 794355
- redhat/Makefile: Fix '*-configs' targets (Prarit Bhargava)
Justin Vreeland 794355
- dist-merge-upstream: Checkout known branch for ci scripts (Don Zickus)
Justin Vreeland 794355
- kernel.spec: don't override upstream compiler flags for ppc64le (Dan Horák)
Justin Vreeland 794355
- Fedora config updates (Justin M. Forbes)
Justin Vreeland 794355
- Fedora confi gupdate (Justin M. Forbes)
Justin Vreeland 794355
- mod-sign.sh: Fix syntax flagged by shellcheck (Ben Crocker)
Justin Vreeland 794355
- Swap how ark-latest is built (Don Zickus)
Justin Vreeland 794355
- Add extra version bump to os-build branch (Don Zickus)
Justin Vreeland 794355
- dist-release: Avoid needless version bump. (Don Zickus)
Justin Vreeland 794355
- Add dist-fedora-release target (Don Zickus)
Justin Vreeland 794355
- Remove redundant code in dist-release (Don Zickus)
Justin Vreeland 794355
- Makefile.common rename TAG to _TAG (Don Zickus)
Justin Vreeland 794355
- Fedora config change (Justin M. Forbes)
Justin Vreeland 794355
- Fedora filter update (Justin M. Forbes)
Justin Vreeland 794355
- Config update for Fedora (Justin M. Forbes)
Justin Vreeland 794355
- enable PROTECTED_VIRTUALIZATION_GUEST for all s390x kernels (Dan Horák)
Justin Vreeland 794355
- redhat: ark: enable CONFIG_NET_SCH_TAPRIO (Davide Caratti)
Justin Vreeland 794355
- redhat: ark: enable CONFIG_NET_SCH_ETF (Davide Caratti)
Justin Vreeland 794355
- More Fedora config updates (Justin M. Forbes)
Justin Vreeland 794355
- New config deps (Justin M. Forbes)
Justin Vreeland 794355
- Fedora config updates (Justin M. Forbes)
Justin Vreeland 794355
- First half of config updates for Fedora (Justin M. Forbes)
Justin Vreeland 794355
- Updates for Fedora arm architectures for the 5.9 window (Peter Robinson)
Justin Vreeland 794355
- Merge 5.9 config changes from Peter Robinson (Justin M. Forbes)
Justin Vreeland 794355
- Add config options that only show up when we prep on arm (Justin M. Forbes)
Justin Vreeland 794355
- Config updates for Fedora (Justin M. Forbes)
Justin Vreeland 794355
- fedora: enable enery model (Peter Robinson)
Justin Vreeland 794355
- Use the configs/generic config for SND_HDA_INTEL everywhere (Peter Robinson)
Justin Vreeland 794355
- Enable ZSTD compression algorithm on all kernels (Peter Robinson)
Justin Vreeland 794355
- Enable ARM_SMCCC_SOC_ID on all aarch64 kernels (Peter Robinson)
Justin Vreeland 794355
- iio: enable LTR-559 light and proximity sensor (Peter Robinson)
Justin Vreeland 794355
- iio: chemical: enable some popular chemical and partical sensors (Peter Robinson)
Justin Vreeland 794355
- More mismatches (Justin M. Forbes)
Justin Vreeland 794355
- Fedora config change due to deps (Justin M. Forbes)
Justin Vreeland 794355
- CONFIG_SND_SOC_MAX98390 is now selected by SND_SOC_INTEL_DA7219_MAX98357A_GENERIC (Justin M. Forbes)
Justin Vreeland 794355
- Config change required for build part 2 (Justin M. Forbes)
Justin Vreeland 794355
- Config change required for build (Justin M. Forbes)
Justin Vreeland 794355
- Fedora config update (Justin M. Forbes)
Justin Vreeland 794355
- Add ability to sync upstream through Makefile (Don Zickus)
Justin Vreeland 794355
- Add master merge check (Don Zickus)
Justin Vreeland 794355
- Replace hardcoded values 'os-build' and project id with variables (Don Zickus)
Justin Vreeland 794355
- redhat/Makefile.common: Fix MARKER (Prarit Bhargava)
Justin Vreeland 794355
- gitattributes: Remove unnecesary export restrictions (Prarit Bhargava)
Justin Vreeland 794355
- Add new certs for dual signing with boothole (Justin M. Forbes)
Justin Vreeland 794355
- Update secureboot signing for dual keys (Justin M. Forbes)
Justin Vreeland 794355
- fedora: enable LEDS_SGM3140 for arm configs (Peter Robinson)
Justin Vreeland 794355
- Enable CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG (Justin M. Forbes)
Justin Vreeland 794355
- redhat/configs: Fix common CONFIGs (Prarit Bhargava)
Justin Vreeland 794355
- redhat/configs: General CONFIG cleanups (Prarit Bhargava)
Justin Vreeland 794355
- redhat/configs: Update & generalize evaluate_configs (Prarit Bhargava)
Justin Vreeland 794355
- fedora: arm: Update some meson config options (Peter Robinson)
Justin Vreeland 794355
- redhat/docs: Add Fedora RPM tagging date (Prarit Bhargava)
Justin Vreeland 794355
- Update config for renamed panel driver. (Peter Robinson)
Justin Vreeland 794355
- Enable SERIAL_SC16IS7XX for SPI interfaces (Peter Robinson)
Justin Vreeland 794355
- s390x-zfcpdump: Handle missing Module.symvers file (Don Zickus)
Justin Vreeland 794355
- Fedora config updates (Justin M. Forbes)
Justin Vreeland 794355
- redhat/configs: Add .tmp files to .gitignore (Prarit Bhargava)
Justin Vreeland 794355
- disable uncommon TCP congestion control algorithms (Davide Caratti)
Justin Vreeland 794355
- Add new bpf man pages (Justin M. Forbes)
Justin Vreeland 794355
- Add default option for CONFIG_ARM64_BTI_KERNEL to pending-common so that eln kernels build (Justin M. Forbes)
Justin Vreeland 794355
- redhat/Makefile: Add fedora-configs and rh-configs make targets (Prarit Bhargava)
Justin Vreeland 794355
- redhat/configs: Use SHA512 for module signing (Prarit Bhargava)
Justin Vreeland 794355
- genspec.sh: 'touch' empty Patchlist file for single tarball (Don Zickus)
Justin Vreeland 794355
- Fedora config update for rc1 (Justin M. Forbes)
Justin Vreeland 794355
- Fedora config updates (Justin M. Forbes)
Justin Vreeland 794355
- Fedora config updates (Justin M. Forbes)
Justin Vreeland 794355
- redhat/Makefile.common: fix RPMKSUBLEVEL condition (Ondrej Mosnacek)
Justin Vreeland 794355
- redhat/Makefile: silence KABI tar output (Ondrej Mosnacek)
Justin Vreeland 794355
- One more Fedora config update (Justin M. Forbes)
Justin Vreeland 794355
- Fedora config updates (Justin M. Forbes)
Justin Vreeland 794355
- Fix PATCHLEVEL for merge window (Justin M. Forbes)
Justin Vreeland 794355
- Change ark CONFIG_COMMON_CLK to yes, it is selected already by other options (Justin M. Forbes)
Justin Vreeland 794355
- Fedora config updates (Justin M. Forbes)
Justin Vreeland 794355
- Fedora config updates (Justin M. Forbes)
Justin Vreeland 794355
- Fedora config updates (Justin M. Forbes)
Justin Vreeland 794355
- More module filtering for Fedora (Justin M. Forbes)
Justin Vreeland 794355
- Update filters for rnbd in Fedora (Justin M. Forbes)
Justin Vreeland 794355
- Fedora config updates (Justin M. Forbes)
Justin Vreeland 794355
- Fix up module filtering for 5.8 (Justin M. Forbes)
Justin Vreeland 794355
- Fedora config updates (Justin M. Forbes)
Justin Vreeland 794355
- More Fedora config work (Justin M. Forbes)
Justin Vreeland 794355
- RTW88BE and CE have been extracted to their own modules (Justin M. Forbes)
Justin Vreeland 794355
- Set CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK for Fedora (Justin M. Forbes)
Justin Vreeland 794355
- Fedora config updates (Justin M. Forbes)
Justin Vreeland 794355
- Arm64 Use Branch Target Identification for kernel (Justin M. Forbes)
Justin Vreeland 794355
- Change value of CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE (Justin M. Forbes)
Justin Vreeland 794355
- Fedora config updates (Justin M. Forbes)
Justin Vreeland 794355
- Fix configs for Fedora (Justin M. Forbes)
Justin Vreeland 794355
- Add zero-commit to format-patch options (Justin M. Forbes)
Justin Vreeland 794355
- Copy Makefile.rhelver as a source file rather than a patch (Jeremy Cline)
Justin Vreeland 794355
- Move the sed to clear the patch templating outside of conditionals (Justin M. Forbes)
Justin Vreeland 794355
- Match template format in kernel.spec.template (Justin M. Forbes)
Justin Vreeland 794355
- Break out the Patches into individual files for dist-git (Justin M. Forbes)
Justin Vreeland 794355
- Break the Red Hat patch into individual commits (Jeremy Cline)
Justin Vreeland 794355
- Fix update_scripts.sh unselective pattern sub (David Howells)
Justin Vreeland 794355
- Add cec to the filter overrides (Justin M. Forbes)
Justin Vreeland 794355
- Add overrides to filter-modules.sh (Justin M. Forbes)
Justin Vreeland 794355
- redhat/configs: Enable CONFIG_SMC91X and disable CONFIG_SMC911X (Prarit Bhargava) [1722136]
Justin Vreeland 794355
- Include bpftool-struct_ops man page in the bpftool package (Jeremy Cline)
Justin Vreeland 794355
- Add sharedbuffer_configuration.py to the pathfix.py script (Jeremy Cline)
Justin Vreeland 794355
- Use __make macro instead of make (Tom Stellard)
Justin Vreeland 794355
- Sign off generated configuration patches (Jeremy Cline)
Justin Vreeland 794355
- Drop the static path configuration for the Sphinx docs (Jeremy Cline)
Justin Vreeland 794355
- redhat: Add dummy-module kernel module (Prarit Bhargava)
Justin Vreeland 794355
- redhat: enable CONFIG_LWTUNNEL_BPF (Jiri Benc)
Justin Vreeland 794355
- Remove typoed config file aarch64CONFIG_SM_GCC_8150 (Justin M. Forbes)
Justin Vreeland 794355
- Add Documentation back to kernel-devel as it has Kconfig now (Justin M. Forbes)
Justin Vreeland 794355
- Copy distro files rather than moving them (Jeremy Cline)
Justin Vreeland 794355
- kernel.spec: fix 'make scripts' for kernel-devel package (Brian Masney)
Justin Vreeland 794355
- Makefile: correct help text for dist-cross-<arch>-rpms (Brian Masney)
Justin Vreeland 794355
- redhat/Makefile: Fix RHEL8 python warning (Prarit Bhargava)
Justin Vreeland 794355
- redhat: Change Makefile target names to dist- (Prarit Bhargava)
Justin Vreeland 794355
- configs: Disable Serial IR driver (Prarit Bhargava)
Justin Vreeland 794355
- Fix "multiple %%files for package kernel-tools" (Pablo Greco)
Justin Vreeland 794355
- Introduce a Sphinx documentation project (Jeremy Cline)
Justin Vreeland 794355
- Build ARK against ELN (Don Zickus)
Justin Vreeland 794355
- Drop the requirement to have a remote called linus (Jeremy Cline)
Justin Vreeland 794355
- Rename 'internal' branch to 'os-build' (Don Zickus)
Justin Vreeland 794355
- Only include open merge requests with "Include in Releases" label (Jeremy Cline)
Justin Vreeland 794355
- Package gpio-watch in kernel-tools (Jeremy Cline)
Justin Vreeland 794355
- Exit non-zero if the tag already exists for a release (Jeremy Cline)
Justin Vreeland 794355
- Adjust the changelog update script to not push anything (Jeremy Cline)
Justin Vreeland 794355
- Drop --target noarch from the rh-rpms make target (Jeremy Cline)
Justin Vreeland 794355
- Add a script to generate release tags and branches (Jeremy Cline)
Justin Vreeland 794355
- Set CONFIG_VDPA for fedora (Justin M. Forbes)
Justin Vreeland 794355
- Add a README to the dist-git repository (Jeremy Cline)
Justin Vreeland 794355
- Provide defaults in ark-rebase-patches.sh (Jeremy Cline)
Justin Vreeland 794355
- Default ark-rebase-patches.sh to not report issues (Jeremy Cline)
Justin Vreeland 794355
- Drop DIST from release commits and tags (Jeremy Cline)
Justin Vreeland 794355
- Place the buildid before the dist in the release (Jeremy Cline)
Justin Vreeland 794355
- Sync up with Fedora arm configuration prior to merging (Jeremy Cline)
Justin Vreeland 794355
- Disable CONFIG_PROTECTED_VIRTUALIZATION_GUEST for zfcpdump (Jeremy Cline)
Justin Vreeland 794355
- Add RHMAINTAINERS file and supporting conf (Don Zickus)
Justin Vreeland 794355
- Add a script to test if all commits are signed off (Jeremy Cline)
Justin Vreeland 794355
- Fix make rh-configs-arch (Don Zickus)
Justin Vreeland 794355
- Drop RH_FEDORA in favor of the now-merged RHEL_DIFFERENCES (Jeremy Cline)
Justin Vreeland 794355
- Sync up Fedora configs from the first week of the merge window (Jeremy Cline)
Justin Vreeland 794355
- Migrate blacklisting floppy.ko to mod-blacklist.sh (Don Zickus)
Justin Vreeland 794355
- kernel packaging: Combine mod-blacklist.sh and mod-extra-blacklist.sh (Don Zickus)
Justin Vreeland 794355
- kernel packaging: Fix extra namespace collision (Don Zickus)
Justin Vreeland 794355
- mod-extra.sh: Rename to mod-blacklist.sh (Don Zickus)
Justin Vreeland 794355
- mod-extra.sh: Make file generic (Don Zickus)
Justin Vreeland 794355
- Fix a painfully obvious YAML syntax error in .gitlab-ci.yml (Jeremy Cline)
Justin Vreeland 794355
- Add in armv7hl kernel header support (Don Zickus)
Justin Vreeland 794355
- Disable all BuildKernel commands when only building headers (Don Zickus)
Justin Vreeland 794355
- Drop any gitlab-ci patches from ark-patches (Jeremy Cline)
Justin Vreeland 794355
- Build the srpm for internal branch CI using the vanilla tree (Jeremy Cline)
Justin Vreeland 794355
- Pull in the latest ARM configurations for Fedora (Jeremy Cline)
Justin Vreeland 794355
- Fix xz memory usage issue (Neil Horman)
Justin Vreeland 794355
- Use ark-latest instead of master for update script (Jeremy Cline)
Justin Vreeland 794355
- Move the CI jobs back into the ARK repository (Jeremy Cline)
Justin Vreeland 794355
- Sync up ARK's Fedora config with the dist-git repository (Jeremy Cline)
Justin Vreeland 794355
- Pull in the latest configuration changes from Fedora (Jeremy Cline)
Justin Vreeland 794355
- configs: enable CONFIG_NET_SCH_CBS (Marcelo Ricardo Leitner)
Justin Vreeland 794355
- Drop configuration options in fedora/ that no longer exist (Jeremy Cline)
Justin Vreeland 794355
- Set RH_FEDORA for ARK and Fedora (Jeremy Cline)
Justin Vreeland 794355
- redhat/kernel.spec: Include the release in the kernel COPYING file (Jeremy Cline)
Justin Vreeland 794355
- redhat/kernel.spec: add scripts/jobserver-exec to py3_shbang_opts list (Jeremy Cline)
Justin Vreeland 794355
- redhat/kernel.spec: package bpftool-gen man page (Jeremy Cline)
Justin Vreeland 794355
- distgit-changelog: handle multiple y-stream BZ numbers (Bruno Meneguele)
Justin Vreeland 794355
- redhat/kernel.spec: remove all inline comments (Bruno Meneguele)
Justin Vreeland 794355
- redhat/genspec: awk unknown whitespace regex pattern (Bruno Meneguele)
Justin Vreeland 794355
- Improve the readability of gen_config_patches.sh (Jeremy Cline)
Justin Vreeland 794355
- Fix some awkward edge cases in gen_config_patches.sh (Jeremy Cline)
Justin Vreeland 794355
- Update the CI environment to use Fedora 31 (Jeremy Cline)
Justin Vreeland 794355
- redhat: drop whitespace from with_gcov macro (Jan Stancek)
Justin Vreeland 794355
- configs: Enable CONFIG_KEY_DH_OPERATIONS on ARK (Ondrej Mosnacek)
Justin Vreeland 794355
- configs: Adjust CONFIG_MPLS_ROUTING and CONFIG_MPLS_IPTUNNEL (Laura Abbott)
Justin Vreeland 794355
- New configs in lib/crypto (Jeremy Cline)
Justin Vreeland 794355
- New configs in drivers/char (Jeremy Cline)
Justin Vreeland 794355
- Turn on BLAKE2B for Fedora (Jeremy Cline)
Justin Vreeland 794355
- kernel.spec.template: Clean up stray *.h.s files (Laura Abbott)
Justin Vreeland 794355
- Build the SRPM in the CI job (Jeremy Cline)
Justin Vreeland 794355
- New configs in net/tls (Jeremy Cline)
Justin Vreeland 794355
- New configs in net/tipc (Jeremy Cline)
Justin Vreeland 794355
- New configs in lib/kunit (Jeremy Cline)
Justin Vreeland 794355
- Fix up released_kernel case (Laura Abbott)
Justin Vreeland 794355
- New configs in lib/Kconfig.debug (Jeremy Cline)
Justin Vreeland 794355
- New configs in drivers/ptp (Jeremy Cline)
Justin Vreeland 794355
- New configs in drivers/nvme (Jeremy Cline)
Justin Vreeland 794355
- New configs in drivers/net/phy (Jeremy Cline)
Justin Vreeland 794355
- New configs in arch/arm64 (Jeremy Cline)
Justin Vreeland 794355
- New configs in drivers/crypto (Jeremy Cline)
Justin Vreeland 794355
- New configs in crypto/Kconfig (Jeremy Cline)
Justin Vreeland 794355
- Add label so the Gitlab to email bridge ignores the changelog (Jeremy Cline)
Justin Vreeland 794355
- Temporarily switch TUNE_DEFAULT to y (Jeremy Cline)
Justin Vreeland 794355
- Run config test for merge requests and internal (Jeremy Cline)
Justin Vreeland 794355
- Add missing licensedir line (Laura Abbott)
Justin Vreeland 794355
- redhat/scripts: Remove redhat/scripts/rh_get_maintainer.pl (Prarit Bhargava)
Justin Vreeland 794355
- configs: Take CONFIG_DEFAULT_MMAP_MIN_ADDR from Fedra (Laura Abbott)
Justin Vreeland 794355
- configs: Turn off ISDN (Laura Abbott)
Justin Vreeland 794355
- Add a script to generate configuration patches (Laura Abbott)
Justin Vreeland 794355
- Introduce rh-configs-commit (Laura Abbott)
Justin Vreeland 794355
- kernel-packaging: Remove kernel files from kernel-modules-extra package (Prarit Bhargava)
Justin Vreeland 794355
- configs: Enable CONFIG_DEBUG_WX (Laura Abbott)
Justin Vreeland 794355
- configs: Disable wireless USB (Laura Abbott)
Justin Vreeland 794355
- Clean up some temporary config files (Laura Abbott)
Justin Vreeland 794355
- configs: New config in drivers/gpu for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in arch/powerpc for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in crypto for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in drivers/usb for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- AUTOMATIC: New configs (Jeremy Cline)
Justin Vreeland 794355
- Skip ksamples for bpf, they are broken (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in fs/erofs for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in mm for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in drivers/md for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in init for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in fs/fuse for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- merge.pl: Avoid comments but do not skip them (Don Zickus)
Justin Vreeland 794355
- configs: New config in drivers/net/ethernet/pensando for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- Update a comment about what released kernel means (Laura Abbott)
Justin Vreeland 794355
- Provide both Fedora and RHEL files in the SRPM (Laura Abbott)
Justin Vreeland 794355
- kernel.spec.template: Trim EXTRAVERSION in the Makefile (Laura Abbott)
Justin Vreeland 794355
- kernel.spec.template: Add macros for building with nopatches (Laura Abbott)
Justin Vreeland 794355
- kernel.spec.template: Add some macros for Fedora differences (Laura Abbott)
Justin Vreeland 794355
- kernel.spec.template: Consolodate the options (Laura Abbott)
Justin Vreeland 794355
- configs: Add pending direcory to Fedora (Laura Abbott)
Justin Vreeland 794355
- kernel.spec.template: Don't run hardlink if rpm-ostree is in use (Laura Abbott)
Justin Vreeland 794355
- configs: New config in net/can for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in drivers/net/phy for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: Increase x86_64 NR_UARTS to 64 (Prarit Bhargava) [1730649]
Justin Vreeland 794355
- configs: turn on ARM64_FORCE_52BIT for debug builds (Jeremy Cline)
Justin Vreeland 794355
- kernel.spec.template: Tweak the python3 mangling (Laura Abbott)
Justin Vreeland 794355
- kernel.spec.template: Add --with verbose option (Laura Abbott)
Justin Vreeland 794355
- kernel.spec.template: Switch to using %%install instead of %%__install (Laura Abbott)
Justin Vreeland 794355
- kernel.spec.template: Make the kernel.org URL https (Laura Abbott)
Justin Vreeland 794355
- kernel.spec.template: Update message about secure boot signing (Laura Abbott)
Justin Vreeland 794355
- kernel.spec.template: Move some with flags definitions up (Laura Abbott)
Justin Vreeland 794355
- kernel.spec.template: Update some BuildRequires (Laura Abbott)
Justin Vreeland 794355
- kernel.spec.template: Get rid of %%clean (Laura Abbott)
Justin Vreeland 794355
- configs: New config in drivers/char for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in net/sched for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in lib for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in fs/verity for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in arch/aarch64 for v5.4-rc4 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in arch/arm64 for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- Flip off CONFIG_ARM64_VA_BITS_52 so the bundle that turns it on applies (Jeremy Cline)
Justin Vreeland 794355
- New configuration options for v5.4-rc4 (Jeremy Cline)
Justin Vreeland 794355
- Correctly name tarball for single tarball builds (Laura Abbott)
Justin Vreeland 794355
- configs: New config in drivers/pci for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- Allow overriding the dist tag on the command line (Laura Abbott)
Justin Vreeland 794355
- Allow scratch branch target to be overridden (Laura Abbott)
Justin Vreeland 794355
- Remove long dead BUILD_DEFAULT_TARGET (Laura Abbott)
Justin Vreeland 794355
- Amend the changelog when rebasing (Laura Abbott)
Justin Vreeland 794355
- configs: New config in drivers/platform for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in drivers/pinctrl for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in drivers/net/wireless for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in drivers/net/ethernet/mellanox for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in drivers/net/can for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in drivers/hid for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in drivers/dma-buf for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in drivers/crypto for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in arch/s390 for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in block for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in drivers/cpuidle for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- redhat: configs: Split CONFIG_CRYPTO_SHA512 (Laura Abbott)
Justin Vreeland 794355
- redhat: Set Fedora options (Laura Abbott)
Justin Vreeland 794355
- Set CRYPTO_SHA3_*_S390 to builtin on zfcpdump (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in drivers/edac for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in drivers/firmware for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in drivers/hwmon for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in drivers/iio for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in drivers/mmc for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in drivers/tty for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in arch/s390 for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in drivers/bus for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- Add option to allow mismatched configs on the command line (Laura Abbott)
Justin Vreeland 794355
- configs: New config in drivers/crypto for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in sound/pci for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- configs: New config in sound/soc for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- gitlab: Add CI job for packaging scripts (Major Hayden)
Justin Vreeland 794355
- Speed up CI with CKI image (Major Hayden)
Justin Vreeland 794355
- Disable e1000 driver in ARK (Neil Horman)
Justin Vreeland 794355
- configs: Fix the pending default for CONFIG_ARM64_VA_BITS_52 (Jeremy Cline)
Justin Vreeland 794355
- configs: Turn on OPTIMIZE_INLINING for everything (Jeremy Cline)
Justin Vreeland 794355
- configs: Set valid pending defaults for CRYPTO_ESSIV (Jeremy Cline)
Justin Vreeland 794355
- Add an initial CI configuration for the internal branch (Jeremy Cline)
Justin Vreeland 794355
- New drop of configuration options for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- New drop of configuration options for v5.4-rc1 (Jeremy Cline)
Justin Vreeland 794355
- Pull the RHEL version defines out of the Makefile (Jeremy Cline)
Justin Vreeland 794355
- Sync up the ARK build scripts (Jeremy Cline)
Justin Vreeland 794355
- Sync up the Fedora Rawhide configs (Jeremy Cline)
Justin Vreeland 794355
- Sync up the ARK config files (Jeremy Cline)
Justin Vreeland 794355
- configs: Adjust CONFIG_FORCE_MAX_ZONEORDER for Fedora (Laura Abbott)
Justin Vreeland 794355
- configs: Add README for some other arches (Laura Abbott)
Justin Vreeland 794355
- configs: Sync up Fedora configs (Laura Abbott)
Justin Vreeland 794355
- [initial commit] Add structure for building with git (Laura Abbott)
Justin Vreeland 794355
- [initial commit] Add Red Hat variables in the top level makefile (Laura Abbott)
Justin Vreeland 794355
- [initial commit] Red Hat gitignore and attributes (Laura Abbott)
Justin Vreeland 794355
- [initial commit] Add changelog (Laura Abbott)
Justin Vreeland 794355
- [initial commit] Add makefile (Laura Abbott)
Justin Vreeland 794355
- [initial commit] Add files for generating the kernel.spec (Laura Abbott)
Justin Vreeland 794355
- [initial commit] Add rpm directory (Laura Abbott)
Justin Vreeland 794355
- [initial commit] Add files for packaging (Laura Abbott)
Justin Vreeland 794355
- [initial commit] Add kabi files (Laura Abbott)
Justin Vreeland 794355
- [initial commit] Add scripts (Laura Abbott)
Justin Vreeland 794355
- [initial commit] Add configs (Laura Abbott)
Justin Vreeland 794355
- [initial commit] Add Makefiles (Laura Abbott)
Justin Vreeland 794355
Justin Vreeland 794355
# The following bit is important for automation so please do not remove
Justin Vreeland 794355
# END OF CHANGELOG
Justin Vreeland 794355
Justin Vreeland 794355
###
Justin Vreeland 794355
# The following Emacs magic makes C-c C-e use UTC dates.
Justin Vreeland 794355
# Local Variables:
Justin Vreeland 794355
# rpm-change-log-uses-utc: t
Justin Vreeland 794355
# End:
Justin Vreeland 794355
###