diff --git a/Makefile.rhelver b/Makefile.rhelver new file mode 100644 index 0000000000000..0731aee69b66b --- /dev/null +++ b/Makefile.rhelver @@ -0,0 +1,4 @@ +# Placeholder Makefile.rhelver for CIQ builds +RHEL_MAJOR = 6 +RHEL_MINOR = 12 +RHEL_RELEASE = 3 diff --git a/ciq/.gitignore b/ciq/.gitignore new file mode 100644 index 0000000000000..e431b36cb8ee8 --- /dev/null +++ b/ciq/.gitignore @@ -0,0 +1,11 @@ +*.bz2 +configs/kernel*.config +configs/*-merged + +kabi/Module.kabi_* +kabi/kabi-current +kabi/kabi-rhel* +kabi/kabi-rhel*/* +scripts/uki_addons/uki_addons.json + +!.gitkeep diff --git a/ciq/BugsFixed b/ciq/BugsFixed new file mode 100644 index 0000000000000..b14345fe63e2a --- /dev/null +++ b/ciq/BugsFixed @@ -0,0 +1,4 @@ +On Rebase: 2322092 + +6.12.5: 2295026 +6.12.14: 2333706,2345701,2345700 diff --git a/ciq/Makefile b/ciq/Makefile new file mode 100644 index 0000000000000..01199ac8544e4 --- /dev/null +++ b/ciq/Makefile @@ -0,0 +1,1025 @@ +include Makefile.variables + +# +# Deprecated variables +# +# This section is intentionally left at the top of the Makefile so it won't be ignored. +# + +# These entries are 'duplicates' of variables specified in Makefile.variables +# that are used in the SPEC file. Specifying these with a SPEC prefix indicates +# that the value is passed through to the spec file. +SPECRELEASED_KERNEL=$(RELEASED_KERNEL) +SPECINCLUDE_FEDORA_FILES=$(INCLUDE_FEDORA_FILES) +SPECINCLUDE_RHEL_FILES=$(INCLUDE_RHEL_FILES) +SPECINCLUDE_RT_FILES=$(INCLUDE_RT_FILES) +SPECINCLUDE_AUTOMOTIVE_FILES=$(INCLUDE_AUTOMOTIVE_FILES) +SPECINCLUDE_ROCKY_FILES=$(INCLUDE_ROCKY_FILES) + +ifneq (,$(findstring n,$(firstword -$(MAKEFLAGS)))) + # Do not set RHTEST on the command line. Use the make command built-in options + # -n, --just-print, --dry-run, --recon on the command line. + RHTEST=1 +endif + +LANG=C + +ifndef RHSELFTESTDATA + TOPDIR:=$(shell $(GIT) rev-parse --show-toplevel) +else + # change TOPDIR to be relative + TOPDIR:=.. + # RHEL_RELEASE may be updated which will cause a difference with the BUILD variable + RHEL_RELEASE:=6 + BUILD:=$(RHEL_RELEASE) +endif + +CIQ:=$(TOPDIR)/ciq +include $(TOPDIR)/Makefile.rhelver + +ifndef RHDISTDATADIR + RHDISTDATADIR=${CIQ}/self-test/data +endif + +RPMBUILD:=$(shell if [ -x "/usr/bin/rpmbuild" ]; then echo rpmbuild; \ + else echo rpm; fi) + +MACH:=$(shell uname -m) +SPECKVERSION:=$(shell $(GIT) show $(HEAD):Makefile | sed -ne '/^VERSION\ =\ /{s///;p;q}') +SPECKPATCHLEVEL:=$(shell $(GIT) show $(HEAD):Makefile | sed -ne '/^PATCHLEVEL\ =\ /{s///;p;q}') +SPECKSUBLEVEL:=$(shell $(GIT) show $(HEAD):Makefile | sed -ne '/^SUBLEVEL\ =\ /{s///;p;q}') +SPECKEXTRAVERSION:=$(shell $(GIT) show $(HEAD):Makefile | sed -ne '/^EXTRAVERSION\ =\ /{s///;p;q}') + +SPECRVERSION:=$(shell echo $$(( $(RHEL_MAJOR) - 9 ))) +SPECRPATCHLEVEL:=$(RHEL_REBASE_NUM) + +ifneq ($(SPECGEMINI),0) + SPECKEXTRAVERSION:= +endif + +GITID:= $(shell $(GIT) log --max-count=1 --pretty=format:%H $(HEAD)) +ifndef RHSELFTESTDATA + BUILD:=$(RHEL_RELEASE) +endif +FLAVOR= +CURARCH := $(shell uname -m) +ARCHCONFIG := $(shell uname -m | sed -e s/x86_64/X86_64/ \ + -e s/s390x/S390/ -e s/ppc.*/PPC/ ) + +# rpm information +SPECFILE:=$(SPECPACKAGE_NAME).spec +RPM:=$(CIQ)/rpm +SRPMS:=$(RPM)/SRPMS +SOURCES:=$(RPM)/SOURCES +TESTPATCH:=$(CIQ)/linux-kernel-test.patch +CHANGELOG_EXT:=changelog-$(RHEL_MAJOR).$(RHEL_MINOR) +SPECCHANGELOG:=$(SPECPACKAGE_NAME).$(CHANGELOG_EXT) +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 + +# save some user selectable values to know later if we can override them +DISTRO_USERDEF:=$(DISTRO) +DIST_USERDEF:=$(DIST) +BUILD_PROFILE_USERDEF:=$(BUILD_PROFILE) +BUILD_TARGET_USERDEF:=$(BUILD_TARGET) + +ifndef DIST + DIST := $(shell $(RPMBUILD) --eval '%{?dist}') +endif + +ifndef DISTRO + ifneq ($(findstring .fc,$(DIST)),) + DISTRO := fedora + else + DISTRO := rhel + endif +endif + +ifndef RHJOBS + RHJOBS=$(shell j=$$(echo $(MAKEFLAGS) | grep -Eo "(^|[ ])-j[0-9]*" | xargs ); \ + if [ -z "$${j}" ]; then \ + echo "1"; \ + else \ + j=$$(echo "$${j}" | tr -d "\-j"); \ + [ -z "$${j}" ] && nproc || echo $${j}; \ + fi) +endif + +LOCVERFILE:=../localversion +# create an empty localversion file if you don't want a local buildid +ifneq ($(wildcard $(LOCVERFILE)),) + DISTLOCALVERSION:=$(shell cat $(LOCVERFILE)) + ifeq (,$(findstring s,$(firstword -$(MAKEFLAGS)))) + $(info DISTLOCALVERSION is "$(DISTLOCALVERSION)". Update '$(shell dirname $(CIQ))/localversion' to change.) + endif +else + ifeq ($(DISTLOCALVERSION),) + DISTLOCALVERSION:=.test + endif + ifeq (,$(findstring s,$(firstword -$(MAKEFLAGS)))) + $(info DISTLOCALVERSION is "$(DISTLOCALVERSION)".) + endif +endif + +# options for process_configs.sh script +ifdef NO_CONFIGCHECKS + PROCESS_CONFIGS_OPTS= + PROCESS_CONFIGS_CHECK_OPTS= + BUILDOPTS += -configchecks +else + PROCESS_CONFIGS_CHECK_OPTS=-n -t -c + PROCESS_CONFIGS_OPTS=-n -w -c +endif + +# this section is needed in order to make O= to work +_OUTPUT := .. +ifeq ("$(origin O)", "command line") + _OUTPUT := $(O) + _EXTRA_ARGS := O=$(_OUTPUT) +endif + +# MARKER is the upstream git tag which we base off of for exporting patches. +# MARKER (and UPSTREAM_TARBALL_NAME) must use SPECKVERSION, SPECKPATCHLEVEL, +# SPECKEXTRAVERSION, and SPECKSUBLEVEL from the top-level kernel makefile as +# opposed to any adjusted version for snapshotting. +ifneq ($(SPECKEXTRAVERSION),) + UPSTREAMBUILD:=0$(shell echo $(SPECKEXTRAVERSION) | sed -e s/-/./). + ifeq ($(SPECKSUBLEVEL),0) + UPSTREAM_TARBALL_NAME:=$(SPECKVERSION).$(SPECKPATCHLEVEL)$(SPECKEXTRAVERSION) + else + UPSTREAM_TARBALL_NAME:=$(SPECKVERSION).$(SPECKPATCHLEVEL).$(SPECKSUBLEVEL)$(SPECKEXTRAVERSION) + # stable-rc's are not tagged + STABLERC_MARKER:=$(shell $(GIT) rev-parse -q --verify origin/$(UPSTREAM_BRANCH) | cut -c 1-12 || \ + $(GIT) rev-parse -q --verify $(UPSTREAM_BRANCH) | cut -c 1-12) + endif +else + ifeq ($(SPECKSUBLEVEL),0) + UPSTREAM_TARBALL_NAME:=$(SPECKVERSION).$(SPECKPATCHLEVEL) + else + # MARKER (and UPSTREAM_TARBALL_NAME) must use SPECKVERSION, + # SPECKPATCHLEVEL, and SPECKSUBLEVEL from the top-level kernel makefile as + # opposed to any adjusted version for snapshotting. IOW, these variables are + # *NOT* equivalent to the SPECVERSION variable. + UPSTREAM_TARBALL_NAME:=$(SPECKVERSION).$(SPECKPATCHLEVEL).$(SPECKSUBLEVEL) + endif + UPSTREAMBUILD:= +endif +ifneq ($(STABLERC_MARKER),) + MARKER:=$(STABLERC_MARKER) +else + MARKER:=v$(UPSTREAM_TARBALL_NAME) +endif + +# If VERSION_ON_UPSTREAM is set, the versioning of the rpm package is based +# on a branch tracking upstream. This allows for generating rpms +# based on untagged releases. +ifndef VERSION_ON_UPSTREAM + ifeq ("$(DISTRO)", "fedora") + VERSION_ON_UPSTREAM:=1 + else + VERSION_ON_UPSTREAM:=0 + endif +endif + +UPSTREAM:=$(shell $(GIT) rev-parse -q --verify origin/$(UPSTREAM_BRANCH) || \ + $(GIT) rev-parse -q --verify $(UPSTREAM_BRANCH)) + +ifneq ("$(wildcard $(TOPDIR)/localversion-next)", "") + # we are building linux-next + MARKER:=$(shell $(GIT) describe $(UPSTREAM)) + # The merge window is weird because the actual versioning hasn't + # been updated but we still need something that works for + # packaging. Fix this by bumping the patch level. + ifeq ($(SPECKEXTRAVERSION),) + SPECKPATCHLEVEL:=$(shell expr $(SPECKPATCHLEVEL) + 1) + endif + LINUXNEXT_VERSION:=$(shell echo $(MARKER) | sed 's!next-!!') + UPSTREAMBUILD:=0.0.next.$(LINUXNEXT_VERSION). + UPSTREAM_TARBALL_NAME:=$(MARKER) +else ifeq ($(VERSION_ON_UPSTREAM),1) + # UPSTREAM_BRANCH is expected to track mainline. + ifeq ($(UPSTREAM),) + $(error "Missing an $(UPSTREAM_BRANCH) branch") + endif + MERGE_BASE:=$(shell $(GIT) merge-base $(HEAD) $(UPSTREAM)) + _TAG:=$(shell $(GIT) describe $(MERGE_BASE)) + # a snapshot off of a tagged git is of the form [tag]-[cnt]-g[hash] + SNAPSHOT:=$(shell echo $(_TAG) | grep -c '\-g') + + ifeq ($(SNAPSHOT),1) + # The base for generating tags is the snapshot commit + MARKER:=$(shell echo $(_TAG) | awk -F "-g" '{ print $$2 }') + # The merge window is weird because the actual versioning hasn't + # been updated but we still need something that works for + # packaging. Fix this by bumping the patch level and marking + # this as rc0 + ifeq ($(SPECKEXTRAVERSION),) + UPSTREAMBUILD:=0.rc0. + SPECKPATCHLEVEL:=$(shell expr $(SPECKPATCHLEVEL) + 1) + endif + ifndef UPSTREAMBUILD_GIT_ONLY + ifneq ($(filter $(MAKECMDGOALS),dist-git-test dist-git),) + UPSTREAMBUILD_GIT_ONLY:=0 + else + UPSTREAMBUILD_GIT_ONLY:=1 + endif + endif + ifeq ($(UPSTREAMBUILD_GIT_ONLY),1) + UPSTREAMBUILD:=$(UPSTREAMBUILD)$(MARKER). + else + # Obtain the date that HEAD was committed (not the snapshot commit). + HEAD_DATE:=$(shell $(GIT) show -s --format=%cd --date=format:%Y%m%d $(HEAD)) + UPSTREAMBUILD:=$(UPSTREAMBUILD)$(HEAD_DATE)git$(MARKER). + endif + UPSTREAM_TARBALL_NAME:=$(patsubst v%,%,$(_TAG)) + endif +else + SNAPSHOT:=0 + ifneq ($(ADD_COMMITID_TO_VERSION),) + _EXACT_TAG:=$(shell $(GIT) describe --exact-match 2>/dev/null) + ifeq ($(_EXACT_TAG),) + _TAG:=$(shell $(GIT) describe 2>/dev/null) + ifneq ($(_TAG),) + _BUILDCOMMIT:=$(shell echo $(_TAG) | awk -F- '{ printf(".%s", $$(NF)) }' | cut -c 1-6) + BUILD:=$(BUILD)$(_BUILDCOMMIT) + endif + endif + endif +endif + +# This section contains the variables that represent the kernel rpm's NVR. +# The NVR looks like, for example, kernel-5.17.0-0.rc8.551acdc3c3d2.124.test.fc35. +# This string can be deconstructed as +# +# $(SPECPACKAGE_NAME)-$(SPECKVERSION).$(SPECKPATCHLEVEL).$(SPECKSUBLEVEL)-$(UPSTREAMBUILD)$(BUILD)$(DISTLOCALVERSION)$(DIST) +# +# This can be evaluated as +# +# $(SPECPACKAGE_NAME)-$(SPECKVERSION).$(SPECKPATCHLEVEL).$(SPECKSUBLEVEL)-$(SPECBUILD) $(DIST) +# $(SPECPACKAGE_NAME)-$(SPECRPMVERSION) -$(SPECBUILD) $(DIST) +# $(SPECPACKAGE_NAME)-$(BASEVERSION) $(DIST) +# $(RELEASETAG) $(DIST) +# +# Gemini kernels override RPM NVR to: +# $(SPECPACKAGE_NAME)-$(SPECRVERSION).$(SPECRPATCHLEVEL)-$(SPECBUILD) $(DIST) +# +SPECBUILD:=$(UPSTREAMBUILD)$(BUILD)$(DISTLOCALVERSION) +SPECVERSION:=$(SPECKVERSION).$(SPECKPATCHLEVEL).$(SPECKSUBLEVEL) +ifeq ($(SPECGEMINI),0) + SPECRPMVERSION:=$(SPECKVERSION).$(SPECKPATCHLEVEL).$(SPECKSUBLEVEL) +else + SPECRPMVERSION:=$(SPECRVERSION).$(SPECRPATCHLEVEL) +endif +BASEVERSION:=$(SPECRPMVERSION)-$(SPECBUILD) +RELEASETAG:=$(SPECPACKAGE_NAME)-$(BASEVERSION) +SRPM:=$(SRPMS)/$(RELEASETAG)$(DIST).src.rpm + +# +# This conditional statement is where fedora, centos, and other (aka RHEL) +# specific values should be set. +# +ifeq ("$(DISTRO)", "fedora") + RHDISTGIT_BRANCH:=rawhide + ifndef BUILD_TARGET + BUILD_TARGET:=rawhide + endif + # The Fedora tarfile name is based on an upstream tag as users may + # replace the tarball from one with upstream, rebuild, and then deploy + # without changing anything else in the specfile. + SPECTARFILE_RELEASE:=$(UPSTREAM_TARBALL_NAME) + SPECKABIVERSION:=$(SPECRPMVERSION) + DISTRELEASETAG:=$(RELEASETAG) + DISTBASEVERSION:=$(BASEVERSION) + RHPKG_BIN:=fedpkg +else ifeq ("$(DISTRO)", "centos") + RHDISTGIT_BRANCH:=c$(RHEL_MAJOR)s + ifndef BUILD_PROFILE + BUILD_PROFILE:= -p stream + endif + ifndef BUILD_TARGET + BUILD_TARGET:=c$(RHEL_MAJOR)s-candidate + endif + SPECTARFILE_RELEASE:=$(BASEVERSION)$(DIST) + SPECKABIVERSION:=$(BASEVERSION)$(DIST) + DISTRELEASETAG:=$(RELEASETAG)$(DIST) + DISTBASEVERSION:=$(BASEVERSION)$(DIST) + PATCHLIST_URL:=none + RHPKG_BIN:=centpkg +else + RHDISTGIT_BRANCH:=rhel-$(RHEL_MAJOR).$(RHEL_MINOR).0 + ifndef BUILD_TARGET + ifeq ("$(DIST)", ".eln") + BUILD_TARGET:=eln + else + # This value is used by the dist[g]-targets. Changing this value has significant + # consequences for all of RHEL kernel engineering. + BUILD_TARGET:=rhel-$(RHEL_MAJOR)-newest-test-pesign + endif + endif + ifeq ("$(DIST)", ".eln") + DISTRELEASETAG:=$(RELEASETAG) + DISTBASEVERSION:=$(BASEVERSION) + SPECTARFILE_RELEASE:=$(BASEVERSION) + SPECKABIVERSION:=$(BASEVERSION) + else + DISTRELEASETAG:=$(RELEASETAG)$(DIST) + DISTBASEVERSION:=$(BASEVERSION)$(DIST) + SPECTARFILE_RELEASE:=$(BASEVERSION)$(DIST) + SPECKABIVERSION:=$(BASEVERSION)$(DIST) + endif + PATCHLIST_URL:=none + RHPKG_BIN:=rhpkg +endif + +TARFILE:=linux-$(SPECTARFILE_RELEASE).tar.xz +TARBALL:=$(CIQ)/$(TARFILE) + +KABI_TARBALL:=$(CIQ)/kernel-abi-stablelists-$(SPECKABIVERSION).tar.xz +KABIDW := $(CIQ)/kabi-dwarf +KABIDW_TARBALL:=$(CIQ)/kernel-kabi-dw-$(SPECKABIVERSION).tar.xz + +# load Makefile variable settings from user-specified configuration file, +# ~/.rhpkg.mk or $TOPDIR/.rhpkg.mk +ifeq ("$(RHDISTGIT_CACHE)", "") + ifneq ("$(wildcard ${HOME}/.rhpkg.mk)", "") + include ${HOME}/.rhpkg.mk + endif + ifneq ("$(wildcard $(TOPDIR)/.rhpkg.mk)", "") + include $(TOPDIR)/.rhpkg.mk + endif +endif + +ifeq ("$(ZSTREAM)", "yes") + YSTREAM_FLAG = no + ifeq ("$(origin RHDISTGIT_BRANCH)", "command line") + ZSTREAM_FLAG = branch + else + ZSTREAM_FLAG = yes + endif + BUILDOPTS += +kabidupchk +else + ZSTREAM_FLAG = no + ifeq ("$(EARLY_YSTREAM)", "yes") + YSTREAM_FLAG = early + else + YSTREAM_FLAG = yes + endif +endif + +include Makefile.cross + +# +# Targets +# +# Do not place variable declarations below this line. Variables are exported +# to scripts called in the targets below and do not need to be passed on the +# command-line. +# + +default: dist-help + +dist-python-check: + @if [ ! -x /usr/bin/python3 ]; then \ + echo "ERROR: Python 3 is needed." ; \ + exit 1; \ + fi + +dist-kabi: dist-python-check + @for KABIARCH in $(ARCH_LIST); do \ + $(CIQ)/kabi/show-kabi -k $(CIQ)/kabi/kabi-module/ -m \ + -a $$KABIARCH -r $(RHEL_MAJOR).$(RHEL_MINOR) > $(CIQ)/kabi/Module.kabi_$$KABIARCH;\ + for i in {0..$(RHEL_MINOR)}; do \ + mkdir -p $(CIQ)/kabi/kabi-rhel$(RHEL_MAJOR)$$i/;\ + $(CIQ)/kabi/show-kabi -k $(CIQ)/kabi/kabi-module/ -s -a $$KABIARCH \ + -r $(RHEL_MAJOR).$$i > $(CIQ)/kabi/kabi-rhel$(RHEL_MAJOR)$$i/kabi_stablelist_$$KABIARCH;\ + done;\ + done; + @(cd $(CIQ)/kabi/ && ln -Tsf kabi-rhel$(RHEL_MAJOR)$(RHEL_MINOR) kabi-current) + +dist-kabi-dup: dist-python-check + @for KABIARCH in $(ARCH_LIST); do \ + touch $(CIQ)/kabi/Module.kabi_dup_$$KABIARCH;\ + if [ -d $(CIQ)/kabi/kabi-dup-module/kabi_$$KABIARCH ]; then \ + $(CIQ)/kabi/show-kabi -k $(CIQ)/kabi/kabi-dup-module/ -m \ + -a $$KABIARCH -r $(RHEL_MAJOR).$(RHEL_MINOR) > \ + $(CIQ)/kabi/Module.kabi_dup_$$KABIARCH;\ + fi \ + done; + +dist-assert-tree-clean: +ifeq ($(FORCE),) + @if ! git diff-index --quiet --cached HEAD -- &> /dev/null; then \ + echo "ERROR: staged changes found. Please clean the git tree."; >&2 \ + git status; \ + exit 1; \ + fi + @if ! git diff-files --quiet &> /dev/null; then \ + echo "ERROR: unstaged changes found. Please clean the git tree." >&2; \ + git status; \ + exit 1; \ + fi + @if [ $$(git ls-files --exclude-standard --others | wc -l) -gt 0 ]; then \ + echo "ERROR: untracked files found. Please clean the git tree." >&2; \ + git status; \ + exit 1; \ + fi +endif + +ifndef KABI_SUPPORTED_ARCHS + KABI_SUPPORTED_ARCHS := $(patsubst kabi_%,%,$(notdir $(wildcard $(CIQ)/kabi/kabi-module/*))) +endif +KABI_CROSS_COMPILE = $(patsubst %,$(KABI_CROSS_COMPILE_PREFIX)%$(KABI_CROSS_COMPILE_SUFFIX),$(filter-out $(CURARCH),$(KABI_SUPPORTED_ARCHS))) + +ifeq ($(ARCH),$(CURARCH)) +dist-assert-cross-tools: # no dependencies when we're building for native arch +else +dist-assert-cross-tools: $(patsubst %,%gcc,$(KABI_CROSS_COMPILE)) +endif + +$(KABI_CROSS_COMPILE_PREFIX)%$(KABI_CROSS_COMPILE_SUFFIX)gcc: + @echo "ERROR: couldn't find cross compilation toolchain (looking for: $@)" >&2 + @echo " override KABI_CROSS_COMPILE_PREFIX to set path (currently $(KABI_CROSS_COMPILE_PREFIX))" >&2 + @echo " override KABI_CROSS_COMPILE_SUFFIX to set suffix (currently $(KABI_CROSS_COMPILE_SUFFIX))" >&2 + @exit 1 + + +ifeq ($(ARCH),) +dist-kabi-index: ARCH=$(CURARCH) +endif +dist-kabi-index: + : > $(CIQ)/kabi/kabi-module/kabi_$(ARCH)/.index.json + for sym in $$(find $(CIQ)/kabi/kabi-module/kabi_$(ARCH)/ -type f -not -name "*.*" \ + -exec basename {} \;); do \ + $(CIQ)/kabi/symtypes index \ + $(CIQ)/kabi/kabi-module/kabi_$(ARCH)/.$$(basename $$sym) \ + -o $(CIQ)/kabi/kabi-module/kabi_$(ARCH)/.index.json || : ; \ + done + +ifeq ($(ARCH),) +dist-kabi-image-%: ARCH=$(CURARCH) +endif +dist-kabi-image-%: NODE = $(patsubst dist-kabi-image-%,%,$@) +dist-kabi-image-%: dist-kabi-index + $(CIQ)/kabi/symtypes image -s $(NODE) -t $(CIQ)/kabi/kabi-module/kabi_$(ARCH)/.index.json + +ifeq ($(ARCH),) +dist-kabi-preimage-%: ARCH=$(CURARCH) +endif +dist-kabi-preimage-%: NODE = $(patsubst dist-kabi-preimage-%,%,$@) +dist-kabi-preimage-%: dist-kabi-index + @node="$(NODE)"; \ + if [ "${node:1:1}" = "#" ]; then \ + $(CIQ)/kabi/symtypes preimage -s '$(NODE)' -t $(CIQ)/kabi/kabi-module/kabi_$(ARCH)/.index.json; \ + else \ + for prefix in {E,e,s,t,u}; do \ + $(CIQ)/kabi/symtypes preimage -S -s "$$prefix#$(NODE)" -t $(CIQ)/kabi/kabi-module/kabi_$(ARCH)/.index.json || :; \ + done; \ + fi + +dist-symtype-diff: KABI_TOOL = $(CIQ)/kabi/diff-kabi +dist-symtype-diff: dist-assert-cross-tools dist-assert-tree-clean dist-configs dist-symtype-shared + +dist-kabi-update: KABI_TOOL = $(CIQ)/kabi/update-kabi +dist-kabi-update: dist-assert-cross-tools dist-assert-tree-clean dist-configs dist-symtype-shared + +dist-symtype-shared: + @declare -a _ARGS; \ + declare -a _ARCHS; \ + for symbol in $${SYMBOL:-}; do \ + _ARGS=("$${_ARGS[@]}" -s "$$symbol"); \ + done; \ + if [ -n "$${SRC:-}" ]; then \ + _ARGS=("$${_ARGS[@]}" $$SRC); \ + fi; \ + if [ -n "$${ARCH:-}" ]; then \ + $(KABI_TOOL) -a $(ARCH) $${_ARGS[@]}; \ + else \ + cnt=1; \ + for arch in $(KABI_SUPPORTED_ARCHS); do \ + $(KABI_TOOL) -a $$arch $${_ARGS[@]} || : ; \ + let cnt++; \ + done; \ + fi + +dist-check-kabi: dist-kabi + @if [ ! -e $(_OUTPUT)/Module.symvers ]; then \ + echo "ERROR: You must compile the kernel and modules first";\ + exit 1;\ + fi + @$(CIQ)/kabi/check-kabi -k $(CIQ)/kabi/Module.kabi_$(MACH) \ + -s $(_OUTPUT)/Module.symvers + +dist-check-kabi-dup: dist-kabi-dup + @if [ ! -e $(_OUTPUT)/Module.symvers ]; then \ + echo "ERROR: You must compile the kernel and modules first";\ + exit 1;\ + fi + @$(CIQ)/kabi/check-kabi -k $(CIQ)/kabi/Module.kabi_dup_$(MACH) \ + -s $(_OUTPUT)/Module.symvers + +dist-kabi-dw-base: dist-kabi + @echo "Generating baseline dataset for KABI DWARF-based comparison..." + @echo "**** GENERATING DWARF-based kABI baseline dataset ****" + @$(KABIDW)/run_kabi-dw.sh generate \ + $(CIQ)/kabi/kabi-current/kabi_stablelist_$(CURARCH) \ + $(_OUTPUT) $(KABIDW)/base/$(CURARCH)/ + +dist-kabi-dw-check: dist-kabi + @if [ ! -d $(KABIDW)/base/$(CURARCH) ]; then \ + echo "**** ERROR: ****"; \ + echo "Comparison base not found in $(KABIDW)/base/$(CURARCH)."; \ + echo "Please run \"make dist-kabi-dw-base\" first!"; \ + exit 1; \ + fi + @echo "**** GENERATING DWARF-based kABI dataset ****" + @$(KABIDW)/run_kabi-dw.sh generate \ + $(CIQ)/kabi/kabi-current/kabi_stablelist_$(CURARCH) \ + $(_OUTPUT) $(KABIDW)/base/$(CURARCH).tmp/ + @echo "**** KABI DWARF-based comparison report ****" + @$(KABIDW)/run_kabi-dw.sh compare \ + $(KABIDW)/base/$(CURARCH) $(KABIDW)/base/$(CURARCH).tmp || : + @echo "**** End of KABI DWARF-based comparison report ****" + @rm -rf $(KABIDW)/base/$(CURARCH).tmp + +dist-configs-commit: dist-configs-prep + +@cd $(CIQ)/configs; ./generate_all_configs.sh 1;\ + ./process_configs.sh -z "$(SPECRPMVERSION)" "$(FLAVOR)" + +dist-configs: dist-configs-prep + +@cd $(CIQ)/configs; ./generate_all_configs.sh 1;\ + ./process_configs.sh $(PROCESS_CONFIGS_OPTS) "$(SPECRPMVERSION)" "" + +dist-fedora-configs: FLAVOR = fedora +dist-fedora-configs: dist-configs +fedora-configs: dist-fedora-configs + +dist-rhel-configs: FLAVOR = rhel +dist-rhel-configs: dist-configs +rh-configs: dist-rhel-configs + +dist-configs-check: dist-configs-prep + +cd $(CIQ)/configs; ./process_configs.sh $(PROCESS_CONFIGS_CHECK_OPTS) "" "" + +dist-configs-prep: dist-clean-configs + +cd $(CIQ)/configs; ./build_configs.sh "partial" "snip" + +cd $(CIQ)/configs; ./build_configs.sh "$(SPECPACKAGE_NAME)" "$(FLAVOR)" + +dist-configs-arch: ARCH_MACH = $(MACH) +dist-configs-arch: dist-configs + +dist-clean-configs: + @cd $(CIQ)/configs; rm -f kernel-*.config.orig kernel-*.config.tmp partial-*-snip.config + +dist-clean-sources: +# Do not cleanup when creating self-test data +ifndef RHSELFTESTDATA + @rm -f $(RPM)/SPECS/* + @rm -rf $(SOURCES)/* +endif + +dist-clean-rpmdirs: + @for i in $(RPM)/{BUILD,SRPMS,RPMS,SPECS}/*; do \ + rm -rf $$i; \ + done; + +dist-clean: dist-clean-sources dist-clean-configs dist-clean-rpmdirs + @rm -f $(CIQ)/linux-*.tar.xz + @rm -f $(CIQ)/kernel-abi-stablelists-*.tar.xz + @rm -f $(CIQ)/kernel-kabi-dw-*.tar.xz + +dist-stub-key: + @echo "Copying pre-generated keys"; + @echo "*** THIS IS NOT RECOMMENDED ***"; + @echo "To be safe, keys should be created once for every build"; + @echo "Use this option only for development builds"; + @cp keys/stub_key.x509 $(_OUTPUT)/; + @cp keys/stub_key.priv $(_OUTPUT)/; + +# force tarball to be regenerated if HEAD changes +.PHONY: $(TARBALL) +$(TARBALL): + @scripts/create-tarball.sh + +.PHONY: $(KABI_TARBALL) +$(KABI_TARBALL): dist-kabi + @(cd kabi && tar -cJf $(KABI_TARBALL) kabi-rhel$(RHEL_MAJOR)* kabi-current) + +.PHONY: $(KABIDW_TARBALL) +$(KABIDW_TARBALL): + @if [ ! -d $(KABIDW)/base ]; then \ + mkdir -p $(KABIDW)/base; \ + fi + @(cd kabi-dwarf && tar -cJf $(KABIDW_TARBALL) base run_kabi-dw.sh) + +dist-git-version-check: + @# genspec.sh uses pathspec magic that wasn't introduced until version 2.13 + @IFS=" ."; \ + set -- $$($(GIT) --version); \ + IFS=; \ + if [ "$$3" -lt 2 -o \( "$$3" -eq 2 -a "$$4" -lt 13 \) ]; then \ + echo "ERROR: You need git version 2.13 or newer to run some setup commands"; \ + exit 1; \ + fi + +dist-get-buildreqs: setup-source + @PKGLIST="rpm-build $$(rpmspec -q --buildrequires $(SOURCES)/$(SPECFILE) | cut -d ' ' -f 1)"; \ + MISSING=""; \ + for pkg in $$PKGLIST; do \ + rpm -q --whatprovides $$pkg >/dev/null || MISSING="$$MISSING $$pkg"; \ + done; \ + if [ -n "$$MISSING" ]; then \ + echo " Missing dependencies: $$MISSING"; \ + if echo "$$MISSING" | grep -q system-sb-certs ; then \ + echo "system-sb-certs can be installed from a RHEL or Centos-Stream CodeReady Linux Builder (CRB) repository."; \ + fi; \ + else \ + echo "PASS: All build dependencies found."; \ + fi + +# IMPORTANT: All targets whose recipes read/modify files under $(SOURCES) +# MUST depend on setup-source (at least indirectly). Otherwise such +# recipes may be ordered before/in parallel with dist-clean-sources +# (prerequisite of setup-source), which would then delete their results. +setup-source: dist-clean-sources dist-git-version-check + @if [ ! -e $(CIQ)/$(SPECFILE).template ]; then \ + echo "Creating $(CIQ)/$(SPECFILE).template as a copy of $(CIQ)/kernel.spec.template"; \ + cp $(CIQ)/kernel.spec.template $(CIQ)/$(SPECFILE).template; \ + fi + @cp $(CIQ)/$(SPECFILE).template $(SOURCES)/$(SPECFILE) + @if [ ! -e $(CIQ)/$(SPECCHANGELOG) ]; then \ + echo "Creating an empty $(SPECCHANGELOG) since it does not exist yet"; \ + touch $(CIQ)/$(SPECCHANGELOG); \ + fi + @if [ -z "$(RHSELFTESTDATA)" ]; then \ + cp $(CIQ)/$(SPECCHANGELOG) $(SOURCES)/$(SPECCHANGELOG); \ + else \ + echo "Mon Mar 28 2022 Fedora Kernel Team [$(BASEVERSION)]" > $(SOURCES)/$(SPECCHANGELOG); \ + fi + @if [ -z "$(PATCHLIST_URL)" ]; then \ + echo "Error: PATCHLIST_URL must be set (to 'none' or any URL)"; \ + exit 1; \ + fi + @$(CIQ)/scripts/genspec/genspec.sh + @cp $(SOURCES)/$(SPECFILE) $(SOURCES)/../SPECS/ + +generate-testpatch-tmp: + @$(GIT) diff --no-renames HEAD ":(exclude,top).get_maintainer.conf" \ + ":(exclude,top).gitattributes" \ + ":(exclude,top).gitignore" \ + ":(exclude,top)makefile" \ + ":(exclude,top)Makefile.rhelver" \ + ":(exclude,top)ciq" > $(TESTPATCH).tmp + +sources-rh: $(TARBALL) $(KABI_TARBALL) $(KABIDW_TARBALL) generate-testpatch-tmp setup-source dist-configs-check + @cp -l $(TARBALL) $(KABI_TARBALL) $(KABIDW_TARBALL) $(SOURCES)/ || \ + cp $(TARBALL) $(KABI_TARBALL) $(KABIDW_TARBALL) $(SOURCES)/ + @touch $(TESTPATCH) + @diff $(TESTPATCH).tmp $(TESTPATCH) > /dev/null || \ + echo "WARNING: There are uncommitted changes in your tree or the changes are not in sync with linux-kernel-test.patch. Either commit the changes or run 'make dist-test-patch'" + @rm $(TESTPATCH).tmp + @cp $(TESTPATCH) $(SOURCES)/linux-kernel-test.patch + @cat configs/flavors | while read flavor; do echo "Copying sources for $${flavor}"; [ -e $${flavor}_files ] && cp $${flavor}_files/* $(SOURCES); done + @sed -e "s/%%SPECKVERSION%%/$(SPECKVERSION)/" \ + -e "s/%%SPECKPATCHLEVEL%%/$(SPECKPATCHLEVEL)/" \ + scripts/gating/rpminspect.yaml > $(SOURCES)/rpminspect.yaml + @$(CIQ)/scripts/uki_addons/uki_create_json.py $(CIQ)/scripts/uki_addons/uki_addons.json + @cp scripts/kernel-tools/kvm_stat.logrotate \ + keys/rhel*.x509 \ + keys/nvidia*.x509 \ + keys/fedora*.x509 \ + kabi/check-kabi \ + configs/$(SPECPACKAGE_NAME)-*.config \ + configs/partial*.config \ + scripts/gating/gating.yaml \ + scripts/filtermods.py \ + scripts/mod/mod-denylist.sh \ + scripts/mod/mod-sign.sh \ + scripts/uki_addons/uki_create_addons.py \ + scripts/uki_addons/uki_addons.json \ + configs/flavors \ + configs/generate_all_configs.sh \ + configs/merge.py \ + configs/process_configs.sh \ + ../Makefile.rhelver \ + README.rst \ + kernel-local \ + dracut-virt.conf \ + ciq_secureboot_files/ciq_sb_*.der \ + ciq_secureboot_files/ciq_sb_*.crt \ + ciq_secureboot_files/ciq_sbsign.macros \ + $(SOURCES)/ + @cat $$(ls -1 $(SPECPACKAGE_NAME).changelog-* | sort -V -r) \ + > $(SOURCES)/kernel.changelog + cp keys/redhatsecureboot{501,ca5}.cer $(SOURCES)/; + @for KABIARCH in $(ARCH_LIST); do \ + cp kabi/Module.kabi_$$KABIARCH $(SOURCES)/; \ + cp kabi/Module.kabi_dup_$$KABIARCH $(SOURCES)/; \ + done + mkdir -p $(SOURCES)/configs/ + cp $(CIQ)/rocky_files/def_variants.yaml.rocky $(SOURCES)/configs/ + @find $(SOURCES)/ -name "*.yaml" -o -name "*.yaml.fedora" -o -name "*.yaml.rhel" -o -name "*.yaml.rocky" | \ + xargs -i{} $(CIQ)/scripts/yamlsanity.py {} + @echo Sanity checking filtermods configs + @ls -1 -B $(SOURCES)/def_variants.yaml.* | xargs -i{} sh -c "$(CIQ)/scripts/filtermods.py -q sort -c {} -d /dev/null" + +dist-sources: dist-kabi dist-kabi-dup sources-rh + +dist-test-patch: generate-testpatch-tmp + @mv $(TESTPATCH).tmp $(TESTPATCH); + +do-rpmbuild: dist-sources + $(RPMBUILD) --define "_sourcedir $(SOURCES)" --define "_builddir $(RPM)/BUILD" --define "_srcrpmdir $(RPM)/SRPMS" --define "_rpmdir $(RPM)/RPMS" --define "_specdir $(RPM)/SPECS" --define "dist $(DIST)" $(RPMBUILDOPTS) $(RPM)/SOURCES/$(SPECFILE) + +dist-all-rpms: RPMBUILDOPTS=--target $(MACH) -ba +dist-all-rpms: dist-sources do-rpmbuild + +dist-srpm: RPMBUILDOPTS=--nodeps -bs +dist-srpm: dist-sources do-rpmbuild + +dist-srpm-gcov: DISTLOCALVERSION=.gcov +dist-srpm-gcov: BUILDOPTS+=+gcov +dist-srpm-gcov: dist-srpm + +dist-rpms: RPMBUILDOPTS=--target $(MACH) -bb +dist-rpms: dist-sources do-rpmbuild + +dist-kernel-%: dist-sources + RPMBUILDOPTS="--target $(MACH) --with $* -bb" make do-rpmbuild + +dist-prep: RPMBUILDOPTS=--nodeps --target noarch -bp +dist-prep: dist-sources do-rpmbuild + +dist-perf: RPMBUILDOPTS=--without up --without smp --without zfcpdump --without debug --without doc --without headers --without doc --without debuginfo --target $(MACH) -bb +dist-perf: dist-sources do-rpmbuild + +dist-rpm-baseonly: RPMBUILDOPTS=--target $(MACH) --without debug --without debuginfo --without vdso_install --without bpftool --without perf --without tools -bb +dist-rpm-baseonly: dist-sources do-rpmbuild + +# unless you know what you're doing, you don't want to use the next four ones +dist-release-finish: setup-source + @cp $(SOURCES)/$(SPECCHANGELOG) $(CIQ)/$(SPECCHANGELOG) + @echo $(MARKER) > $(CIQ)/marker + @$(GIT) add $(CIQ)/$(SPECCHANGELOG) + @$(GIT) add $(CIQ)/marker + @$(GIT) commit -s ../Makefile.rhelver $(CIQ)/marker $(CIQ)/$(SPECCHANGELOG) $(SPECFILE).template -m "[ciq] $(DISTRELEASETAG)" +dist-release-changed: + @CLOGF="$$(mktemp)"; \ + trap 'rm -f "$$CLOGF"' SIGHUP SIGINT SIGTERM EXIT; \ + if $(CIQ)/scripts/genspec/genlog.sh "$$CLOGF"; then \ + if [ "$(MARKER)" == "$$(cat $(CIQ)/marker)" ] && \ + [ "$$(wc -l $$CLOGF | cut -d ' ' -f 1)" -le 3 ]; then \ + echo "Nothing changed, skipping updates"; \ + else \ + $(CIQ)/scripts/new_release.sh; \ + $(MAKE) dist-release-finish; \ + fi \ + else \ + retval=$$?; \ + echo "genlog.sh failed with return code $$retval, aborting."; \ + exit $$retval; \ + fi + +dist-release: dist-clean-sources + @$(MAKE) dist-release-changed + +dist-get-tag: + $(info $(DISTRELEASETAG)) + +dist-release-tag: + @$(GIT) tag -a -m "$(DISTRELEASETAG)" $(DISTRELEASETAG) + +git-tree-check: + @if test -n "$(DIST_PUSH)" && test -z "$(shell $(GIT) remote get-url gitlab 2>/dev/null)"; then \ + echo -e "Please run 'git remote add gitlab ' to enable git-push.\n"; \ + exit 1; \ + fi + @$(GIT) diff-index --quiet HEAD || \ + { echo -e "Dirty tree, please clean before merging.\n"; exit 1; } + +dist-merge-upstream: git-tree-check + @cd ..; $(CIQ)/scripts/ci/ark-update-configs.sh + +dist-merge-upstream-push: export DIST_PUSH="1" +dist-merge-upstream-push: dist-merge-upstream + +dist-fedora-release: git-tree-check + + @cd ..; $(CIQ)/scripts/ci/ark-create-release.sh || \ + (echo "Unable to create release tag"; exit 1) + +dist-fedora-release-push: export DIST_PUSH="1" +dist-fedora-release-push: dist-fedora-release + +dist-vr-check: + @# builds may include a s390x+zfcpdump arch build. UTS_RELEASE can only have a + @# version-release string with max 64 chars. The version-release for s390x+zfcpdump + @# is 29 characters, leaving a maximum of 35 characters for SPECBUILD. + @if [ $$(echo -n $(SPECBUILD) | wc -c) -gt 35 ]; then \ + echo "SPECBUILD ($(SPECBUILD)) is too long. Use a shorter localversion (currently $(DISTLOCALVERSION))"; \ + exit 1; \ + fi + +# Call as sub-make to select different default DISTRO and DIST for dist-brew. +# This is because target-specific variables only apply inside the recipe, but we +# need to recalculate some values such as BUILD_TARGET that depends on them. +# However, do not override any value directly defined by the user. +dist-brew distg-brew: DISTRO=$(if $(DISTRO_USERDEF),$(DISTRO_USERDEF),rhel) +dist-brew distg-brew: DIST=$(if $(DIST_USERDEF),$(DIST_USERDEF),.el$(RHEL_MAJOR)) +dist-brew distg-brew: BUILD_PROFILE=$(if $(BUILD_PROFILE_USERDEF),$(BUILD_PROFILE_USERDEF)) +dist-brew distg-brew: BUILD_TARGET=$(if $(BUILD_TARGET_USERDEF),$(BUILD_TARGET_USERDEF)) +dist-brew distg-brew dist-koji distg_koji: + $(MAKE) _$@ + +_dist-brew _dist-koji: _dist-%: dist-vr-check dist-srpm + $* $(BUILD_PROFILE) build $(BUILD_FLAGS) --scratch $(BUILD_TARGET) $(SRPMS)/$(RELEASETAG)$(DIST).src.rpm $(OUTPUT_FILE) + +_distg-brew _distg-koji: _distg-%: dist-vr-check + $* $(BUILD_PROFILE) build $(BUILD_FLAGS) --scratch $(BUILD_TARGET) "$(RHGITURL)?ciq/koji#$(RHGITCOMMIT)" + +dist-git-test: export RH_DIST_GIT_TEST="1" +dist-git-test: dist-git + +dist-git: dist-srpm $(KABI_TARBALL) $(KABIDW_TARBALL) +ifeq ("$(RHDISTGIT_BRANCH)", "") + $(error RHDISTGIT_BRANCH unset) +endif + $(CIQ)/scripts/rh-dist-git.sh + +dist-headers-srpm: + @scripts/create_headers_tarball.sh + @cp $(CIQ)/kernel-headers.spec.template $(SOURCES)/kernel-headers.spec + @$(CIQ)/scripts/genspec/headerspec.sh + @cp $(SOURCES)/kernel-headers.spec $(SOURCES)/../SPECS/ + $(RPMBUILD) --define "_sourcedir $(SOURCES)" --define "_builddir $(RPM)/BUILD" --define "_srcrpmdir $(RPM)/SRPMS" --define "_rpmdir $(RPM)/RPMS" --define "_specdir $(RPM)/SPECS" --define "dist $(DIST)" --nodeps -bs $(RPM)/SOURCES/kernel-headers.spec + +dist-git-headers: dist-headers-srpm +ifeq ("$(RHDISTGIT_BRANCH)", "") + $(error RHDISTGIT_BRANCH unset) +endif + SPECPACKAGE_NAME=kernel-headers SRPM=$(SRPMS)/kernel-headers-$(BASEVERSION)$(DIST).src.rpm $(CIQ)/scripts/rh-headers-dist-git.sh + +dist-git-headers-test: export RH_DIST_GIT_TEST="1" +dist-git-headers-test: dist-git-headers + +dist-rtg: dist-release + @$(MAKE) dist-release-tag + @$(MAKE) dist-git + +# RH_LATEST returns the value of the latest "known good" kernel from brew. +# This should not be confused with the latest top-of-tree development tag. +dist-get-latest: + $(eval RH_LATEST:=$(shell brew latest-pkg --quiet rhel-${RHEL_MAJOR}.${RHEL_MINOR}.0-candidate kernel | awk ' { print $$1 } ')) + @echo "The latest kernel package tag is ${RH_LATEST}." + +dist-os-version: + @echo "OSVERSION: $(RHEL_MAJOR).$(RHEL_MINOR)" + +dist-dump-variables: + $(eval VARS:=$(sort $(shell cat Makefile.variables | sed '/^#/d; /^$$/d; s/[ ]*[?:]=.*//'))) + @$(foreach V,$(sort $(.VARIABLES)), $(if $(filter-out environment default automatic, $(origin $V)),$(info $V=$($V)),$(if $(filter $(VARS),$(V)),$(info $V=$($V))))) + +dist-self-test: + @if test -x /usr/bin/bats; then \ + bats $(CIQ)/self-test/*.bats ; \ + else \ + echo "dist-self-test: The bats package is not installed" ; \ + fi + +dist-self-test-data: + ./self-test/data/create-data.sh + +dist-check-licenses: + @if test -x /usr/bin/bats; then \ + bats $(CIQ)/self-test/1007-spdx-licenses.bats ; \ + else \ + echo "dist-check-licenses: The bats package is not installed" ; \ + fi + +dist-help: + @echo 'Cleaning targets:' + @echo ' dist-clean - Clean ciq/configs/ and ciq/rpm/ directories.' + @echo '' + @echo 'Building targets:' + @echo ' dist-srpm - Create a source RPM.' + @echo ' dist-all-rpms - Create a source RPM and build binary RPMs locally.' + @echo ' dist-brew - Create a source RPM and call brew to build binary RPMs.' + @echo ' distg-brew - Build RPMs using a remote git repo.' + @echo ' [Configuration needed.]' + @echo ' dist-cross-all-rpms - Build RPMs for all supported archs using a cross' + @echo ' compiler.' + @echo '' + @echo 'Configuration targets:' + @echo ' dist-configs - Create RHEL config files in ciq/config/.' + @echo '' + @echo 'For detailed description and full list of targets, run `make dist-full-help`.' + @echo '' + +dist-full-help: + @echo 'Cleaning targets:' + @echo ' dist-clean - Do dist-clean-sources, dist-clean-configs, &' + @echo ' dist-clean-rpmdirs.' + @echo ' dist-clean-sources - Clean the ciq/rpm/SOURCES/ directory.' + @echo ' dist-clean-configs - Clean the ciq/configs/ directory.' + @echo ' dist-clean-rpmdirs - Clean the ciq/rpm/{BUILD,SRPMS,RPMS,SPECS}/' + @echo ' directories.' + @echo '' + @echo 'Building targets:' + @echo ' All RPM/SRPM files will be put under the ciq/rpm/ directory.' + @echo '' + @echo ' dist-srpm - Create a source RPM and put it into the ciq/rpm/SRPMS/' + @echo ' directory. See the dist-brew target for available options.' + @echo ' dist-srpm-gcov - Create a source RPM with gcov enabled and put it into the' + @echo ' ciq/rpm/SRPMS/ directory.' + @echo ' dist-brew - Create a kernel SRPM and then call brew to build the' + @echo ' created SRPM. Add BUILDOPTS="+ - [...]" to' + @echo ' enable/disable build options.' + @echo ' Available s and their default values:' \ + $$(sed -n -e 's/^%define with_\([^ \t]*\).*\?_without_.*/+\1/p' \ + -e 's/^%define with_\([^ \t]*\).*\?_with_.*/-\1/p' kernel.spec.template | \ + grep -v 'only$$') | fmt -80 + @echo ' dist-koji - Create a kernel SRPM and then call koji to build the' + @echo ' created SRPM. See the dist-brew target for available' + @echo ' options.' + @echo ' distg-brew - Pass HEAD of the current git branch to brew to build an' + @echo ' RPM set. Do not forget to push to the remote repository' + @echo ' first. Preceed make command by RHGITCOMMIT=' + @echo ' specify commit ID to use.' + @echo ' To set the remote repo, invoke:' + @echo ' git config rhg.url git://' + @echo ' distg-koji - Pass HEAD of the current git branch to koji to build an' + @echo ' RPM set. Do not forget to push to the remote repository' + @echo ' first. See the distg-brew target for options and' + @echo ' configuration.' + @echo ' dist-rpms - Create the binary RPMS for the kernel.' + @echo ' See the dist-brew target for available options.' + @echo ' dist-rpm-baseonly - Create the binary RPMS for the kernel and modules' + @echo ' (no userspace tools or debuginfo).' + @echo ' dist-kernel- - Create binary RPMS for a particular kernel type.' + @echo ' Available s:'\ + $$(sed -n 's/^%define with_\([^ ]*only\).*/\1/p' kernel.spec.template) + + @echo ' dist-all-rpms - Create the binary RPMS and the SRPM for the kernel.' + @echo ' See the dist-brew target for available options.' + @echo ' dist-prep - Setup the ciq/rpm/BUILD/ directory with the kernel' + @echo ' source. See the dist-brew target for available options.' + @echo ' dist-test-patch - Create a diff against HEAD and put it in' + @echo ' linux-kernel-test.patch. This patch will' + @echo ' be added to the kernel build.' + @echo ' dist-stub-key - Use pre generated keys to speed local test builds.' + @echo ' dist-cross-download - [x86_64 only] download cross compiler rpms.' + @echo ' dist-cross-all-builds - [x86_64 only] execute "rpmbuild -bc" for all' + @echo ' supported archs using RHEL cross compiler.' + @echo ' dist-cross--build - [x86_64 only] execute "rpmbuild -bc" for specified' + @echo ' using RHEL cross compiler.' + @echo ' Supported s: x86_64'\ + $$(sed -n 's/.*--target \([^ ]*\).*/\1/p' Makefile.cross | sort -u) + @echo ' dist-cross-all-rpms - [x86_64 only] execute rpm builds for all supported' + @echo ' archs using RHEL cross compiler.' + @echo ' dist-cross--rpms - [x86_64 only] execute rpm builds for specified' + @echo ' using RHEL cross compiler.' + @echo ' See dist-cross--build for the supported archs.' + @echo ' dist-rhel-configs - build ELN configs' + @echo ' dist-fedora-configs - build Fedora configs' + + @echo '' + @echo 'kABI targets:' + @echo ' dist-kabi - Create kABI stablelist files in ciq/kabi/kabi-rhel*/' + @echo ' and merge kABI checksums into ciq/kabi/Module.kabi_*.' + @echo ' dist-kabi-dup - Merge kABI checksums for Driver Update Program (DUP)' + @echo ' into ciq/kabi/Module.kabi_dup_*.' + @echo ' dist-check-kabi - Check for changes in kABI stablelisted symbols.' + @echo ' Requires a pre-compiled tree: run `make dist-configs`,' + @echo ' copy the relevant config file from ciq/configs/ to' + @echo ' .config, and run `make`.' + @echo ' dist-check-kabi-dup - Like dist-check-kabi but uses a DUP kABI stablelist.' + @echo ' dist-kabi-dw-base - Generate the base dataset for kABI DWARF-based check.' + @echo ' dist-kabi-dw-check - Run DWARF-based kABI comparison of current binaries' + @echo ' with the base dataset.' + @echo ' dist-kabi-update - Update kabi stablelist checksums.' + @echo ' dist-symtype-diff - Diff kabi stablelist and current kernel.' + + @echo '' + @echo 'Configuration targets:' + @echo ' dist-configs - Creates config files for RHEL $(RHEL_MAJOR) architectures,' + @echo ' cleans them by running make nonint_oldconfig, and copies' + @echo ' them to ciq/configs/ directory. This is the target to use' + @echo ' for a config! Copy the config file you want from the' + @echo ' ciq/configs/ directory to .config' + @echo ' dist-configs-arch - Same as dist-configs but for single architecture only.' + + @echo '' + @echo 'Misc targets:' + @echo ' dist-get-buildreqs - returns list of packages listed as build requirements' + @echo ' for this kernel' + @echo ' dist-get-latest - Returns the latest "known good" kernel from brew. This' + @echo ' should not be confused with the latest top-of-tree' + @echo ' development tag.' + @echo ' dist-get-tag - Returns the latest release tag' + @echo ' dist-os-version - Displays the current Red Hat Enterprise Linux versioni' + @echo ' target used by the current branch/tree.' + @echo ' dist-self-test - Runs self-tests from the ciq/self-test directory' + @echo ' dist-check-licenses - Runs license selftest checking SPDX-License-Identifier:' + @echo ' tags in all source files against `License:` field in the' + @echo ' specfile template.' + @echo '' + +export diff --git a/ciq/Makefile.cross b/ciq/Makefile.cross new file mode 100644 index 0000000000000..988398f0071b8 --- /dev/null +++ b/ciq/Makefile.cross @@ -0,0 +1,95 @@ +CROSS_RPMFLAGS = $(RPMBUILD) --define "_sourcedir $(SOURCES)" --define "_builddir $(RPM)/BUILD" --define "_srcrpmdir $(RPM)/SRPMS" --define "_rpmdir $(RPM)/RPMS" --define "_specdir $(RPM)/SPECS" --define "dist $(DIST)" + +ifndef CROSS_BASEONLY +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +else +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf --without debug --without debuginfo --without vdso_install +endif + +CROSS_PACKAGE_LIST = \ + cross-binutils-common cross-gcc-common diffstat \ + glibc-static ncurses-devel numactl-devel rng-tools + +# aarch64 packages +CROSS_PACKAGE_LIST += binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu +# ppc64le packages +CROSS_PACKAGE_LIST += binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu +# s390x packages +CROSS_PACKAGE_LIST += binutils-s390x-linux-gnu gcc-s390x-linux-gnu +# riscv64 packages +CROSS_PACKAGE_LIST += binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu + +dist-cross-setup: + @if [ "$(ARCHCONFIG)" != "X86_64" ]; then \ + echo "$(ARCHCONFIG) ERROR: cross compile only enabled for x86_64"; \ + exit 1; \ + fi; + @ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) \ + $(CIQ)/scripts/cross-compile/download_cross.sh $(CROSS_PACKAGE_LIST) + @echo "INFO: Adding $(CROSS_DISABLED_SUBPACKAGES) to cross compile targets. These subpackages cannot be built with the existing cross toolchains." + +dist-cross-aarch64-rpms: dist-cross-setup dist-sources + $(CIQ)/scripts/cross-compile/x86_rngd.sh + $(CROSS_RPMFLAGS) --target aarch64 --with cross $(CROSS_DISABLED_SUBPACKAGES) -ba $(RPM)/SOURCES/$(SPECFILE) + $(CIQ)/scripts/cross-compile/generate-cross-report.sh "aarch64" + +dist-cross-ppc64le-rpms: dist-cross-setup dist-sources + $(CIQ)/scripts/cross-compile/x86_rngd.sh + $(CROSS_RPMFLAGS) --target ppc64le --with cross $(CROSS_DISABLED_SUBPACKAGES) -ba $(RPM)/SOURCES/$(SPECFILE) + $(CIQ)/scripts/cross-compile/generate-cross-report.sh "ppc64" + +dist-cross-s390x-rpms: dist-cross-setup dist-sources + $(CIQ)/scripts/cross-compile/x86_rngd.sh + $(CROSS_RPMFLAGS) --target s390x --with cross $(CROSS_DISABLED_SUBPACKAGES) -ba $(RPM)/SOURCES/$(SPECFILE) + $(CIQ)/scripts/cross-compile/generate-cross-report.sh "s390x" + +dist-cross-riscv64-rpms: dist-cross-setup dist-sources + @if [ "$(DISTRO)" = "fedora" ]; then \ + $(CIQ)/scripts/cross-compile/x86_rngd.sh; \ + $(CROSS_RPMFLAGS) --target riscv64 --with cross $(CROSS_DISABLED_SUBPACKAGES) -ba $(RPM)/SOURCES/$(SPECFILE); \ + $(CIQ)/scripts/cross-compile/generate-cross-report.sh "riscv64" ; \ + else \ + echo "INFO: RISC-V builds are only supported on Fedora."; \ + fi; + +dist-cross-all-rpms: dist-cross-setup dist-sources + $(CIQ)/scripts/cross-compile/x86_rngd.sh + $(CROSS_RPMFLAGS) --target aarch64 --with cross $(CROSS_DISABLED_SUBPACKAGES) -ba $(RPM)/SOURCES/$(SPECFILE) + $(CROSS_RPMFLAGS) --target ppc64le --with cross $(CROSS_DISABLED_SUBPACKAGES) -ba $(RPM)/SOURCES/$(SPECFILE) + $(CROSS_RPMFLAGS) --target s390x --with cross $(CROSS_DISABLED_SUBPACKAGES) -ba $(RPM)/SOURCES/$(SPECFILE) + @if [ "$(DISTRO)" = "fedora" ]; then \ + $(CROSS_RPMFLAGS) --target riscv64 --with cross $(CROSS_DISABLED_SUBPACKAGES) -ba $(RPM)/SOURCES/$(SPECFILE); \ + else \ + echo "INFO: RISC-V builds are only supported on Fedora."; \ + fi; + $(CROSS_RPMFLAGS) -ba $(RPM)/SOURCES/$(SPECFILE) + $(CIQ)/scripts/cross-compile/generate-cross-report.sh "aarch64 ppc64 s390x x86_64 riscv64" + +dist-cross-aarch64-build: dist-cross-setup dist-sources + $(CIQ)/scripts/cross-compile/x86_rngd.sh + $(CROSS_RPMFLAGS) --target aarch64 --with cross --without debuginfo $(CROSS_DISABLED_SUBPACKAGES) -bc $(RPM)/SOURCES/$(SPECFILE) + $(CIQ)/scripts/cross-compile/generate-cross-report.sh "aarch64" + +dist-cross-ppc64le-build: dist-cross-setup dist-sources + $(CIQ)/scripts/cross-compile/x86_rngd.sh + $(CROSS_RPMFLAGS) --target ppc64le --with cross --without debuginfo $(CROSS_DISABLED_SUBPACKAGES) -bc $(RPM)/SOURCES/$(SPECFILE) + $(CIQ)/scripts/cross-compile/generate-cross-report.sh "ppc64le" + +dist-cross-s390x-build: dist-cross-setup dist-sources + $(CIQ)/scripts/cross-compile/x86_rngd.sh + $(CROSS_RPMFLAGS) --target s390x --with cross --without debuginfo $(CROSS_DISABLED_SUBPACKAGES) -bc $(RPM)/SOURCES/$(SPECFILE) + $(CIQ)/scripts/cross-compile/generate-cross-report.sh "s390x" + +dist-cross-riscv64-build: dist-cross-setup dist-sources + $(CIQ)/scripts/cross-compile/x86_rngd.sh + $(CROSS_RPMFLAGS) --target riscv64 --with cross --without debuginfo $(CROSS_DISABLED_SUBPACKAGES) -bc $(RPM)/SOURCES/$(SPECFILE) + $(CIQ)/scripts/cross-compile/generate-cross-report.sh "riscv64" + +dist-cross-all-builds: dist-cross-setup dist-sources + $(CIQ)/scripts/cross-compile/x86_rngd.sh + $(CROSS_RPMFLAGS) --target aarch64 --with cross --without debuginfo $(CROSS_DISABLED_SUBPACKAGES) -bc $(RPM)/SOURCES/$(SPECFILE) + $(CROSS_RPMFLAGS) --target ppc64le --with cross --without debuginfo $(CROSS_DISABLED_SUBPACKAGES) -bc $(RPM)/SOURCES/$(SPECFILE) + $(CROSS_RPMFLAGS) --target s390x --with cross --without debuginfo $(CROSS_DISABLED_SUBPACKAGES) -bc $(RPM)/SOURCES/$(SPECFILE) + $(CROSS_RPMFLAGS) --target riscv64 --with cross --without debuginfo $(CROSS_DISABLED_SUBPACKAGES) -bc $(RPM)/SOURCES/$(SPECFILE) + $(CROSS_RPMFLAGS) --without debuginfo -bc $(RPM)/SOURCES/$(SPECFILE) + $(CIQ)/scripts/cross-compile/generate-cross-report.sh "aarch64 ppc64le s390x x86_64 riscv64" diff --git a/ciq/Makefile.variables b/ciq/Makefile.variables new file mode 100644 index 0000000000000..0d298bcb321eb --- /dev/null +++ b/ciq/Makefile.variables @@ -0,0 +1,161 @@ +# Only the variables listed in this file and ../Makefile.rhelver are available +# for command line modification. There is no guarantee on the stability of +# variables found in this file, or any other ciq/ Makefile. +# +# Merge requests to include additional variables in _this_ file must include +# details of why the variable must be exported. + +# Variables below should be changed as needed for building on a different +# branch, or with a different upstream branch. This should be the only +# file that needs to be changed now, and is included in ciq/Makefile +# and ciq/Makefile.common + +# This appends 5 characters of the top-of-tree commit ID to the BUILD variable, +# which is then reflected in the package NVR. +ADD_COMMITID_TO_VERSION ?= + +# This sets the incremental build version value in the rpm NVR. If unset, this +# defaults to RHEL_RELEASE from Makefile.rhelver +BUILD ?= + +# This sets the koji|brew build flags for the dist[g]-koji|brew targets. These +# options are passed directly to the brew and koji commands in those targets. +BUILD_FLAGS ?= + +# This sets the koji/brew configuration profile variable. +BUILD_PROFILE ?= + +# This is the brew/koji scratch build target. A list of targets can be found +# by executing the 'brew list-targets' or 'koji list-targets' command. The +# default values can be found in ciq/Makefile and are dependent on the +# target OS. The target OS can be changed by setting the DIST or DISTRO +# variables. +BUILD_TARGET ?= + +# BUMP_RELEASE determines whether the pkgrelease is bumped when you call +# 'make dist-release'. It should be set to "yes" if you expect to do +# multiple updates and builds without bumping the base version, and no +# when you expect every build to use a different base kernel version. +BUMP_RELEASE:=no + +# This is the dist release suffix used in the package release, eg. .fc34, +# .el8 etc. In a different branch this may be set to a fixed value. +DIST ?= + +# This is a human readable distribution variable that is used to determine the +# OS version (fedora, centos, or rhel). +DISTRO ?= + +# This overrides CONFIG_WERROR to 'y' for all arches. RHEL requires this variable to be set. +ENABLE_WERROR ?= + +# This is the executable for 'git' commands. It is used by the ciq/self-test +# tests to provide testing information on git hashes (see ciq/self-test/egit.sh) +GIT ?= git + +# This is the referenced HEAD commit for git commands and can be used to change +# the "top of tree" commit ID. This is useful in cases where users want to +# build against an older commit but do not want to check out the tree. +HEAD ?= HEAD + +# INCLUDE_*_FILES determines whether or not the specific OS flavor files will +# be included as part of the source RPM. Downstream projects, such as +# centos-stream or RHEL, can disable file inclusion by setting these values +# to '0'. +INCLUDE_FEDORA_FILES:=0 +INCLUDE_RHEL_FILES:=0 +INCLUDE_RT_FILES:=0 +INCLUDE_AUTOMOTIVE_FILES:=0 +INCLUDE_ROCKY_FILES:=1 + +# This variable is the location of the KABI cross compilers +KABI_CROSS_COMPILE_PREFIX ?= /usr/bin/ + +# This variable is the suffix of the KABI cross compilers +KABI_CROSS_COMPILE_SUFFIX ?= -linux-gnu- + +# This variable is a list of the arches that are protected under RHEL's KABI policy +KABI_SUPPORTED_ARCHS ?= + +# This disables the CONFIG error checking in ciq/configs/process_configs.sh. +NO_CONFIGCHECKS ?= + +# In case PATCHLIST_URL is not set to "none", Patchlist.changelog is added to +# the kernel src.rpm, which will contain shas and commits not upstream. The +# value of PATCHLIST_URL in this case should point to the git repository where +# the commits are located, and will be added as a prefix to the shas listed. +PATCHLIST_URL ?= https://gitlab.com/cki-project/kernel-ark/-/commit + +# RELEASED_KERNEL swaps between the pre-release secureboot keys and +# the release one, for vmlinux signing. It also controls whether Fedora +# kernels are built as debug kernels or release kernels with a separate +# kernel-debug build. +# Set RELEASED_KERNEL to 1 when the upstream source tarball contains a +# kernel release. (This includes prepatch or "rc" releases.) +# Set RELEASED_KERNEL to 0 when the upstream source tarball contains an +# unreleased kernel development snapshot. +RELEASED_KERNEL:=1 + +# This variable is used by the ciq/self-tests. It should not be +# considered stable and my be changed or removed without warning. +RHDISTDATADIR ?= + +# This variable is the local dist-git clone, and is used when dist-git is updated. +RHDISTGIT_CACHE ?= + +# This variable is the directory in which the dist-git repo is cloned into. This +# can be changed to a different directory for performance reasons. +RHDISTGIT_TMP ?= /tmp + +# This sets the base commit ID for distg-* targets, and must be set on the +# commandline with distg-* targets. +RHGITCOMMIT ?= $(HEAD) + +# This overrides the default git repository for the distg-* targets. See +# the 'make dist-full-help' entry for distg-brew for information on setting +# rhg.url. +RHGITURL ?= $(shell $(GIT) config rhg.url || $(GIT) config remote.origin.url) + +# This sets the number of threads that scripts called by Makefile targets can +# use. By default, this variable is set by the makefile '-j' parameter. +RHJOBS ?= + +# This variable is only used to create self-test data. It should not be +# considered stable and may be changed or removed without warning. +RHSELFTESTDATA ?= + +# Use Gemini project versioning - $PACKAGE_NAME-A.B-C.$disttag +# A - major that introduced this kernel +# B - rebase number +# C - build number (X or X.Y.Z) +SPECGEMINI ?= 0 + +# If set to 1, this variable will cause the kernel package build to fail if +# the selftests fail to build. +SPECSELFTESTS_MUST_BUILD ?= 0 + +# This can be used to change the filename of the specfile. For example, it can +# be set to "kernel" for kernel.spec or "kernel-rt" for kernel-rt.spec. This +# is useful for other projects with different specfile names. +SPECPACKAGE_NAME ?= kernel + +# The branch used as upstream. This is what the upstream tarball is it +# should be tracked in a local branch. This would be "master" for the +# Linus master branch or linux-5.x.y for a stable branch. It can also be +# any other upstream you have added as a branch locally. +UPSTREAM_BRANCH ?= linux-6.12.y + +# If VERSION_ON_UPSTREAM is set, the versioning of the rpm package is based +# on a branch tracking upstream. This allows for generating rpms +# based on untagged releases. +ifeq ($(SPECGEMINI),0) + VERSION_ON_UPSTREAM ?= 1 +else + VERSION_ON_UPSTREAM ?= 0 +endif + +# Builds may include a s390x+zfcpdump arch build, which results in the build +# failing because the UTS_RELEASE field exceeded 64 chars. This variable can +# be set to 1 to decrease the kernel UTS_RELEASE and SPECBUILD by 11 characters +# (YYYYMMDDgit). +UPSTREAMBUILD_GIT_ONLY ?= diff --git a/ciq/README.rst b/ciq/README.rst new file mode 100644 index 0000000000000..5de37e5bbbb15 --- /dev/null +++ b/ciq/README.rst @@ -0,0 +1,25 @@ +=================== +The Kernel dist-git +=================== + +The kernel is maintained in a `source tree`_ rather than directly in dist-git. +The specfile is maintained as a `template`_ in the source tree along with a set +of build scripts to generate configurations, (S)RPMs, and to populate the +dist-git repository. + +The `documentation`_ for the source tree covers how to contribute and maintain +the tree. + +If you're looking for the downstream patch set it's available in the source +tree with "git log master..ark-patches" or +`online`_. + +Each release in dist-git is tagged in the source repository so you can easily +check out the source tree for a build. The tags are in the format +name-version-release, but note release doesn't contain the dist tag since the +source can be built in different build roots (Fedora, CentOS, etc.) + +.. _source tree: https://gitlab.com/cki-project/kernel-ark.git +.. _template: https://gitlab.com/cki-project/kernel-ark/-/blob/os-build/redhat/kernel.spec.template +.. _documentation: https://gitlab.com/cki-project/kernel-ark/-/wikis/home +.. _online: https://gitlab.com/cki-project/kernel-ark/-/commits/ark-patches diff --git a/ciq/ciq_secureboot_files/ciq_sb_ca.der b/ciq/ciq_secureboot_files/ciq_sb_ca.der new file mode 100644 index 0000000000000..2e5dd551d6e3b Binary files /dev/null and b/ciq/ciq_secureboot_files/ciq_sb_ca.der differ diff --git a/ciq/ciq_secureboot_files/ciq_sb_kernel.crt b/ciq/ciq_secureboot_files/ciq_sb_kernel.crt new file mode 100644 index 0000000000000..e723e422427e9 --- /dev/null +++ b/ciq/ciq_secureboot_files/ciq_sb_kernel.crt @@ -0,0 +1,35 @@ +-----BEGIN CERTIFICATE----- +MIIGKTCCBBGgAwIBAgIQBuHLnP2DI5tJ8WThx9fEQDANBgkqhkiG9w0BAQwFADBo +MQswCQYDVQQGEwJVUzEPMA0GA1UECBMGTmV2YWRhMQ0wCwYDVQQHEwRSZW5vMRYw +FAYDVQQKEw1DdHJsIElRLCBJbmMuMSEwHwYDVQQDExhDdHJsIElRLCBJbmMuIElz +c3VpbmcgQ0EwHhcNMjMwODIxMjAxNzEyWhcNMjgwODE5MjAxNzEyWjBMMQswCQYD +VQQGEwJVUzEPMA0GA1UECBMGTmV2YWRhMRUwEwYDVQQKEwxDVFJMIElRLCBJTkMx +FTATBgNVBAMTDENUUkwgSVEsIElOQzCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCC +AYoCggGBAKi3bPwtjk01ULYuyZYjnooCshJv+e0L+4i01zu7dXYf/Z9D1d+DoD30 +o8ZgOJ9Xn6kl/0sKNKxETbwGOt1j3uZcJ1okcCMZEUTtBAfbbZ/R2aPjZRGiZVkI +shOKINMEWMumbJAyUJfBLt8DlojGX/gw1/53eTgZ8mcuPaRvDdrwm9u4OTQVEAN0 +JlTft9JFzRiqkTAdcaIjLtKJ9zmTTX5KAre61rNtLs8ihWUR+yY/RYaVpY/rZy6P +dPfkkbo1nf6Ck5F4e+NY/hEudeAjjNC0dCTOWB+2CKTAqJyJQXTuyGSRubZre6Dd +aYNQHQc1yegHBqk0z9XMXspSLpMxcwEJqe8KoX6zvO39YK8yJoU1z0vAI7Y4Ls7e +ILoykYaMCLiZjqKT01nOPIz7ml7f9uXfogPMmyu29j6xV2pvJ92/8fLa3dX+RN1c +muS3f/Yyed6Qj4GHPUxnlwY5yjDtzNs95zOdlnuStjRMFWBi1Kn9wfux1O+LCf6c +P0HlDQ32YQIDAQABo4IBaTCCAWUwHwYDVR0jBBgwFoAUkyKuYIju74ifnwWqc0Kd +LwiHqc0wDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwEwYDVR0lBAwwCgYI +KwYBBQUHAwMwSQYDVR0fBEIwQDA+oDygOoY4aHR0cDovL2NybC5lbnRlcnByaXNl +LnNlY3RpZ28uY29tL0N0cmxJUUluY0lzc3VpbmdDQS5jcmwwgYQGCCsGAQUFBwEB +BHgwdjBEBggrBgEFBQcwAoY4aHR0cDovL2NydC5lbnRlcnByaXNlLnNlY3RpZ28u +Y29tL0N0cmxJUUluY0lzc3VpbmdDQS5jcnQwLgYIKwYBBQUHMAGGImh0dHA6Ly9v +Y3NwLmVudGVycHJpc2Uuc2VjdGlnby5jb20wHgYDVR0RBBcwFYETaXRfc2VjdXJp +dHlAY2lxLmNvbTAdBgNVHQ4EFgQUgOMDv07QE1FaAYKmTq+zh/BYqi4wDQYJKoZI +hvcNAQEMBQADggIBADL5fpy9bWjc2E+VEj8+Rj93qS6/duMxbA3hhOX9bbG8jCOR +Hy9Pi6tDzi4zVkix/evmk2vdasEbeIBJZ4lNkko5CHkRut85JGjuPTkmb9TSG0Fw +5GgfhVcDP70Jx7hH/9wFcdZABRW5yTRQudKCLOpC5IySMDwNNJWP1s4iex+i5YDD +6rhAP75w8alQMyUy0gScLkpbk7Vdr3Bd9Dkd2XkRht5PzZFLN+J+RtfqbKPlAYi5 +6ccrHVilSoJslG4+Kz2TPyEQ02atsuvgQMKg3eNnFxnWV5sijR2GILM5DKlmKUf5 +WGhaH4Ky/SNGqEBf6gXBIkHMGivHaGygfJK2Lq+X5L2UOe4nTEBDqo5Jnd1b1rBa +odASb91BtwPE7hzsBF9iPIaDevxlS4WW7WMJCCnAwg4zSnBe48NtqyPDrZfRQwbY +V4DdrP77ZnG76D4ih6E6EHP9V93T2noSAnz1pvNt/z07MGWTYqUEnstwttHhTgDo +i6n6d1U5c3uHQuS0QsvLJoRiVhlna1b1RQXJQkpMm7eXYyXD2A72qffrQ5YK/+yB +WLHvPk+wawC0AVtnUHElASb6NSCBNO5Xz7vA4TfUjvS2yOgAbfAzA2uhc8yKW2o8 +lodjo+qZvFfW9SZ0RPwfCiCzpbkfMSdg/+DiD/OvS80OHvG1wG2unGJleGe2 +-----END CERTIFICATE----- diff --git a/ciq/ciq_secureboot_files/ciq_sb_kernel_aarch64.crt b/ciq/ciq_secureboot_files/ciq_sb_kernel_aarch64.crt new file mode 100644 index 0000000000000..ef6f44c4c52a4 --- /dev/null +++ b/ciq/ciq_secureboot_files/ciq_sb_kernel_aarch64.crt @@ -0,0 +1,36 @@ +-----BEGIN CERTIFICATE----- +MIIGPDCCBCSgAwIBAgIQEE/9vIoQ8YsKely2cBs0oTANBgkqhkiG9w0BAQwFADBo +MQswCQYDVQQGEwJVUzEPMA0GA1UECBMGTmV2YWRhMQ0wCwYDVQQHEwRSZW5vMRYw +FAYDVQQKEw1DdHJsIElRLCBJbmMuMSEwHwYDVQQDExhDdHJsIElRLCBJbmMuIElz +c3VpbmcgQ0EwHhcNMjQxMTIwMDIxMzUyWhcNMzQxMTE4MDIxMzUyWjBfMQswCQYD +VQQGEwJVUzEPMA0GA1UECBMGTmV2YWRhMRUwEwYDVQQKEwxDVFJMIElRLCBJTkMx +KDAmBgNVBAMTH0NJUSBLZXJuZWwgU2VjdXJlQm9vdCAtIGFhcmNoNjQwggGiMA0G +CSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQDFWa+XIhW3pcq/C2rfkdQbBknUVagW +OtO0Ei2QfmP5OXNE6nyIZObeq8Lqz/TK2UHcYMW+n1Jzne8wFWxum8IwDUc9zoeI +5G7kY/euTo1W1G9Q64O4nLHuUIe6Z0gfqfJzvdWD9SI+xojRirMtlXh6BFd4WdCf +FwNtquKoqbsoeheG0KQdwlRLHglSDBS36UscZE5WDzu+6fMXQug+BovYfgXcVNLg +80tjYFaYEKvaBzyqWW+Ife0tE0WTMYCqrrfA0O4+wUDAQUF3F27zcKcwHLMlm/eN +7Y20gzj+t2MkegZOWOcUSqgp5FCJinmi1Xdsv9r3uIznSYcgGYoCxj4tDSc8TR6R +N5Cb7OwsnghBnNxTqzVM0ufBZnRBqvyeOCGhGqaSr0UkODVlKq8o7b7D5ww4sGMZ +6piyJg1a1QhNY62g8NKKu+PhCRjAyBMBNdyvQoiBXw+3V8W3+WCfiIc4A+Z7zduJ +kYj+LpVQ7WAUCnIkE7cOsm8YyJVKm4jio00CAwEAAaOCAWkwggFlMB8GA1UdIwQY +MBaAFJMirmCI7u+In58FqnNCnS8Ih6nNMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMB +Af8EAjAAMBMGA1UdJQQMMAoGCCsGAQUFBwMDMEkGA1UdHwRCMEAwPqA8oDqGOGh0 +dHA6Ly9jcmwuZW50ZXJwcmlzZS5zZWN0aWdvLmNvbS9DdHJsSVFJbmNJc3N1aW5n +Q0EuY3JsMIGEBggrBgEFBQcBAQR4MHYwRAYIKwYBBQUHMAKGOGh0dHA6Ly9jcnQu +ZW50ZXJwcmlzZS5zZWN0aWdvLmNvbS9DdHJsSVFJbmNJc3N1aW5nQ0EuY3J0MC4G +CCsGAQUFBzABhiJodHRwOi8vb2NzcC5lbnRlcnByaXNlLnNlY3RpZ28uY29tMB4G +A1UdEQQXMBWBE2l0X3NlY3VyaXR5QGNpcS5jb20wHQYDVR0OBBYEFARF4PsHwNoP +7cVvzUT+wDIryZC2MA0GCSqGSIb3DQEBDAUAA4ICAQBcFulRNYN+zGSFVZnC15Lm +2ZtZKdbi35A6AcK7Pfwc2bhYOBKPDSJKUv5w+Sf4NT5OhIeq0jTkaM58QOj3qbrz +hEVz59Oj11fXN2kzQiRa3FTbHrue8SxGvv2W//ihAyQ1dmN8EX2RovZyoqmGMefo +3WIeZXs55mTltED73q1bYk7pG8ACjcuBaZGGrd7XKKht9jo+eSM46Z+OZN/NEAy6 +r5Y3T0DcG5nmqZf0abYwa9UxMdyLFF0eI701/wONZXQmjVLr7OS9s+jDd6p8Dfia +0O54/o6AI37y+fu9fbhw/s5h1v55uHPphErpGiUOULMdNtuBuRNITYoI9dEYijQ9 +QLQxCZLl6QqTX2zTWhnABOS56/Ty5wk94Nf3erZkyUrNT67s0Bd77GLzpRocpAz9 +Zj8cLXVeVGqqmylhI0ZICyIfDQnVwgiEx0tBhk0hAwkAZ5guYuzCAbkuMX8StSZR +AfswiQtMbKZXm9X5TRnGWkgN6RxQkkzJPI7DRihS3uRBnGhVLDLdX5VXtnCLMemb +LusHeUtwapiAbizGklMshJ61z8l20aPPl1fT5X/QwZ4iFt3TOjC0awHMkygrpNa2 +i0hVYQmx5L2D8ZrQyqP9K6g7TF0lgtPM9IrpRXn2b7ujZ6vspTo4X7lasBKnYRPZ +Go5p1YwxzfogGYAAWkfSLA== +-----END CERTIFICATE----- diff --git a/ciq/ciq_secureboot_files/ciq_sb_kernel_driver.der b/ciq/ciq_secureboot_files/ciq_sb_kernel_driver.der new file mode 100644 index 0000000000000..6ae0124e008d4 Binary files /dev/null and b/ciq/ciq_secureboot_files/ciq_sb_kernel_driver.der differ diff --git a/ciq/ciq_secureboot_files/ciq_sb_kernel_driver_aarch64.der b/ciq/ciq_secureboot_files/ciq_sb_kernel_driver_aarch64.der new file mode 100644 index 0000000000000..914491eeacab8 Binary files /dev/null and b/ciq/ciq_secureboot_files/ciq_sb_kernel_driver_aarch64.der differ diff --git a/ciq/ciq_secureboot_files/ciq_sb_kernel_kpatch.der b/ciq/ciq_secureboot_files/ciq_sb_kernel_kpatch.der new file mode 100644 index 0000000000000..6295f401fb3e5 Binary files /dev/null and b/ciq/ciq_secureboot_files/ciq_sb_kernel_kpatch.der differ diff --git a/ciq/ciq_secureboot_files/ciq_sb_kernel_kpatch_aarch64.der b/ciq/ciq_secureboot_files/ciq_sb_kernel_kpatch_aarch64.der new file mode 100644 index 0000000000000..36760c6d5ccb8 Binary files /dev/null and b/ciq/ciq_secureboot_files/ciq_sb_kernel_kpatch_aarch64.der differ diff --git a/ciq/ciq_secureboot_files/ciq_sb_uki.crt b/ciq/ciq_secureboot_files/ciq_sb_uki.crt new file mode 100644 index 0000000000000..1308928dce88f --- /dev/null +++ b/ciq/ciq_secureboot_files/ciq_sb_uki.crt @@ -0,0 +1,36 @@ +-----BEGIN CERTIFICATE----- +MIIGLzCCBBegAwIBAgIQK+ld4YweKUSD+K6ct0JGOjANBgkqhkiG9w0BAQwFADBo +MQswCQYDVQQGEwJVUzEPMA0GA1UECBMGTmV2YWRhMQ0wCwYDVQQHEwRSZW5vMRYw +FAYDVQQKEw1DdHJsIElRLCBJbmMuMSEwHwYDVQQDExhDdHJsIElRLCBJbmMuIElz +c3VpbmcgQ0EwHhcNMjUwMzEyMTcxMTM5WhcNMzUwMzEwMTcxMTM5WjBSMQswCQYD +VQQGEwJVUzEPMA0GA1UECBMGTmV2YWRhMRUwEwYDVQQKEwxDVFJMIElRLCBJTkMx +GzAZBgNVBAMTEkNJUSBVS0kgU2VjdXJlQm9vdDCCAaIwDQYJKoZIhvcNAQEBBQAD +ggGPADCCAYoCggGBAOtBsf2cd/Kc+GRfSy4yTm0+LDOJb1v2xZL0y242yxyf8uRF +Wa6BJ582LESXbMnXwnEzgmXKFYcOi/0hQ6vUUU4+Ag7dV1ndcYFfMX0wQlflm7ag +cFxPn/bLcW9OCv+DNMLL/wYoj0Reyu4Hfu2al82B4SSN0beC3e9NWrw81I+mLLoj +pM8hKVFt0yxMa+5gcR4YI3SMIcu7JUTZ5J/9C5SH59Rvqu/S/8V8o7B9mJnQ1qVC +5ryznUvY1Q8SAGgkKBO4ENmM3G/0my4UrzybtfAOlKRvR9YB94OfTgkW1Vdi7twy +x+wQMljfVGUh2NWbMnWBAE++3qe4NTDwlu6wRrcXMepsO26dg3s5zT+se8lb6J/K +AJNTnJZcMR7aO2K5EeTNAUCLC4/J4G+a6q8/fBNnzej8EaBYE3FWg9FNjb82wvG7 +BFMfbi6hZ1bSdHILt3z0dKkoVgEAAKdiPtZ2ywIOIuaFgA5ITP+R3n/NpiV7lqsH +zgYpie8H9ahIjTSwbwIDAQABo4IBaTCCAWUwHwYDVR0jBBgwFoAUkyKuYIju74if +nwWqc0KdLwiHqc0wDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwEwYDVR0l +BAwwCgYIKwYBBQUHAwMwSQYDVR0fBEIwQDA+oDygOoY4aHR0cDovL2NybC5lbnRl +cnByaXNlLnNlY3RpZ28uY29tL0N0cmxJUUluY0lzc3VpbmdDQS5jcmwwgYQGCCsG +AQUFBwEBBHgwdjBEBggrBgEFBQcwAoY4aHR0cDovL2NydC5lbnRlcnByaXNlLnNl +Y3RpZ28uY29tL0N0cmxJUUluY0lzc3VpbmdDQS5jcnQwLgYIKwYBBQUHMAGGImh0 +dHA6Ly9vY3NwLmVudGVycHJpc2Uuc2VjdGlnby5jb20wHgYDVR0RBBcwFYETaXRf +c2VjdXJpdHlAY2lxLmNvbTAdBgNVHQ4EFgQUuCH7X0+hiQLhi1Ok9dJsKwZgitMw +DQYJKoZIhvcNAQEMBQADggIBAI+taTOjPIMfwnVeUruMHQOnYhqUUXQehqe7eTlP +UJDs60fOAeVY4mbgjMHBlnzuQPd4HCrGT4uSR3q014TpSGCGzaadM8kzyP+cjSrW +uOFeWUKlMAWU8POIW0io91EBayLR0vGfhBsnAaB/9SKcurYgffeN42khws6jXlPB +ve+hy7QUD095CEcB+Q1LZJ0sdgUOFROaKjkyIH7Qjj+of7CC3rvHUyKSKB5LwyDT +si05g2VVH6vkM+qUsXYmPsDRAJJiaxH40OeXBu0WsJsC1wqMet6qeF2E3DdF2KVK +NtxWi6h7AxgC8lfXwrYIgKmuguxNYQdLIBCqMqka/hrGGygb7hM8EjGwfodL6yJo +pu8IVzZztNXCQzIQcXUAoRsCzpVwN5rrZeevrAaP+ZIDwSTddNMl9H0mb9TzHw/X +S9usl4jCk4lsoOGs/JqyxMsegAA/cMCu8Z9Q6dPYVJav5RWWVoigvzgOrLUpD6Tq +WvSUn73AG3Jg3CcbDmuWrU23pe7qGmaXvjS2G+VNd+eyiwTzzq9xwZ5LVInp2u+d +A7qrGMktr0x8B2WiW8tzkzhhjoK9tlIJma4U+2txLGQ2ZHg+ump2R6BVPYGvpCi5 +g4WivXBAj+gCR38USq9D/hZDlBJb2sC2icoCGxEm9j9/YHDHXy23j+/Zbra8eUsc +weey +-----END CERTIFICATE----- diff --git a/ciq/ciq_secureboot_files/ciq_sb_uki_aarch64.crt b/ciq/ciq_secureboot_files/ciq_sb_uki_aarch64.crt new file mode 100644 index 0000000000000..29fbfc1da969c --- /dev/null +++ b/ciq/ciq_secureboot_files/ciq_sb_uki_aarch64.crt @@ -0,0 +1,36 @@ +-----BEGIN CERTIFICATE----- +MIIGOTCCBCGgAwIBAgIQQpB12H0ITZVQxQbXRJdF3TANBgkqhkiG9w0BAQwFADBo +MQswCQYDVQQGEwJVUzEPMA0GA1UECBMGTmV2YWRhMQ0wCwYDVQQHEwRSZW5vMRYw +FAYDVQQKEw1DdHJsIElRLCBJbmMuMSEwHwYDVQQDExhDdHJsIElRLCBJbmMuIElz +c3VpbmcgQ0EwHhcNMjUwMzEyMjEzMDM3WhcNMzUwMzEwMjEzMDM3WjBcMQswCQYD +VQQGEwJVUzEPMA0GA1UECBMGTmV2YWRhMRUwEwYDVQQKEwxDVFJMIElRLCBJTkMx +JTAjBgNVBAMTHENJUSBVS0kgU2VjdXJlQm9vdCAtIGFhcmNoNjQwggGiMA0GCSqG +SIb3DQEBAQUAA4IBjwAwggGKAoIBgQCkHNxK77Ho2rXAMMX69pGUnspomCGqhtIk +1NJqQMJRG7/UYqDWfDPjUn4BcY5RPPML9INeGnXgcabokeAD6qia5XuJbbCWaAdp +nnkh+6WrH7hZ5O2QdYZ4Q14273DSmVjPlSmtW1GOHLcQt0S1zlBUguM/4tXp4vhp +FXiH0S8rUImJSvUmaCEi5xPy1zfYhG3sqykddRQddTbpURwO/6f+QhQKv4+DosDL +asFXKrMN1tKf6c/EBsktA9gSf8VfkgRNOqGMDlqnwEl7w/d0l4xdpEUgJkvTHhYS +WXZyM+Oo6kEDdioKmZmX4jIm9ZNQyp9YS1sZWkM9jRIBEUhvOfSa521rPFa27kFP +O0s0lX3bv601CmBQxoRln9fgZxdPtpjeKzfgr+N5Gcx++xhnesJMIKOMfxvLv33v +hG+cqywSJcA875uWHz5YFvWg2gg7Z2oWg9pG2fUBfV2gBOn6yRZsGUuohPTk6Aom +IBCi0ukvf+WtIcvovFbanw3BwfPO0JsCAwEAAaOCAWkwggFlMB8GA1UdIwQYMBaA +FJMirmCI7u+In58FqnNCnS8Ih6nNMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E +AjAAMBMGA1UdJQQMMAoGCCsGAQUFBwMDMEkGA1UdHwRCMEAwPqA8oDqGOGh0dHA6 +Ly9jcmwuZW50ZXJwcmlzZS5zZWN0aWdvLmNvbS9DdHJsSVFJbmNJc3N1aW5nQ0Eu +Y3JsMIGEBggrBgEFBQcBAQR4MHYwRAYIKwYBBQUHMAKGOGh0dHA6Ly9jcnQuZW50 +ZXJwcmlzZS5zZWN0aWdvLmNvbS9DdHJsSVFJbmNJc3N1aW5nQ0EuY3J0MC4GCCsG +AQUFBzABhiJodHRwOi8vb2NzcC5lbnRlcnByaXNlLnNlY3RpZ28uY29tMB4GA1Ud +EQQXMBWBE2l0X3NlY3VyaXR5QGNpcS5jb20wHQYDVR0OBBYEFJ3iA+Sj/RHagSq3 +YUAleOAA4J2PMA0GCSqGSIb3DQEBDAUAA4ICAQB3zYLgLtVMwqLtX6sTqhzrLDyL +p0+TkR0Nm8d35A3Ai2P6rR1/WSJdaVHUBCWMFUvMPSAMoQWDXiHko3Lfk3a9HXtD +i5nCzTOmfVUMbdf0JOY/Kpb6itolAiE+5OsvZ1KQYkfqCSWbM9xQSQxctkxkTBLV +3RzZ2Z1ne2PkfRgVUjbuMK058lCK7SkCQFkxD5P8s8eoovnl93pmiY2EZeeFVWzL +8e79lxav6NxvW5yVA+RDgSBwcc2I8lFxuFK3TLMvQBTo/nUywFU9dNh7UZ/fTCSF +ZsI9yo/WCoXdx5PwBwe9WOJ10hXJReo2SZuS9TM7xXxNWOE5bYB4Xj90iTBU8+gv +r/sQ0U+z5Thy/VlPRp2D7/xtXWLXHLFljmNxbIFW56/GltWYMJn7ESI5uea+WY9H +H6eAckdXmrbpS+NWwwCHNTp9NPItaLIc5h6KJLfroIH71GnsSzEQMP6cVJvYXvIq +U3fA50b2Ngg0EDjDiBx317Fkl4rwkrAnsrzLPWFx4ui3ACIe9Ahwv4Wod/AKlz39 +EuzOLHcLALTVzHfB0Ec2fRBOLHFGix5dcUNy91H2h+UYBKhLmNaUDuY5APZ1o9DB +x6Ptmb6AdhWyX91D+kr2/mUCLGzMbLSuUrwouhhp7l1Bh67dQimRndhl6ajKgb5T +gpIPH8+jV7TZJQl9tw== +-----END CERTIFICATE----- diff --git a/ciq/ciq_secureboot_files/ciq_sbsign.macros b/ciq/ciq_secureboot_files/ciq_sbsign.macros new file mode 100644 index 0000000000000..9b0658331e939 --- /dev/null +++ b/ciq/ciq_secureboot_files/ciq_sbsign.macros @@ -0,0 +1,22 @@ +# CIQ-specific sbsign override +# If pe_signing_certkeyslot is defined, we assume we want to do a proper secureboot signing as part of the build +# This macro overrides the "new" Rocky way of using a Python wrapper, and simply makes the pesign macro call sbsign instead with the specified cert, key slot and openssl conf file + +%if 0%{?pe_signing_certkeyslot:1} +%define __certkeyslot %{?pe_signing_certkeyslot:%{pe_signing_certkeyslot}} + +%define _sbsign /usr/bin/sbsign + +%define __opensslcnf %{?pe_signing_opensslcnf:%{pe_signing_opensslcnf}} + +%define pesign(i:o:C:e:c:n:a:s) \ + OPENSSL_CONF=%{__opensslcnf} %{_sbsign} --engine pkcs11 --key 'pkcs11:token=YubiHSM;id=%{__certkeyslot}' %{?-c:--cert "%{-c*}"} %{?-i: "%{-i*}"} %{?-o:--output "%{-o*}"} + +%if 0%{?pe_uki_signing_certkeyslot:1} +%define __uki_certkeyslot %{?pe_uki_signing_certkeyslot:%{pe_uki_signing_certkeyslot}} + +%define pesign_uki(i:o:C:e:c:n:a:s) \ + OPENSSL_CONF=%{__opensslcnf} %{_sbsign} --engine pkcs11 --key 'pkcs11:token=YubiHSM;id=%{__uki_certkeyslot}' %{?-c:--cert "%{-c*}"} %{?-i: "%{-i*}"} %{?-o:--output "%{-o*}"} +%endif + +%endif diff --git a/ciq/configs/build_configs.sh b/ciq/configs/build_configs.sh new file mode 100755 index 0000000000000..82516f3b12e18 --- /dev/null +++ b/ciq/configs/build_configs.sh @@ -0,0 +1,5 @@ +#!/bin/sh +echo "build_configs.sh stub: Using pre-provided configs. Skipping config generation." + +exit 0 + diff --git a/ciq/configs/flavors b/ciq/configs/flavors new file mode 100644 index 0000000000000..240327b29d289 --- /dev/null +++ b/ciq/configs/flavors @@ -0,0 +1 @@ +rocky diff --git a/ciq/configs/generate_all_configs.sh b/ciq/configs/generate_all_configs.sh new file mode 100755 index 0000000000000..02c1f6a6d859a --- /dev/null +++ b/ciq/configs/generate_all_configs.sh @@ -0,0 +1,38 @@ +#!/bin/sh + +# Adjusts the configuration options to build the variants correctly + +test -n "$RHTEST" && exit 0 + +DEBUGBUILDSENABLED=$1 +if [ -z "$DEBUGBUILDSENABLED" ]; then + exit 1 +fi + +if [ -z "$FLAVOR" ]; then + FLAVOR=rhel +fi + +if [ "$FLAVOR" = "fedora" ]; then + SECONDARY=rhel +else + SECONDARY=fedora +fi + +# The +1 is to remove the - at the end of the SPECPACKAGE_NAME string +specpackage_name_len=$((${#SPECPACKAGE_NAME} + 1)) +for i in "${SPECPACKAGE_NAME}"*-"$FLAVOR".config; do + # shellcheck disable=SC3057 + NEW=${SPECPACKAGE_NAME}-"$SPECRPMVERSION"-$(echo "${i:$specpackage_name_len}" | sed s/-"$FLAVOR"//) + mv "$i" "$NEW" +done + +rm -f kernel-*-"$SECONDARY".config + +if [ "$DEBUGBUILDSENABLED" -eq 0 ]; then + for i in "${SPECPACKAGE_NAME}"-*debug*.config; do + base=$(echo "$i" | sed -r s/-?debug//g) + NEW=${SPECPACKAGE_NAME}-$(echo "$base" | cut -d - -f2-) + mv "$i" "$NEW" + done +fi diff --git a/ciq/configs/merge.py b/ciq/configs/merge.py new file mode 100755 index 0000000000000..7afbb7e960983 --- /dev/null +++ b/ciq/configs/merge.py @@ -0,0 +1,3 @@ +#!/usr/bin/env python3 +print("merge.py stub: no merge performed") + diff --git a/ciq/configs/partial-snip.config b/ciq/configs/partial-snip.config new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/ciq/configs/process_configs.sh b/ciq/configs/process_configs.sh new file mode 100755 index 0000000000000..b997d824a1d9f --- /dev/null +++ b/ciq/configs/process_configs.sh @@ -0,0 +1,3 @@ +#!/bin/sh +echo "process_configs.sh stub: Skipping processing of configs." +exit 0 diff --git a/ciq/debug/dummy-module/Makefile b/ciq/debug/dummy-module/Makefile new file mode 100644 index 0000000000000..4c2daaad0b519 --- /dev/null +++ b/ciq/debug/dummy-module/Makefile @@ -0,0 +1,15 @@ +ifneq ($(KERNELRELEASE),) + +obj-m := dummy-module.o + +else + +KDIR := /lib/modules/$(shell uname -r)/build +PWD := $(shell pwd) + +default: + $(MAKE) -C $(KDIR) M=$(PWD) +endif + +clean: + rm -rf *o .*.cmd .tmp* *.mod.c diff --git a/ciq/debug/dummy-module/dummy-module.c b/ciq/debug/dummy-module/dummy-module.c new file mode 100644 index 0000000000000..89748e6365115 --- /dev/null +++ b/ciq/debug/dummy-module/dummy-module.c @@ -0,0 +1,39 @@ +/* + * Just an skeleton module. Useful for debugging. + * + * Written by: Prarit Bhargava + * + * Please don't clutter this file with a bunch of bells-and-whistles. It + * is meant to be a simple module. + */ +#include +#include +#include + +static int dummy_arg = 0; + +void dummy_greetings(void) +{ + printk("This module has loaded.\n"); + if (dummy_arg) + printk("And dummy_arg is %d.\n", dummy_arg); +} + +static int init_dummy(void) +{ + dummy_greetings(); + return 0; +} + +static void cleanup_dummy(void) +{ + printk("unloading module\n"); +} + +module_init(init_dummy); +module_exit(cleanup_dummy); + +MODULE_LICENSE("GPL"); + +module_param(dummy_arg, int, 0444); +MODULE_PARM_DESC(dummy_arg, "An argument for this module"); diff --git a/ciq/docs/.gitignore b/ciq/docs/.gitignore new file mode 100644 index 0000000000000..69fa449dd96e2 --- /dev/null +++ b/ciq/docs/.gitignore @@ -0,0 +1 @@ +_build/ diff --git a/ciq/docs/Makefile b/ciq/docs/Makefile new file mode 100644 index 0000000000000..d4bb2cbb9eddb --- /dev/null +++ b/ciq/docs/Makefile @@ -0,0 +1,20 @@ +# Minimal makefile for Sphinx documentation +# + +# You can set these variables from the command line, and also +# from the environment for the first two. +SPHINXOPTS ?= +SPHINXBUILD ?= sphinx-build +SOURCEDIR = . +BUILDDIR = _build + +# Put it first so that "make" without argument is like "make help". +help: + @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + +.PHONY: help Makefile + +# Catch-all target: route all unknown targets to Sphinx using the new +# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). +%: Makefile + @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) diff --git a/ciq/docs/conf.py b/ciq/docs/conf.py new file mode 100644 index 0000000000000..d873a31d984d3 --- /dev/null +++ b/ciq/docs/conf.py @@ -0,0 +1,42 @@ +# Configuration file for the Sphinx documentation builder. +# +# This file only contains a selection of the most common options. For a full +# list see the documentation: +# https://www.sphinx-doc.org/en/master/usage/configuration.html + + +# -- Project information ----------------------------------------------------- + +project = "Fedora/ARK Kernel" +copyright = "2020, Red Hat, Inc" +author = "Red Hat, Fedora Community" + + +# -- General configuration --------------------------------------------------- + +# Add any Sphinx extension module names here, as strings. They can be +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom +# ones. +extensions = [] + +# Add any paths that contain templates here, relative to this directory. +templates_path = ["_templates"] + +# List of patterns, relative to source directory, that match files and +# directories to ignore when looking for source files. +# This pattern also affects html_static_path and html_extra_path. +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] + + +# -- Options for HTML output ------------------------------------------------- + +# The theme to use for HTML and HTML Help pages. See the documentation for +# a list of builtin themes. +# +html_theme = "alabaster" + +html_theme_options = { + "page_width": "1100px", + "show_related": True, + "sidebar_collapse": True, +} diff --git a/ciq/docs/faq.rst b/ciq/docs/faq.rst new file mode 100644 index 0000000000000..9310b7d1d5ece --- /dev/null +++ b/ciq/docs/faq.rst @@ -0,0 +1,88 @@ +========================== +Frequently Asked Questions +========================== + +1. The 'os-build' branch doesn't compile, what can I do? +-------------------------------------------------------- + +The os-build branch is auto-updated daily from upstream. While upstream +is pretty good about having code that compiles, occassionally issues pop +up. + +First, check the ark-latest branch to see if any critical patches were +applied to temporarily resolve things. + +Second, sometimes the problem is new and waiting 24-48 hours for a +maintainer to resolve things will be expected. + +Third, you can use a release tag (ie kernel-5.14.1-0), if you do not need +bleeding edge. + +2. The 'os-build' branch doesn't pass 'make dist-configs'? +---------------------------------------------------------- + +During the -rc1 and -rc2 phase, this is not uncommon. Most configs should +be autogenerated to defaults and placed in pending-rhel until an official +review has taken place. + +Occassionally during the review cycle, the default changes and new configs +are revealed that are not autogenerated and leads to unresolved configs. + +Creating a file under redhat/configs/pending-rhel/ with the config +settings necessary should temporarily resolve this until the maintainers can +resolve this properly. + +Please notify us on kernel@lists.fedoraproject.org or file an issue at +https://gitlab.com/cki-project/kernel-ark/-/issues. + +3. I am booting an ELN/RHEL kernel on Fedora (or vice versa) and the kernel won't boot. What do I do now? +---------------------------------------------------------------------------------------------------------- + +This is not uncommon and may be due to a config difference between RHEL and Fedora. One key difference between the two kernels is that Fedora has enabled CONFIG_BTRFS where ELN/RHEL has not, and as a result ELN/RHEL kernels will not mount Fedora BTRFS filesystems. If you are booting the ELN/RHEL kernel config on Fedora you must change these configuration values in the .config: + +.. code-block:: sh + + CONFIG_BTRFS=y + CONFIG_BTRFS_FS_POSIX_ACL=y + +If that change doesn't resolve the boot failure, users should attempt to "flip" configs to determine the difference between the two flavors before reporting bugs. The maintainers acknowledge that this can be a time consuming process but it is left to the user to resolve config differences when cross booting between flavors. + +4. How does an MR get reviewed? +------------------------------- + +Anything Fedora specific (configs, custom patches, scripts) will be decided +by the Fedora kernel maintainer with input from the community. + +Any patch that is cherry-picked from a commit in an upstream tree will be +taken by the maintainer immediately with the assumption the commit will be +merged to Linus's tree within a week. + +Any patch that touches infrastructure (redhat/) will need review by Red Hat +developers. Those developers are auto-added by webhooks to the MR. An +approval from 1 developer is generally good enough. + +Any patch that touches kernel code that is not going upstream will need +reviews by Red Hat developers. Those developers are auto-added by webhooks +to the MR. These patches must wrapped with "#ifndef +CONFIG_RHEL_DIFFERENCES" if possible and be provided with a good reason why +it is important to include despite upstream not taking it. An approval from +all the assigned reviewers is necessary. + +See https://redhat.gitlab.io/centos-stream/src/kernel/documentation/ for a +more thorough discussion. + +4. Can I use build services koji or brew? +----------------------------------------- + +Yes. + +.. code-block:: sh + + make dist-srpm + koji build --scratch eln|rawhide + +.. code-block:: sh + + # this target requires internal Red Hat network access and will always + # build against the latest RHEL major compose + make dist-brew diff --git a/ciq/docs/index.rst b/ciq/docs/index.rst new file mode 100644 index 0000000000000..1881e91a56127 --- /dev/null +++ b/ciq/docs/index.rst @@ -0,0 +1,178 @@ +.. Fedora Kernel and ARK Documentation documentation master file, created by + sphinx-quickstart on Thu May 7 14:44:56 2020. + You can adapt this file completely to your liking, but it should at least + contain the root `toctree` directive. + +================= +Fedora/ARK Kernel +================= + +This documentation covers setting up a development environment, the repository +layout, and the general contribution workflow. + +.. _quick-start: + +Quick Start +=========== + +Setup +----- + +To start with you need to: + +1. Make a `GitLab account`_ if you do not already have one. +2. `Fork the repository`_. Wait patiently for this to complete. +3. Configure pull mirroring on your fork (see below). +4. Set up `Koji`_ or `Mock`_ if desired. + +Pull mirroring keeps your fork in sync and avoids the need to configure a +separate remote in Git. Once GitLab finishes forking the repository: + +* Go to your fork from your `personal GitLab projects`_. +* In the sidebar, click 'Settings' and then 'Repository'. +* Next to 'Mirroring repositories', click 'Expand'. +* Enter the Git repository URL: https://gitlab.com/cki-project/kernel-ark.git +* Ensure the 'Mirror direction' is 'Pull'. +* Leave the 'Password' blank. +* Select 'Overwrite diverged branches' (ARK rebases every GA release) +* Leave the other checkboxes blank (or select them if desired). +* Click 'Mirror Repository'. The first update will take about 20 minutes. + +Cloning the Repository +---------------------- + +Install the dependencies for generating source RPM packages: + +.. code-block:: sh + + sudo dnf install git make gcc flex bison bzip2 rpm-build python3-pyyaml + +Then clone the repository. To use SSH, `register your SSH key`_ in GitLab first. + +.. code-block:: sh + + # Clone using SSH + git clone git@gitlab.com:${GITLAB_USER_NAME}/kernel-ark.git && cd kernel-ark + # Clone using HTTPS + git clone https://gitlab.com/${GITLAB_USER_NAME}/kernel-ark.git && cd kernel-ark + +The ``os-build`` branch is checked out automatically after cloning. This +branch contains the configuration and build scripts, and it is regularly +updated to work with Linus's master branch. + +The ``ark-latest`` branch contains a very recent 'known-good' version of the +os-build branch that can be used if the os-build branch does not compile due to +upstream bugs. However, the os-build branch must be used as a Merge Request +target for all Fedora/ARK specific changes. + +Build Dependencies +------------------ + +kernel-ark has a long list of BuildRequires that are specified in the +kernel.spec file. Built-in rpm commands like 'yum builddep' will not +work on all OSes (`see BZ 2103214`_), +and 'yum deplist' which requires the configuration and enabling of a source +repository. As a result a 'dist-get-buildreqs' target has been added that will +provide a list of missing dependencies. This list can be consumed by other +commands to install missing packages: + +.. code-block:: sh + + # install missing build dependencies + sudo dnf -y install $(make dist-get-buildreqs | grep "Missing dependencies:" | cut -d":" -f2-) + +Some packages may require the enabling of additional repositories such as the +system-sb-certs package which can be found in a Centos-Stream or RHEL CodeReady +Linux Builder (CRB) repository. + +Local builds +------------ + +With the ``os-build`` or ``ark-latest`` branch checked out, get the kernel .config: + +.. code-block:: sh + + make dist--configs # or make dist-configs-arch + cp redhat/configs/kernel--.config .config + +Where flavor can be ``rhel`` or ``fedora`` + +You can now execute any common upstream make targets (make, make -j, make cscope, etc.). + +Building packages +----------------- + +With the ``os-build`` or ``ark-latest`` branch checked out, build a source RPM package: + +.. code-block:: sh + + make dist-srpm + +You can now build the binary RPM packages however you would like: + +.. code-block:: sh + + # Build packages locally in Mock + mock redhat/rpm/SRPMS/kernel-*.src.rpm + # Build packages in Fedora's Koji + koji build --scratch rawhide redhat/rpm/SRPMS/kernel-*.src.rpm + koji build --scratch eln redhat/rpm/SRPMS/kernel-*.src.rpm + +or + +.. code-block:: sh + + # this target requires internal Red Hat network access and will always + # build against the latest RHEL major compose + make dist-brew + +The dist-brew target can be used with the BUILD_FLAGS variable to specify specific architectures. For example, to only build the x86_64 and noarch architectures, + +.. code-block:: sh + + # this target requires internal Red Hat network access and will always + # build against the latest RHEL major compose + make dist-brew BUILD_FLAGS="--arch-override=x86_64,noarch" + +Want to add a patch? Just apply it with ``git cherry-pick`` or ``git am``, and +re-run ``make dist-srpm``. To modify the kernel configuration, make changes in +``redhat/configs/`` (consult the repository layout for details on this). + + +Contributor Guide +================= + +.. toctree:: + :maxdepth: 2 + + repository-layout + submitting-contributions + faq + makefile-changes + kernel-naming + + +Maintainer Guide +================ + +.. toctree:: + :maxdepth: 2 + + maintaining + + +.. _GitLab account: https://gitlab.com/users/sign_in#register-pane +.. _personal GitLab projects: https://gitlab.com/?name=kernel-ark&personal=true +.. _Fork the repository: https://gitlab.com/cki-project/kernel-ark/-/forks/new +.. _register your SSH key: https://gitlab.com/-/profile/keys +.. _Koji: https://docs.fedoraproject.org/en-US/package-maintainers/Using_the_Koji_Build_System/ +.. _Mock: https://fedoraproject.org/wiki/Using_Mock_to_test_package_builds#How_do_I_set_up_Mock.3F +.. _see BZ 2103214: https://bugzilla.redhat.com/2103214 + + +Indices and tables +================== + +* :ref:`genindex` +* :ref:`modindex` +* :ref:`search` diff --git a/ciq/docs/kernel-naming.rst b/ciq/docs/kernel-naming.rst new file mode 100644 index 0000000000000..2e29e99ecb7b1 --- /dev/null +++ b/ciq/docs/kernel-naming.rst @@ -0,0 +1,44 @@ +.. _kernel-naming: + +============= +Kernel Naming +============= + +The kernel NVR looks like, for example, +kernel-5.17.0-0.rc8.551acdc3c3d2.124.test.fc35. This string contains +information about the upstream release, a unique build number, and information +about the distribution the RPM was targeted for. An explanation of each of the +fields and how the fields are used in the kernel NVR, is below. + +**SPECPACKAGE_NAME**: This is the name of the package. By default this is +'kernel', but a well-known variant is kernel-rt. + +**SPECKVERSION**: This is the VERSION variable defined in the top-level linux +Makefile. + +**SPECKPATCHLEVEL**: This is the PATCHLEVEL variable defined in the top-level +linux Makefile. + +**SPECKSUBLEVEL**: This is the SUBLEVEL variable defined in the top-level linux +Makefile. + +**UPSTREAMBUILD**: This is a representation of the upstream build information. +It includes the EXTRAVERSION variable (defined in the top-level Makefile) or +'rc0' if the tree is based on an a specific upstream release. If the tree is +not based on a specific "rc" release, this field also contains a git hash +reference to the top of tree commit. + +**BUILD**: This is the RHEL_RELEASE variable defined in the top-level linux +Makefile.rhelver. + +**DISTLOCALVERSION**: By default, this variable is set to ".test". This value can +be overriden by defining a string in redhat/localversion. + +**DIST**: This is the dist release suffix used in the package release, eg. +.fc34 or .el9. + +The kernel name is constructed as + +$(SPECPACKAGE_NAME)-$(SPECKVERSION).$(SPECKPATCHLEVEL).$(SPECKSUBLEVEL)-$(UPSTREAMBUILD)$(BUILD)$(DISTLOCALVERSION)$(DIST) + +In general, the kernel follows the Fedora Naming Guidelines, `https://fedoraproject.org/wiki/Packaging:Naming?rd=Packaging:NamingGuidelines `__. diff --git a/ciq/docs/maintaining.rst b/ciq/docs/maintaining.rst new file mode 100644 index 0000000000000..8065a42fddd5f --- /dev/null +++ b/ciq/docs/maintaining.rst @@ -0,0 +1,206 @@ +=========== +Maintenance +=========== + +This guide covers common maintenance tasks and is primarily aimed at +kernel maintainers. It assumes you have write access to +`https://gitlab.com/cki-project/kernel-ark.git `__ +and the remote in your clone is called "upstream", as set up in the +quick start guide. + +The repository is used for both the Fedora kernel and the RHEL Always +Ready kernel (ARK). Thus, it contains two sets of configurations. + +Every release requires the maintainer to: + +1. Update the configuration +2. Create a release branch and/or tag + +Once that is done, the result can be imported into a dist-git repository +and built in Koji. + +There is a script to automate the entire process which is run nightly by +CI/CD. You can run it locally: + +:: + + # Ensure we've got a clean check out for all the branches we're about to use + git checkout master && git pull + git checkout os-build && git pull + + # Create a release based on "master", which tracks mainline + make dist-fedora-release + +The individual steps taken are described below for the curious. + +Configuration +------------- + +Update the configuration branch: + +Merges in the latest upstream 'master' changes and sets defaults for any new +configuration files: + +:: + + make dist-merge-upstream + +Or to auto-push changes + +:: + + make dist-merge-upstream-push + +Common Problems +~~~~~~~~~~~~~~~ + +There are a few issues that can occur during the configuration update +due to merge conflicts. + +Merge Conflicts +^^^^^^^^^^^^^^^ + +When merging the master branch, existing Red Hat patches may conflict with +changes pushed upstream. Use best judgement to resolve them. If the fix +requires more than a trivial context change, reach out reach out to RHEL +developers for guidance based on the RHMAINTIANERS file. + +Release branch +-------------- + +Once the kernel patches and configuration have been updated for the new +release, it's time to create the release branch and/or tag. If this is a +snapshot build (i.e. master does not point to a tag), we only create a +tag. + +To build against a specific release use TAG= otherwise the scripts +default to 'master'. + +:: + + make dist-fedora-release + (use TAG= for a specific tag) + +Or to auto-push changes + +:: + + make dist-fedora-release-push + (use TAG= for a specific tag) + +Building +-------- + +After a release branch has been prepared, it's time to build it. This +guide assumes you have Koji and/or Brew installed and properly +configured. It also assumes you've authenticated and have permissions to +build. + +Fedora +~~~~~~ + +This requires having fedpkg installed. + +From the release branch/tag, run: + +:: + + # Checks out the Fedora dist-git repository and copies everything from the source tree into it + # + # By default, this creates a directory in /tmp, but the location can be set with RHDISTGIT_TMP. + # If you already have a local clone of the Fedora dist-git repository, it can be used with RHDISTGIT_CACHE=. + # + # localversion sets the buildid, releases should have an empty build id + rm localversion + touch localversion + make dist-git + + cd /tmp/RHEL*/kernel + git commit -a -s -F ../changelog + fedpkg push + fedpkg build + +ELN +~~~ + +This build is automatically kicked off upon successfull completion of the +above Fedora build. + +To kick off manually run + +Rebasing +-------- + +When a new major version of Linux is released upstream, we can rebase the +os-build branch. + +Rebasing from time to time, helps reduce the clutter of the extra changes +on top of upstream and future merge conflicts. This periodic rebase addresses +the needs of the Fedora community's desire to separate upstream from Fedora +specific changes, helps keep it clear what patches changed in the final form +upstream, and what a Fedora specific patch looks like currently as opposed to +split across various conflict patches. + +While rebasing has a negative effect on developer contribution, we believe +saving the rebase for the end of release cycle allows for minimal developer +contribution disruption while gaining the above advantages. + +This process is open to feedback for improvements. + +To do the os-build rebase, the following steps can be done: + +:: + + # Create a rebase branch from latest os-build branch and start the process + # For any conflicts that arise, check and fix them, following git instructions + git fetch origin + git checkout -b rebase origin/os-build + marker=$(cat redhat/marker) + git rebase $marker + + # After you finish the rebase, check the results against the current os-build + git diff origin/os-build.. + # If there are differences shown, you might have fixed conflicts wrongly or + # in a different way. To fix, you may want to add extra on top commits and + # rebase again interactively + && git add + # create dummy commit + git commit + # You may need to create more than one commit, if changes are related to + # more than one previous commit. Then squash commits into the existing + # previous commits related to the change with: + git rebase -i $marker + + # Now cleanup any commits that we might have reverted, and release commits. + # When editor opens with the commit list in interactive mode, search for any + # commits starting with "Revert " in the subject and if they match a previous + # commit which is being reverted, you can remove both. For release commits, + # search commits with subject starting with "[redhat] kernel-" and delete/ + # remove them + git rebase -i $marker + + # Check results again doing a diff against os-build branch. Because of cleanup + # in the previous step, some differences will appear now, and that's ok + # because of the removal of the release commits. The only differences that + # should appear are on Makefile.rhelver, redhat/kernel.changelog and + # redhat/marker + git diff origin/os-build.. + + # If differences shown are expected, we are ok and rebase is done. + # Check if origin didn't change by fetching again. If origin/os-build + # changed, you might need to do a rebase again or cherry-pick latest ark + # only changes into the rebase branch + git fetch origin + + + # We can now force push/update the os-build branch. Also save the current + # os-build branch just for backup purposes + git checkout -b os-build-save origin/os-build + git checkout os-build + git reset --hard rebase + git push -f origin os-build os-build-save + +:: + + TODO FILL ME IN + diff --git a/ciq/docs/makefile-changes.rst b/ciq/docs/makefile-changes.rst new file mode 100644 index 0000000000000..11dd8ce790fbd --- /dev/null +++ b/ciq/docs/makefile-changes.rst @@ -0,0 +1,82 @@ +.. _makefile-changes: + +=================== +Makefile Guidelines +=================== + +The Red Hat Makefiles in the /redhat directory are + +.. code-block:: sh + + Makefile + Makefile.cross + Makefile.rhpkg + Makefile.variables + +Each of these Makefiles serves a specific purpose. + +Makefile +======== + +This file's purpose is to create an SRPM. Other targets in this Makefile +create kernel config files, submit SRPMS to build systems (brew and koji), +and other SRPM construction operations. + +Variables declared in this Makefile are not stable (see Makefile.variables +section) and may change without notice. The variables are exported for use by +scripts called in the targets. + +Makefile.cross +============== + +This file's purpose is to supply easy-to-use cross compiling targets. The +Makefile was written with the assumption that the host architecture is x86_64. + +Makefile.rhpkg +============== + +This file contains variables that can be overidden by declarations in +~/.rhpkg.mk or $(TOPDIR)/.rhpkg.mk. + +Makefile.variables +================== + +This file's purpose is to provide a list of stable variables for use by +external scripts. Variables in this file should be considered stable. +Variables still may be deprecated and will follow the guidelines in +"Deprecating variables and targets" section below. + +Variable Naming +=============== + +Variables names prefixed with SPEC indicate that the variable is used +in redhat/kernel.spec.template (see redhat/genspec.sh). + +Deprecating variables and targets +================================= + +Occasionally developers may make a change that removes a variable from +Makefile.variables or Makefile.rhpkg, or a target from Makefile or +Makefile.cross. + +In these cases, the removal will be preceded by a warning on use of the +variable or target execution that is output to the user. After two upstream +releases, the variable or target will be removed from the Makefiles. + +For example + +.. code-block:: sh + + ifdef BREW_FLAGS + # deprecated in 5.17.0 + $(warning WARNING: BREW_FLAGS will be deprecated in a later release, use BUILD_FLAGS instead.) + endif + +or, + +.. code-block:: sh + + dist-kernelversion: + # deprecated in 5.17.0 + @echo "WARNING: This target will be removed in a later release." + @echo $(SPECVERSION)-$(DISTRO_BUILD) diff --git a/ciq/docs/repository-layout.rst b/ciq/docs/repository-layout.rst new file mode 100644 index 0000000000000..3c077dbeca5a6 --- /dev/null +++ b/ciq/docs/repository-layout.rst @@ -0,0 +1,173 @@ +.. _repository-layout: + +================= +Repository Layout +================= + +The repository is based on the upstream Linux kernel tree. All branches +except master, though, are downstream-only. + +Branches +-------- + +os-build, a.k.a "the development branch" +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Frequency: Merges 'master' branch daily + +The os-build branch is the development branch of the tree. The os-build branch +tracks the latest version of the kernel patches for RHEL and Fedora, as well as +the kernel configuration and build scripts. This is the branch to send +merge request to. When a new release is made, this branch is merged into the +release branch. Configuration and build scripts can be found in the +``redhat/`` directory. Refer to the `Configuration`_ section below for more +details. + +If this branch does not compile or boot, then please see `ark-latest`_ branch +below. + +master +~~~~~~ + +Frequency: Mirrors Linus's tree + +The master branch tracks `Linus's master +branch `__ +(i.e. "mainline"). + +.. _ark-latest: + +ark-latest +~~~~~~~~~~ + +Frequency: Reset daily after os-build branch merges 'master' + +This branch points to the latest release branch. This branch may differ +slightly from os-build and contain critical patches that resolve compile or +boot issues. **This is not a development branch, do not base merge requests +off this branch.** + +Release branches +~~~~~~~~~~~~~~~~ + +Each time the kernel is rebased, a set of branches is created to track +that release. + +.. _arkpatchesvxy-rcn: + +ark/patches/vX.Y[-rcN] +^^^^^^^^^^^^^^^^^^^^^^ + +Branches in this format (e.g. ``ark/patches/v5.4-rc1`` or +``ark/patches/v5.3``) contain the kernel patches ARK carries for that +particular kernel release. These are merged into the ``ark/vX.Y`` +release branches. + +.. _arkvxy-rcn: + +ark/vX.Y[-rcN] +^^^^^^^^^^^^^^ + +Branches in this format (e.g. ``ark/v5.4-rc1`` or ``ark/v5.3``) contain +the set of patches that were added on top of the upstream kernel release +along with the configuration and build scripts. They can be checked out +and built into RPMs. The ``master`` branch points to the latest version +of these branches. + +Tags +---- + +.. _vxy-rcn: + +vX.Y[-rcN] +~~~~~~~~~~ + +Tags in this format (e.g. ``v5.4-rc1`` or ``v5.3``) are the upstream +Linux kernel tags from Linus's tree. + +.. _kernel-xyz-ndist-and-kernel-xyz-0rcnyyyymmddgitshort-hashdist: + +kernel-X.Y.Z-N. and kernel-X.Y.Z-0.rcN.YYYYMMDDgit. +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Tags in this format (e.g. ``kernel-5.4.0-1.elrdy``, +``kernel-5.6.0-1.fc33``, or +``kernel-5.6.0-0.rc5.20200314gitabcd1234.fc33``) map to the RPM +name-version-release tuple in the build system. These can be used to +check out the source tree used to build that RPM. Tags with the +``elrdy`` dist are Always Ready kernel releases and tags with the +``fcNN`` dist are Fedora kernels. + +The tags come in two varieties. The first is kernel builds based off an +upstream tag. ``kernel-5.4.0-1.elrdy`` and ``kernel-5.6.0-0.rc6.fc33`` +fall into this category. The second variety, which includes a date and +commit hash, is based off a snapshot of Linus's master branch for that +particular day. The git commit hash included in the release is the +commit in Linus's tree the build is based on, *not* the commit in the +Fedora source tree. + +Fedora RPM tagging in the ARK kernel began in May 2020 for fc33. Previous +RPM tags are not available in the ARK kernel tree. + +.. _Configuration: + +Configuration +------------- + +The configuration layout is somewhat complicated. All configuration is +located on the ``os-build`` branch in ``redhat/configs/``. Inside this +directory there are a number of scripts used to automatically generate +complete configurations, along with a number of directories that contain +configuration snippets. At this time, there are three main configuration +directories: ``rhel``, ``common``, and ``fedora``. ``rhel`` and ``fedora`` +are configuration "flavors", while ``common`` is shared configuration +across flavors. + +A flavor is defined by: + +1. Adding the flavor name to ``redhat/configs/flavors`` on its own line. +2. Create a directory using your flavor name in ``redhat/configs/`` that + matches the layout of other flavors. +3. Defining a configuration priority by creating a file called + ``redhat/configs/priority.$flavorname``. This file needs to define a + number of bash variables that describe the priority of the various + configuration directories and should include the directory you + defined in step 2. + +common and pending-rhel +~~~~~~~~~~~~~~~~~~~~~~~ + +The ``common`` directory contains configuration values that are shared +across all configuration "flavors". For a configuration to be in +``common``, it MUST be reviewed and approved by one or more Red Hat +subsystem maintainers since it affects RHEL. A flavor's configurations +can override settings in ``common``, so it's not guaranteed settings in +common are the same across all flavors. It's simply a good place to set +common values across the flavors and use as a base for new flavors. + +``pending-rhel`` is where configuration options that have not been +reviewed are placed. Automation creates snippets for all new +configuration options exposed during a rebase of ARK in the +``pending-rhel`` directory, at which point subsystem maintainers +review the options and set them as appropriate before moving them into +``common``. + +New RHEL configurations are placed in ``pending-rhel`` because it is +assumed that RHEL generally has the most conservative settings, whereas +other flavors like Fedora will be (for the most part) a superset of the +RHEL configuration. + +fedora and pending-fedora +~~~~~~~~~~~~~~~~~~~~~~~~~ + +The ``fedora`` directory contains settings that have been reviewed by +Fedora kernel maintainers for the Fedora Rawhide kernel. + +Since Fedora tends to turn on more things than RHEL, it's common for a +rebase to expose new configuration options that only apply to Fedora. +For this reason, Fedora has a ``pending-fedora`` directory as well. +``pending-fedora`` contains settings that are not exposed by the +``common`` configuration set and only apply to Fedora. It is, like +``pending-rhel``, populated automatically during a rebase. A Fedora +kernel maintain can review the settings at their leisure and move them +over to ``fedora`` as they do so. diff --git a/ciq/docs/submitting-contributions.rst b/ciq/docs/submitting-contributions.rst new file mode 100644 index 0000000000000..a84388e10cef3 --- /dev/null +++ b/ciq/docs/submitting-contributions.rst @@ -0,0 +1,234 @@ +======================== +Submitting Contributions +======================== + +Thanks for considering contributing to the Fedora and Always Ready +kernels, we really appreciate it! Before you get started, please +familiarize yourself with the general `Fedora kernel +policies `__. + +These guides assume you've completed the :ref:`quick-start` guide +and are familiar with the :ref:`repository-layout`. + +All contributions must be constructed against the ``os-build`` branch +which contains the configs for Fedora and ARK builds, and the kernel patches +for Fedora and ARK. + +Documentation +============= + +Contributions to the documentation are always welcome. This documentation is +written with `Sphinx `_. Your distribution should +provide a Sphinx package, or you can set up an environment and build the +documentation as HTML with:: + + python3 -m venv ~/.virtualenvs/ark-docs + source ~/.virtualenvs/ark-docs/bin/activate + pip install Sphinx + cd redhat/docs + make html + +Your documentation changes should build in Sphinx without warnings and this is +enforced by CI. You can check your changes locally with:: + + make SPHINXOPTS="-W" html + +Reporting Kernel Bugs +===================== + +Fedora bugs are only tracked in Red Hat's Bugzilla instance. Fedora kernel +bugs can be filed at https://bugzilla.redhat.com/ under Product "Fedora", +Component "kernel" and specifying the Version "rawhide". Please try to be as +detailed as possible when reporting a bug. The more detailed you are, the more +likely it is that your bug will be resolved. + +"Rawhide" is the name given to the current development version of Fedora Linux. +If the kernel bug you're reporting isn't against the development version, then +select the appropriate Fedora version (e.g., 38, 39, 40, etc.) instead of +selecting "rawhide". + +Reporting ARK Project Issues +============================ + +To report a problem with the kernel-ark project itself use the project issue +tracker in GitLab at https://gitlab.com/cki-project/kernel-ark/-/issues and +select the "New Issue" button. + +An issue could be, for example, an infrastructure issue with merge request CI +pipelines, a bug related to the RPM Spec file, a bug in the features and +functionality maintained in the ``redhat`` directory, or it could be used to +propose new ideas you may have for kernel-ark. The only type of issue that +should not be reported here are kernel bugs. As noted above, please open a +Bugzilla to track any kernel bugs that you find. + +Patches +======= + +Quick start: + +1. ``git fetch orgin`` +2. ``git checkout -b my-build-change origin/os-build`` +3. Make a change to a file. +4. Add your changes with ``git add -A``. +5. Commit your changes and write a nice commit message that explains the + change: ``git commit -s``. +6. Open a merge request. You can do so via the web UI, or directly from + a git push with + ``git push -o merge_request.create -u my-build-change`` + (defaults to target branch ``os-build``). Refer to the `push + options `__ + documentation for more details. + +Configuration Changes +--------------------- + +Each configuration option for the kernel is placed in its own file +inside the ``redhat/configs//`` directory. + +Each file must be named after the configuration option it contains. + +To disable a particular setting, the file must contain +``# CONFIG_TOWEL is not set`` rather than ``CONFIG_TOWEL=n`` where +CONFIG_TOWEL is replaced with the actual configuration option. + +The directory is hierarchical by architecture families. The top level is +generic configurations that apply across most architectures. Within +that, there are directories like ``arm``, ``powerpc``, and ``x86`` where +architecture specific configurations are placed. Settings in these +architecture-specific directories override any duplicate settings in the +more generic directories. Configurations that are specific to a +particular architecture should be placed in that architecture's +directory rather in the generic directory. + +Configuration changes in the ``rhel`` directory requires review from Red Hat +kernel developers, where-as the configurations in ``fedora`` can be changed +with the approval of the Fedora kernel maintainers. The ``common`` +directory is for changes common to both ``rhel`` and ``fedora`` and will be +populated by a bot that periodically looks in both ``rhel`` and ``fedora`` +for common changes. + +Makefile changes +---------------- + +Guidelines for makefile target and variable changes are found in the :ref:`makefile-changes` doc. + +Commit messages +--------------- + +Each commit you make should contain a detailed description of *why* the +change is necessary. For example, if the commit enables or disables a +configuration option, explain exactly why the change is necessary. If +there is a Bugzilla bug relating to the change, please include a +reference to it using the format ``Bugzilla: ``. For example: + +:: + + Enable CONFIG_TOWEL so kernels never panic + + Since the beginning the kernel has panicked. This has made a lot of people very + angry and has widely been regarded as a bad move. This new configuration option + solves all the kernel's problems and now it never panics. + + Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1234567890 + Signed-off-by: Jeremy Cline + +Kernel code patches should be submitted upstream prior to being sent for +inclusion in Fedora. The commit message for the patch should be the same +as upstream, except for the addition of a few tags the message. + +Upstream Status +~~~~~~~~~~~~~~~ + +Each commit should contain an ``Upstream Status`` tag to indicate where +the patch can be found. Some examples: + +A patch that's been sent upstream, but is not yet in a sub-maintainer's +tree should link to the email: + +:: + + Upstream Status: https://lore.kernel.org/lkml/20200220151738.1492852-1-jcline@redhat.com/ + +A patch that's been accepted into an upstream maintainer's tree should +reference the tree and should also include the upstream commit in the +format used by ``git cherry-pick -x``: + +:: + + Upstream Status: netdev/net-next.git + (cherry picked from commit aed145ccb4918b8b6f7855be9dc6067bd48e4124) + +If the tree isn't hosted on kernel.org, ``Upstream Status`` should link +to it. + +Finally, a downstream-only patch should be marked: + +:: + + Upstream Status: RHEL only + +Bugzilla +~~~~~~~~ + +As with configuration and build script changes, if there is a Bugzilla +bug relating to the kernel commit, please include a reference to it +using the format ``Bugzilla: ``. + +Continuous Integration +====================== + +Tests are run on each merge request to ensure it does not introduce +regressions. The test definitions are located at +`https://gitlab.com/cki-project/kernel-ark-ci `__. +Since both main development branches need similar tests, the branches +within this repository reference the CI definition there so they only +need to be maintained in a single place. + +Licensing +========= + +Your commit messages must include a Signed-off-by tag with your name and +e-mail address, indicating that you agree to the `Developer Certificate +of Origin `__ version 1.1: + +:: + + Developer Certificate of Origin + Version 1.1 + + Copyright (C) 2004, 2006 The Linux Foundation and its contributors. + 1 Letterman Drive + Suite D4700 + San Francisco, CA, 94129 + + Everyone is permitted to copy and distribute verbatim copies of this + license document, but changing it is not allowed. + + + Developer's Certificate of Origin 1.1 + + By making a contribution to this project, I certify that: + + (a) The contribution was created in whole or in part by me and I + have the right to submit it under the open source license + indicated in the file; or + + (b) The contribution is based upon previous work that, to the best + of my knowledge, is covered under an appropriate open source + license and I have the right under that license to submit that + work with modifications, whether created in whole or in part + by me, under the same open source license (unless I am + permitted to submit under a different license), as indicated + in the file; or + + (c) The contribution was provided directly to me by some other + person who certified (a), (b) or (c) and I have not modified + it. + + (d) I understand and agree that this project and the contribution + are public and that a record of the contribution (including all + personal information I submit with it, including my sign-off) is + maintained indefinitely and may be redistributed consistent with + this project or the open source license(s) involved. + +Use ``git commit -s`` to add the Signed-off-by tag. diff --git a/ciq/dracut-virt.conf b/ciq/dracut-virt.conf new file mode 100644 index 0000000000000..3bd3baaa614e7 --- /dev/null +++ b/ciq/dracut-virt.conf @@ -0,0 +1,48 @@ +# generic + compressed please +hostonly="no" +compress="xz" + +# VMs can't update microcode anyway +early_microcode="no" + +# modules: basics +dracutmodules+=" dracut-systemd i18n shutdown " + +# modules: storage support +dracutmodules+=" dm lvm rootfs-block fs-lib " + +# modules: tpm and crypto +dracutmodules+=" crypt crypt-loop tpm2-tss systemd-pcrphase " + +# dracut >= 102 separated systemd-cryptsetup into its own module +CSMODULE=`dracut --list-modules --no-kernel | grep '^systemd-cryptsetup$'` +dracutmodules+=" $CSMODULE " + +# modules: support root on virtiofs +dracutmodules+=" virtiofs " + +# modules: use sysext images (see 'man systemd-sysext') +dracutmodules+=" systemd-sysext " + +# modules: root disk integrity protection +dracutmodules+=" systemd-veritysetup " + +# drivers: virtual buses, pci +drivers+=" virtio-pci virtio-mmio " # qemu-kvm +drivers+=" hv-vmbus pci-hyperv " # hyperv +drivers+=" xen-pcifront " # xen + +# drivers: storage +drivers+=" ahci nvme sd_mod sr_mod " # generic +drivers+=" virtio-blk virtio-scsi " # qemu-kvm +drivers+=" hv-storvsc " # hyperv +drivers+=" xen-blkfront " # xen + +# root encryption +drivers+=" dm_crypt " + +# root disk integrity protection +drivers+=" dm_verity overlay " + +# filesystems +filesystems+=" vfat ext4 xfs overlay " diff --git a/ciq/fedora-srpm.sh b/ciq/fedora-srpm.sh new file mode 100755 index 0000000000000..cfc9f14f0d041 --- /dev/null +++ b/ciq/fedora-srpm.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +make IS_FEDORA=1 DIST=".fc41" BUILDID="" BUILD=300 dist-srpm diff --git a/ciq/fedora-stable-release.sh b/ciq/fedora-stable-release.sh new file mode 100755 index 0000000000000..ffd2d99d5930a --- /dev/null +++ b/ciq/fedora-stable-release.sh @@ -0,0 +1,45 @@ +#!/bin/bash + +# shellcheck disable=all + +releasenum=$1 + +# Releasenum is really just the last digit as we have series based on Fedora Release +# by default we assume 0, but if you need to do a rebuild with a fix before a new release +# you can call the script with a 1 or whatever digit you wish for the releasenum. +if [ -z "$releasenum" ]; then + releasenum="0" +fi + +klist -s +if [ ! $? -eq 0 ]; then + echo "klist couldn't read the credential cache." + echo "Do you need to fix your kerberos tokens?" + exit 1 +fi + + +# Occasionally we have a patch which needs to be applied only to a specific +# Fedora release for whatever reason. If this is the case, we can set +# ApplyPatches="1" under that releases case switch and we will apply any +# patches from redhat/patches for that release only. +ApplyPatches="0" +CURRENTHEAD=$( git rev-parse --short HEAD ) + +for release in $( cat redhat/release_targets ); do + case "$release" in + 42) build=30$releasenum + ;; + 41) build=20$releasenum + ;; + 40) build=10$releasenum + ApplyPatches="1" + ;; + esac + if [[ $ApplyPatches == "1" ]] ; then + for patch in redhat/patches/* ; do git am $patch ; done + fi + make IS_FEDORA=1 DIST=".fc$release" BUILDID="" BUILD=$build RHDISTGIT_BRANCH=f$release dist-git; + sleep 60; + git reset --hard $CURRENTHEAD +done diff --git a/ciq/filtermods.log b/ciq/filtermods.log new file mode 100644 index 0000000000000..d59c9071caeb0 --- /dev/null +++ b/ciq/filtermods.log @@ -0,0 +1,486 @@ +01:36:55 INFO setup_logging: 62 file logging on: filtermods.log +01:36:55 INFO sort_kmods: 681 /dev/null /root/ciq-kernel-work/kernel-pkg/ciq/rpm/SOURCES/def_variants.yaml.rocky +01:36:55 INFO load_depmod_file: 168 depmod /dev/null loaded, number of kmods: 0 +01:36:55 DEBUG __init__: 224 KModPackage created modules-core, depends_on: [] +01:36:55 DEBUG __init__: 224 KModPackage created modules, depends_on: ['modules-core'] +01:36:55 DEBUG __init__: 224 KModPackage created modules-internal, depends_on: ['modules-core', 'modules'] +01:36:55 DEBUG __init__: 224 KModPackage created modules-extra, depends_on: ['modules-core', 'modules'] +01:36:55 DEBUG load_config: 588 Skipping modules-rt-kvm for variants [] +01:36:55 DEBUG __init__: 224 KModPackage created modules-partner, depends_on: ['modules-core', 'modules'] +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'arch/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'block/t10-pi.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'crypto/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/accel/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/accessibility/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/acpi/video.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/acpi/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/ata/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/base/.*(kunit|test).*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/base/regmap/regmap-sdw.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/base/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/block/floppy.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/block/rnbd.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/block/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/bus/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/cdrom/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/cdx/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/char/mwave.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/char/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/clk/.*(test|kunit).*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/clk/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/counter/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/cpufreq/amd-pstate-ut.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/cpufreq/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/crypto/caam/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/crypto/cavium/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/crypto/chelsio/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/crypto/hisilicon/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/crypto/marvell/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/crypto/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/cxl/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/dax/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/dca/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/devfreq/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/dma/dmatest.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/dma/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/edac/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/extcon/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/firmware/iscsi_ibft.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/firmware/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/fsi/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gnss/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/gpio/gpio-dln2.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/gpio/gpio-ljca.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpio/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/display/drm_.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/drm.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/etnaviv/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/gud/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/hyperv/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/imagination/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/lima/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/mxsfb/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/panfrost/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/qxl/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/scheduler/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/solomon/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/gpu/drm/tests/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/tidss/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/tiny/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/ttm/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/udl/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/v3d/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/vgem/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/virtio/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/vkms/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/vmwgfx/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/xlnx/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/host1x/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/hid/.*test.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hid/hid-asus.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hid/hid-nintendo.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hid/hid-picolcd.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hid/hid-playstation.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hid/surface-hid.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hid/hid-prodikeys.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/hid/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/hte/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/hv/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hwmon/asus_wmi_sensors.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hwmon/dell-smm-hwmon.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hwmon/hp-wmi-sensors.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hwmon/intel-m10-bmc-hwmon.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hwmon/nct6775.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hwmon/ntc_thermistor.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/hwmon/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/hwspinlock/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/hwtracing/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/i2c/busses/i2c-dln2.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/i2c/busses/i2c-ljca.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/i2c/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/i3c/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/iio/adc/dln2-adc.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/iio/test/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/input/gameport/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/input/joystick/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/input/tablet/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/input/tests/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/input/touchscreen/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/input/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/interconnect/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/iommu/.*test.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/iommu/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/irqchip/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/mailbox/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/md/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/memory/dfl-emif.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/memory/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/message/fusion/mptctl.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/message/fusion/mptfc.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/message/fusion/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/message/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/mfd/dln2.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/misc/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/mux/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/amt.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/bareudp.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/bonding/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/net/can/slcan/slcan.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/net/can/usb/ems_usb.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/net/can/vcan.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/dummy.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/eql.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/8390/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/adi/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/agere/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/altera/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/amazon/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/amd/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/apm/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/asix/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/brocade/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/cavium/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/dnet.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/engleder/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/ethoc.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/fealnx.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/freescale/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/fungible/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/google/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/hisilicon/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/huawei/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/ibm/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/intel/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/jme.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/litex/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/mellanox/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/microsoft/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/myricom/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/natsemi/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/netronome/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/pensando/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/net/ethernet/rocker/rocker.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/qualcomm/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/realtek/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/renesas/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/socionext/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/vertexcom/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/wangxun/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/xilinx/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/fjes/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/geneve.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/gtp.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/net/hamradio/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/hyperv/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ifb.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ipa/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ipvlan/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/macsec.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/macvlan.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/macvtap.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/mctp/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/mdio.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/mhi_net.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/mii.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/net_failover.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/net/netdevsim/netdevsim.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/netconsole.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/nlmon.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/pcs/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/phy/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/rionet.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/net/slip/slip.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/sungem_phy.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/tap.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/team/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/thunderbolt/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/tun.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/veth.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/virtio_net.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/vmxnet3/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/vrf.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/vsockmon.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/vxlan/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/wan/hdlc.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/wireguard/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/net/wireless/virtual/mac80211_hwsim.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/net/wwan/wwan_hwsim.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/wwan/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/xen.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/nvdimm/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/nvme/host/nvme-rdma.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/nvme/target/nvmet-rdma.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/nvme/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/nvmem/nvmem_u-boot-env.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/nvmem/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/parport/parport_serial.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/parport/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/pci/pcie/aer_inject.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/pci/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/perf/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/phy/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/pinctrl/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/platform/chrome/.*test.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/platform/x86/intel/intel_vsec.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/pmdomain/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/powercap/intel_rapl_tpmi.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/powercap/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/pps/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/ptp/ptp_mock.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/ptp/ptp_dfl_tod.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/ptp/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/pwm/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/rapidio/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/regulator/arizona-micsupp.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/regulator/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/remoteproc/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/reset/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/rpmsg/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/rtc/.*test.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/rtc/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/s390/net/ism.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/s390/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/3w.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/BusLogic.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/a100u2w.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/advansys.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/am53c974.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/arcmsr.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/atp870u.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/ch.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/cxlflash/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/dc395x.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/device_handler/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/dmx3191d.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/elx/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/esp_scsi.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/fdomain.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/hpsa.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/hptiop.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/hv_storvsc.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/ibmvscsi.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/initio.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/ipr.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/ips.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/iscsi_tcp.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/libfc/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/libiscsi.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/mpi3mr/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/mvumi.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/myrb.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/myrs.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/raid_class.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/scsi_debug.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/scsi_transport_.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/sd_mod.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/ses.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/sg.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/smartpqi/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/snic/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/sr_mod.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/st.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/stex.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/virtio_scsi.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/vmw_pvscsi.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/wd719x.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/xen-scsifront.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/slimbus/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/soc/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/spi/spi-altera-dfl.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/spi/spi-dln2.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/spi/spi-ljca.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/spi/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/spmi/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/target/iscsi/cxgbit/cxgbit.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/target/sbp/sbp_target.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/target/target_core_user.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/target/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/tee/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/thermal/intel/int340x_thermal/int3406_thermal.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/thermal/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/thunderbolt/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/ufs/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/usb/atm/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/usb/gadget/function/usb_f_midi2.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/usb/image/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/usb/misc/trancevibrator.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/usb/misc/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/usb/serial/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/usb/typec/mux/nb7vpq904m.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/usb/usbip/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/usb/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/vdpa/mlx5/mlx5_vdpa.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/vdpa/pds/pds_vdpa.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/vdpa/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/vfio/pci/mlx5/mlx5-vfio-pci.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/vfio/pci/pds/pds-vfio-pc.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/vfio/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/vhost/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/video/backlight/apple_bl.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/video/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/virt/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/virtio/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/watchdog/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/xen/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/masters/ds2482.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/masters/ds2490.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/slaves/w1_ds2408.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/slaves/w1_ds2423.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/slaves/w1_ds2431.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/slaves/w1_ds2433.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/slaves/w1_ds2780.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/slaves/w1_ds2781.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/slaves/w1_ds28e04.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/slaves/w1_smem.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/slaves/w1_therm.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'fs/.*test.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/9p/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-partner', 'wants', 'fs/afs/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'fs/affs/affs.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/bcachefs/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'fs/befs/befs.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/binfmt_misc.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/cachefiles/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/ceph/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'fs/coda/coda.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/dlm/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/erofs/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/exfat/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/ext4/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/f2fs/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/fat/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'fs/fuse/cuse.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/fuse/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/gfs2/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/isofs/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/jbd2/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/lockd/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/mbcache.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/netfs/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/nfs.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'fs/nilfs2/nilfs2.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/nls/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/ntfs3/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'fs/ocfs2/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/orangefs/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/overlayfs/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/pstore/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'fs/sysv/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'fs/ubifs/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/udf/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'fs/ufs/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/vboxsf/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/xfs/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/zonefs/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'kernel/.*test.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'kernel/locking/locktorture.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'kernel/rcu/rcuscale.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'kernel/rcu/rcutorture.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'kernel/rcu/refscale.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'kernel/resource_kunit.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'kernel/scftorture.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'kernel/torture.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'kernel/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'lib/test_lockup.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'needs', 'lib/.*(test|kunit).*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'lib/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'mm/kasan/kasan_test') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'mm/kfence/.*test.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'mm/zsmalloc.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'net/.*test.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/802/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/8021q/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'net/9p/9pnet_rdma.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/9p/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/appletalk/appletalk.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/atm/br2684.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/atm/clip.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/atm/lec.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/atm/pppoatm.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ax25/ax25.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/batman-adv/batman-adv.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/bridge/br_netfilter.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/bridge/netfilter/ebt.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/bridge/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/ceph/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'net/core/pktgen.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/core/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/dns_resolver/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/hsr/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/ife/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/netfilter/arp.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/netfilter/ip[_t].*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_bic.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_highspeed.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_htcp.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_hybla.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_illinois.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_lp.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_scalable.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_vegas.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_veno.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_westwood.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_yeah.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/ipv4/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv6/netfilter/ebt.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv6/netfilter/ip6[_t].*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/ipv6/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/iucv/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/kcm/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/key/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/l2tp/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/llc/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/netfilter/ipset/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/netfilter/nft_compat.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/netfilter/xt_.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/netfilter/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/netrom/netrom.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/nsh/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/openvswitch/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/psample/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/qrtr/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/rds/rds.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/rose/rose.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-partner', 'wants', 'net/rxrpc/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_choke.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_drr.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_gred.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_mqprio.ko') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_multiq.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_netem.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_qfq.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_red.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_sfb.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_teql.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/sched/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sctp/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'wants', 'net/sunrpc/xprtrdma/rpcrdma.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/sunrpc/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/tipc/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/tls/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/vmw_vsock/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/xdp/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/xfrm/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'samples/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'sound/pci/.*test.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'sound/soc/.*test.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'virt/.*') +01:36:55 DEBUG load_config: 629 found rule: ('modules', 'default', '.*') +01:36:55 INFO load_config: 632 loaded config, rules: 459 +01:36:55 DEBUG apply_initial_labels: 403 +01:36:55 INFO propagate_labels_1: 471 +01:36:55 DEBUG settle: 455 settle start 0 +01:36:55 DEBUG settle: 461 settle 0 updated nodes: 0 +01:36:55 INFO propagate_labels_2: 484 +01:36:55 DEBUG propagate_labels_2: 509 updated nodes: 0 +01:36:55 DEBUG settle: 455 settle start 0 +01:36:55 DEBUG settle: 461 settle 0 updated nodes: 0 +01:36:55 INFO propagate_labels_3: 525 +01:36:55 DEBUG propagate_labels_3: 571 updated nodes: 0 +01:36:55 DEBUG settle: 455 settle start 0 +01:36:55 DEBUG settle: 461 settle 0 updated nodes: 0 +01:36:55 INFO print_report: 717 ************************** REPORT ************************** +01:36:55 INFO print_report: 761 No. of kmod(s) assigned to preferred package: 0 +01:36:55 INFO print_report: 762 No. of kmod(s) moved to a related package: 0 +01:36:55 INFO print_report: 763 No. of kmod(s) which could not be assigned: 0 +01:36:55 INFO print_report: 764 ************************************************************ diff --git a/ciq/git/dontdiff b/ciq/git/dontdiff new file mode 100644 index 0000000000000..c1289c5afb366 --- /dev/null +++ b/ciq/git/dontdiff @@ -0,0 +1,21 @@ +*.xz +*.bz2 +*.gpg +*.sign +.gitignore +.cvsignore +.git +configs +scripts +upstream +branches +TODO +noautobuild +mirrors +gen-patches +dontdiff +branch +gen-patches +sources +Makefile +kernel*changelog* diff --git a/ciq/gitlab/schedule-environment.yml b/ciq/gitlab/schedule-environment.yml new file mode 100644 index 0000000000000..e12c559842bb1 --- /dev/null +++ b/ciq/gitlab/schedule-environment.yml @@ -0,0 +1,3 @@ +--- +.maintenance: + environment: maintenance/$CI_JOB_NAME diff --git a/ciq/kabi-dwarf/.gitignore b/ciq/kabi-dwarf/.gitignore new file mode 100644 index 0000000000000..df967b96a579e --- /dev/null +++ b/ciq/kabi-dwarf/.gitignore @@ -0,0 +1 @@ +base diff --git a/ciq/kabi-dwarf/run_kabi-dw.sh b/ciq/kabi-dwarf/run_kabi-dw.sh new file mode 100644 index 0000000000000..2d13994fbf630 --- /dev/null +++ b/ciq/kabi-dwarf/run_kabi-dw.sh @@ -0,0 +1,77 @@ +#!/bin/sh +# Copyright(C) 2017, Red Hat, Inc., Stanislav Kozina +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Simple wrapper around the kabi-dw tool +# The purpose of the script is to ensure we can call the kabi-dw using the +# same options from both the Makefile and kernel.spec file. +# +# Usage: +# ./run_kabi-dw.sh generate stablelist module_dir kabi_dir +# ./run_kabi-dw.sh compare kabi_dir1 kabi_dir2 +# shellcheck disable=SC2164 + +DIR=$(dirname "$0") +DIR=$(cd "$DIR"; pwd) +PROG="$0" + +KABIDW=kabi-dw + +usage() { + echo "Usage:" + echo " $PROG generate stablelist module_dir kabi_dir" + echo " $PROG compare kabi_dir1 kabi_dir2" + exit 1 +} + +generate() { + if [ $# != 4 ]; then + usage + fi + WHITELIST=$2 + SRC=$3 + DST=$4 + + if [ -d "$DST" ]; then \ + rm -rf "$DST" + fi + + ${KABIDW} generate -r -s "$WHITELIST" -o "$DST" "$SRC" +} + +compare() { + if [ $# != 3 ]; then + usage + fi + A="$2" + B="$3" + ${KABIDW} compare -k "$A" "$B" +} + +if [ $# -lt 1 ]; then + usage +fi + +case "$1" in + generate ) + generate "$@" + ;; + compare ) + compare "$@" + ;; + * ) + usage + ;; +esac diff --git a/ciq/kabi/check-kabi b/ciq/kabi/check-kabi new file mode 100755 index 0000000000000..3809209adfd23 --- /dev/null +++ b/ciq/kabi/check-kabi @@ -0,0 +1,166 @@ +#!/usr/bin/python3 +# +# check-kabi - Red Hat kABI reference checking tool +# +# We use this script to check against reference Module.kabi files. +# +# Author: Jon Masters +# Copyright (C) 2007-2009 Red Hat, Inc. +# +# This software may be freely redistributed under the terms of the GNU +# General Public License (GPL). + +# Changelog: +# +# 2018/06/01 - Update for python3 by Petr Oros. +# 2009/08/15 - Updated for use in RHEL6. +# 2007/06/13 - Initial rewrite in python by Jon Masters. + +__author__ = "Jon Masters " +__version__ = "2.0" +__date__ = "2009/08/15" +__copyright__ = "Copyright (C) 2007-2009 Red Hat, Inc" +__license__ = "GPL" + +import getopt +import string +import sys + +true = 1 +false = 0 + + +def load_symvers(symvers, filename): + """Load a Module.symvers file.""" + + symvers_file = open(filename, "r") + + while true: + in_line = symvers_file.readline() + if in_line == "": + break + if in_line == "\n": + continue + checksum, symbol, directory, type, *ns = in_line.split() + ns = ns[0] if ns else None + + symvers[symbol] = in_line[0:-1] + + +def load_kabi(kabi, filename): + """Load a Module.kabi file.""" + + kabi_file = open(filename, "r") + + while true: + in_line = kabi_file.readline() + if in_line == "": + break + if in_line == "\n": + continue + checksum, symbol, directory, type, *ns = in_line.split() + ns = ns[0] if ns else None + + kabi[symbol] = in_line[0:-1] + + +def check_kabi(symvers, kabi): + """Check Module.kabi and Module.symvers files.""" + + fail = 0 + warn = 0 + changed_symbols = [] + moved_symbols = [] + ns_symbols = [] + + for symbol in kabi: + abi_hash, abi_sym, abi_dir, abi_type, *abi_ns = kabi[symbol].split() + abi_ns = abi_ns[0] if abi_ns else None + if symbol in symvers: + sym_hash, sym_sym, sym_dir, sym_type, *sym_ns = symvers[symbol].split() + sym_ns = sym_ns[0] if sym_ns else None + if abi_hash != sym_hash: + fail = 1 + changed_symbols.append(symbol) + + if abi_dir != sym_dir: + warn = 1 + moved_symbols.append(symbol) + + if abi_ns != sym_ns: + warn = 1 + ns_symbols.append(symbol) + else: + fail = 1 + changed_symbols.append(symbol) + + if fail: + print("*** ERROR - ABI BREAKAGE WAS DETECTED ***") + print("") + print("The following symbols have been changed (this will cause an ABI breakage):") + print("") + for symbol in changed_symbols: + print(symbol) + print("") + + if warn: + print("*** WARNING - ABI SYMBOLS MOVED ***") + if moved_symbols: + print("") + print("The following symbols moved (typically caused by moving a symbol from being") + print("provided by the kernel vmlinux out to a loadable module):") + print("") + for symbol in moved_symbols: + print(symbol) + print("") + if ns_symbols: + print("") + print("The following symbols changed symbol namespaces:") + print("") + for symbol in ns_symbols: + print(symbol) + print("") + + """Halt the build, if we got errors and/or warnings. In either case, + double-checkig is required to avoid introducing / concealing + KABI inconsistencies.""" + if fail or warn: + sys.exit(1) + sys.exit(0) + + +def usage(): + print(""" +check-kabi: check Module.kabi and Module.symvers files. + + check-kabi [ -k Module.kabi ] [ -s Module.symvers ] + +""") + + +if __name__ == "__main__": + + symvers_file = "" + kabi_file = "" + + opts, args = getopt.getopt(sys.argv[1:], 'hk:s:') + + for o, v in opts: + if o == "-s": + symvers_file = v + if o == "-h": + usage() + sys.exit(0) + if o == "-k": + kabi_file = v + + if (symvers_file == "") or (kabi_file == ""): + usage() + sys.exit(1) + + symvers = {} + kabi = {} + + load_symvers(symvers, symvers_file) + load_kabi(kabi, kabi_file) + check_kabi(symvers, kabi) diff --git a/ciq/kabi/diff-kabi b/ciq/kabi/diff-kabi new file mode 100755 index 0000000000000..1d506fcaf7dae --- /dev/null +++ b/ciq/kabi/diff-kabi @@ -0,0 +1,42 @@ +#!/usr/bin/env bash + +usage_desc() { + sed 's/^\t//' <&1 | grep "warning: $symbol:" || : + rm -f $symref || : +} + +# Called whenever the generate command finished successfully +cb_ready() { + : +} + +cd "$(git rev-parse --show-toplevel)" +CIQ=${CIQ:-$(pwd)/ciq/} + +# Generate new symbol checksums and symvers files +. $CIQ/kabi/symtype-generate diff --git a/ciq/kabi/kabi-module/kabi_aarch64/.gitkeep b/ciq/kabi/kabi-module/kabi_aarch64/.gitkeep new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/ciq/kabi/kabi-module/kabi_ppc64le/.gitkeep b/ciq/kabi/kabi-module/kabi_ppc64le/.gitkeep new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/ciq/kabi/kabi-module/kabi_riscv64/.gitkeep b/ciq/kabi/kabi-module/kabi_riscv64/.gitkeep new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/ciq/kabi/kabi-module/kabi_s390x/.gitkeep b/ciq/kabi/kabi-module/kabi_s390x/.gitkeep new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/ciq/kabi/kabi-module/kabi_x86_64/.gitkeep b/ciq/kabi/kabi-module/kabi_x86_64/.gitkeep new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/ciq/kabi/make-kabi b/ciq/kabi/make-kabi new file mode 100755 index 0000000000000..d6af7525daaf9 --- /dev/null +++ b/ciq/kabi/make-kabi @@ -0,0 +1,183 @@ +#!/usr/bin/python3 +# +# make-kabi - Red Hat kABI reference module generation tool +# +# We use this script to generate reference Module.kabi files. +# or add reference info to separate kabi files. +# +# Author: Jon Masters +# Copyright (C) 2007 Red Hat, Inc. +# +# This software may be freely redistributed under the terms of the GNU +# General Public License (GPL). + +# Changelog: +# +# 2018/06/01 - Update for python3 by Petr Oros. +# 2014/10/05 - Update for new kabi structure by Petr Oros. +# 2007/06/13 - Initial rewrite in python by Jon Masters. + +__author__ = "Jon Masters " +__version__ = "2.0" +__date__ = "2014/10/05" +__copyright__ = "Copyright (C) 2007 Red Hat, Inc" +__license__ = "GPL" + +import getopt +import os +import re +import string +import sys + +true = 1 +false = 0 + + +def load_symvers(symvers, filename): + """Load a reference Module.symvers file.""" + + symvers_file = open(filename, "r") + + while true: + in_line = symvers_file.readline() + if in_line == "": + break + if in_line == "\n": + continue + checksum, symbol, directory, ctype = in_line.split() + + symvers[symbol] = in_line[0:-1] + + +def load_stablelist(stablelist, order, filename): + if os.path.isfile(filename): + load_stablelist_file(stablelist, order, filename) + else: + load_stablelist_dir(stablelist, order, filename) + + +def load_stablelist_file(stablelist, order, filename): + """Load a reference stablelist file.""" + + stablelist_file = open(filename, "r") + + while true: + in_line = stablelist_file.readline() + if in_line == "": + break + if in_line == "\n": + continue + in_line.split() + if in_line[0] == "[": + continue + symbol = in_line[1:-1] + + stablelist[symbol] = [] + order.append(symbol) + + order.sort() + + +def load_stablelist_dir(stablelist, order, dirname): + """Load a reference stablelist directory.""" + + for symbol in os.listdir(dirname): + kabi_file = open(dirname + "/" + symbol, "r") + line = [] + # store version metadata + line.append(kabi_file.readline()) + # store content ( no empty line is bad state ) + line.append(kabi_file.readline()) + kabi_file.close() + if re.match("#[0-9]+-[0-9]+", line[0]): + print("Symbol {} is currently removed, ignoring".format(symbol)) + continue + stablelist[symbol] = line + order.append(symbol) + + order.sort() + + +def make_kabi_file(filename, symvers, order): + """Munge together stablelist and Module.symvers file.""" + + if os.path.isfile(filename): + print("{} already exists".format(filename)) + sys.exit(1) + + kabi_file = open(filename, "w") + + for symbol in order: + if symbol in symvers: + kabi_file.write(symvers[symbol] + "\n") + + kabi_file.close() + + +def make_kabi_dir(dirname, symvers, stablelist): + """Munge together stablelist and Module.symvers file.""" + + current_dir = os.getcwd() + os.chdir(dirname) + + for symbol in stablelist: + if symbol in symvers: + kabi_file = open(symbol, "w") + kabi_file.write(stablelist[symbol][0]) + kabi_file.write(symvers[symbol] + "\n") + kabi_file.close() + + os.chdir(current_dir) + + +def usage(): + print("""make-kabi: process Module.symvers into reference Module.kabi output file/directory using + the kabi stablelist provided as a set of symbols to filer on. + + make-kabi [ -k Module.kabi or -d (kabi-module dir) ] [ -s Module.symvers ] [ -w kabi_stablelist ] + + examples: + add checksums to files into kabi-module/kabi_x86_64/ + make-kabi -s Module.symvers -w kabi-module/kabi_x86_64/ -d + + create Module.kabi ( old style ) witch checksums + make-kabi -s Module.symvers -w kabi-module/kabi_x86_64/ -k Module.kabi""") + + +if __name__ == "__main__": + + stablelist_source = "" + symvers_file = "" + kabi_output = "" + kabi_file = true + + opts, args = getopt.getopt(sys.argv[1:], 'hk:s:w:d') + + for o, v in opts: + if o == "-s": + symvers_file = v + if o == "-h": + usage() + sys.exit(0) + if o == "-k": + kabi_output = v + kabi_file = true + if o == "-d": + kabi_file = false + if o == "-w": + stablelist_source = v + + if (stablelist_source == "") or (symvers_file == "") or (kabi_output == "" and kabi_file): + usage() + sys.exit(1) + + symvers = {} + stablelist = {} + stablelist_order = [] + + load_symvers(symvers, symvers_file) + load_stablelist(stablelist, stablelist_order, stablelist_source) + if kabi_file: + make_kabi_file(kabi_output, symvers, stablelist_order) + else: + make_kabi_dir(stablelist_source, symvers, stablelist) diff --git a/ciq/kabi/show-kabi b/ciq/kabi/show-kabi new file mode 100755 index 0000000000000..510e27e50bd8e --- /dev/null +++ b/ciq/kabi/show-kabi @@ -0,0 +1,175 @@ +#!/usr/bin/python3 +# +# show-kabi - Red Hat kABI reference module extraction tool +# +# We use this script to dump info from kabi infrastructure. +# +# Author: Petr Oros +# Copyright (C) 2014 Red Hat, Inc. +# +# This software may be freely redistributed under the terms of the GNU +# General Public License (GPL). + +# Changelog: +# +# 2018/06/01 - Update for python3 by Petr Oros. + +__author__ = "Petr Oros " +__version__ = "1.0" +__date__ = "2014/09/05" +__copyright__ = "Copyright (C) 2014 Red Hat, Inc" +__license__ = "GPL" + +import getopt +import os +import sys +import re + +def load_kabi(dirname, kabi, order, arch): + """Load a reference stablelist content.""" + + try: + archlist = [] + if arch == "": + for arch in os.listdir(dirname): + if "kabi_" in arch: + archlist.append(arch[5:]) + kabi[arch[5:]] = {} + order[arch[5:]] = [] + else: + # no kabi arch dir + continue + else: + archlist.append(arch) + kabi[arch] = {} + order[arch] = [] + + for arch in archlist: + for symbol in os.listdir(dirname + "/kabi_" + arch): + if '.' in symbol: + # skip files + continue + kabi_file = open(dirname + "/kabi_" + arch + "/" + symbol, "r") + line = [] + offset = 0 + lines = 0 + for l in kabi_file: + l = l.rstrip('\n') + m = re.match(r"^#([^0-9]+):(.*)", l) + if m: + # store index metadata + if m.group(1) == "I": + offset = int(m.group(2)) + # skip any other metadata + continue + if l.startswith("#"): + # store version metadata + line.append(l) + continue + if lines == offset: + line.append(l) + break + lines += 1 + kabi[arch][symbol] = line + order[arch].append(symbol) + kabi_file.close() + order[arch].sort() + except OSError as err: + print("Invalid arch: {}".format(arch)) + print(str(err)) + sys.exit(1) + + +def check_struct(dirname): + match_files = 0 + try: + if os.path.isdir(dirname): + for arch_dir in os.listdir(dirname): + if os.path.isdir(dirname + "/" + arch_dir): + match_files += len(os.listdir(dirname + "/" + arch_dir)) + else: + return -1 + return match_files + except OSError: + print("Invalid kabi-module/ root directory") + print("Use -k param to specify right path") + sys.exit(1) + + +def show_kabi(kabi, order, release, fmt, show_head): + rhel_minor = release.split('.', 1)[-1] + if rhel_minor == "": + rhel_minor = sys.maxsize + else: + rhel_minor = int(rhel_minor) + for current_arch in kabi: + if show_head and (fmt == "stablelist"): + print("[rhel9_{}_stablelist]".format(current_arch)) + for sym in order[current_arch]: + if kabi[current_arch][sym][0][0] != "#": + print("Invalid metadata format: {}".format(kabi[current_arch][sym][0])) + sys.exit(1) + minor_range = kabi[current_arch][sym][0][1:].split("-", 2) + minor_range[0] = int(minor_range[0]) + if minor_range[1] == "": + minor_range[1] = sys.maxsize + else: + minor_range[1] = int(minor_range[1]) + if minor_range[0] > rhel_minor: + continue + if (minor_range[1] <= rhel_minor) and (minor_range[1] != sys.maxsize): + continue + # format Module.kabi_$arch styled file + if fmt == "module": + print(kabi[current_arch][sym][1]) + # format kabi_stablelist_$arch styled file + else: + print("\t{}".format(sym)) + + +def usage(): + print("""show-kabi: + -a arch architecture, ( default all archs ) + -k dir kabi-module root directory ( default ./kabi-module ) + -m output Module.kabi_$(arch) styled file + default output kabi_stablelist_$(arch) styled file + -r release release, for example 8.1 ( default latest ) + -s show header ( no headers like [rhel9_x86_64_stablelist] ) + -h this help""") + + +if __name__ == "__main__": + + kabi = {} + kabi_order = {} + arch = "" + kabi_dir = "kabi-module" + release = "" + kabi_head = False + kabi_out = "stablelist" + + opts, args = getopt.getopt(sys.argv[1:], 'a:k:mr:sh') + + for o, v in opts: + if o == "-a": + arch = v + if o == "-k": + kabi_dir = v + if o == "-m": + kabi_out = "module" + if o == "-r": + release = v + if o == "-s": + kabi_head = True + if o == "-h": + usage() + sys.exit(0) + + if check_struct(kabi_dir) < 0: + print("Invalid directory structure!!!") + print("kabi-module/ specified as root must contain") + print("arch specific directories like kabi_ppc64...") + sys.exit(1) + + load_kabi(kabi_dir, kabi, kabi_order, arch) + show_kabi(kabi, kabi_order, release, kabi_out, kabi_head) diff --git a/ciq/kabi/symtype-generate b/ciq/kabi/symtype-generate new file mode 100755 index 0000000000000..ee4c404a51a15 --- /dev/null +++ b/ciq/kabi/symtype-generate @@ -0,0 +1,678 @@ +#!/usr/bin/env bash + +unset MAKEFLAGS +unset CPP +unset ARCH +unset SYMBOL + +set -euo pipefail + +usage() { + sed 's/^\t//' <&2; } +warn() { echo -e "WARNING:" "$@" >&2; } + +cleanup() { + [ -z "${TEMP_FILES[@]:-}" ] && return + echo0 "Cleaning up temporary files ..." + rm -f "${TEMP_FILES[@]}" +} + +# find files containing symbol export statements of the form MACRO(NAME), +# where symbol name NAME is the entire symbol name and MACRO is one of: +# ACPI_EXPORT_SYMBOL +# ACPI_EXPORT_SYMBOL_INIT +# EXPORT_DATA_SYMBOL +# EXPORT_DATA_SYMBOL_GPL +# EXPORT_INDIRECT_CALLABLE +# EXPORT_PER_CPU_SYMBOL +# EXPORT_PER_CPU_SYMBOL_GPL +# EXPORT_STATIC_CALL +# EXPORT_STATIC_CALL_GPL +# EXPORT_STATIC_CALL_TRAMP +# EXPORT_STATIC_CALL_TRAMP_GPL +# EXPORT_SYMBOL +# EXPORT_SYMBOL_FOR_TESTS_ONLY +# EXPORT_SYMBOL_GPL +# EXPORT_SYMBOL_NS +# EXPORT_SYMBOL_NS_GPL +# EXPORT_TRACEPOINT_SYMBOL +# EXPORT_TRACEPOINT_SYMBOL_GPL +# export_try_find SYMBOL|REGEX +export_tryfind() { + grep -Prol --exclude-dir=redhat "^(ACPI_)?EXPORT_(DATA_|INDIRECT_CALLABLE|STATIC_CALL|TRACEPOINT_)?(PER_CPU_)?(SYMBOL|_TRAMP)?(_NS)?(_GPL|_INIT)?\($1(,[^)]*)?\);" || : +} + +symbol_tryfind_symversions() { + # __crc_SYMBOL = CHECKSUM + # SECTIONS { .rodata : ALIGN(4) { __crc_SYMBOL = .; LONG(CHECKSUM); } } + grep -R --include="*.symversions" --exclude-dir=redhat -H -Po \ + "^__crc_\K$1 = .*(?=;)" | tr -d ' ' && return || : + grep -R --include "*.symversions" --exclude-dir=redhat -H -Po \ + "__crc_\K$1[ =].*0x[[:xdigit:]]+" \ + | sed -e 's/ = .*\(0x[[:xdigit:]]\+\).*/=\1/' + +} + +# batch call to export_tryfind, limited to 10 symbols at the time to make sure +# argv doesn't overflow +# export_tryfind SYMBOL... +batch() { + local fn=$1 + shift 1 + local o=1 + local d=10 + while [ $o -le $# ]; do + [ $o -gt $# ] && d=$((o-$#)) + # pass an array of symbols S1...Sn as a regex (S1|...|Sn) + $fn $( + echo ${@:$o:$d} \ + | sed -e 's/ /|/g' -e 's/^/(/' -e 's/$/)/' + ) + o=$((o+d)) + done | sort | uniq +} + +src_to_symversions() { + sed 's/\.[cS]$/.symversions/' +} + +src_to_symtypes() { + sed 's/\.[cS]$/.symtypes/' +} + +dump_failed_symbols() { + echo1 "Couldn't find the following symbols using this method:" >&3 + for sym in ${SYMFAIL[@]}; do + echo2 $sym >&3 + done +} + +prepare_stage() { + # SYMBOL lists symbols to be searched + # SYMFAIL lists symbols that failed in the previous run + SYMBOL=(${SYMFAIL[@]}) + SYMFAIL=() + TARGETS=() + FILE=() +} + +process_Module_symvers() { + [ ! -e Module.symvers ] && return 1 + + # read checksums into SYMCRC + local IFS=$'\n' + for sym in $(comm -12 <(cut -f2 Module.symvers | sort) \ + <(echo ${SYMBOL[@]} | tr ' ' '\n' | sort)); do + symcrc=$(grep -Po "^0x[[:xdigit:]]+(?=\t$sym\t)" Module.symvers) + file=$(grep -El -m 1 -r --include="*.symtypes" \ + --exclude-dir=redhat "^[a-zA-Z#]{,2}$sym " | head -n1) + [ -z "$file" ] && continue + SYMCRC[$sym]=$symcrc + SYMFILE_T[$sym]=$file + SYMFILE_V[$sym]=Module.symvers + [ -e "${file/.symtypes/.c}" ] && file="${file/.symtypes/.c}" + [ -e "${file/.symtypes/.S}" ] && file="${file/.symtypes/.S}" + SYMFILE[$sym]=$file + echo3 "Found $sym in $file (crc: $symcrc)," \ + "V: ${SYMFILE_V[$sym]}," \ + "T: ${SYMFILE_T[$sym]}," \ + "F: ${SYMFILE[$sym]}." >&3 + done + + return 0 +} + +process_symversions() { + # read checksums into SYMCRC and update stablelist, output format: + # filename.symversions:__crc_symbolname = 0x0000.. + for match in $(batch symbol_tryfind_symversions "$@"); do + file=${match%:*} + symcrc=${match#*:} + sym=${symcrc%%=*} + SYMCRC[$sym]=${symcrc##*=} + SYMFILE_V[$sym]=$file + SYMFILE_T[$sym]=${file/.symversions/.symtypes} + [ -e ${file/.symversions/.c} ] && file=${file/.symversions/.c} + [ -e ${file/.symversions/.S} ] && file=${file/.symversions/.S} + SYMFILE[$sym]=$file + echo3 "Found $sym in $file (crc: $symcrc)," \ + "V: ${SYMFILE_V[$sym]}," \ + "T: ${SYMFILE_T[$sym]}," \ + "F: ${SYMFILE[$sym]}." >&3 + done +} + +# generate MAKE_TARGET... +generate() { + if [ $# -eq 0 ]; then + echo "No targets given to generate." + SYMFAIL=(${SYMBOL[@]}) + return 1 + fi + + echo1 "Building symtype and symversion files ..." + for file in $@; do + echo2 "$file" >&3 + done + + # batch build at most 100 targets (symvers, symtypes files) + while [ $# -gt 0 ]; do + if [ $# -gt 100 ]; then + make ${MAKE_ARGS[@]} ${@:1:100} >&3 2>&3 || : + shift 100 + else + make ${MAKE_ARGS[@]} ${@:1:$#} >&3 2>&3 || : + shift $# + fi + done + + if ! process_Module_symvers; then + process_symversions "${SYMBOL[@]}" + fi + + echo1 "Looking for eligible symbol checksum updates ..." >&3 + for sym in ${SYMBOL[@]}; do + if [ -z "${SYMCRC[$sym]:-}" ]; then + echo3 "Couldn't find crc for $sym" >&3 + [[ ! " ${SYMFAIL[*]} " =~ " $sym " ]] && SYMFAIL+=($sym) + continue + fi + if [ ! -e "${SYMFILE[$sym]:-}" ]; then + echo3 "Couldn't find source file for $sym" >&3 + continue + fi + if [ ! -e "${SYMFILE_V[$sym]:-}" ]; then + echo3 "Couldn't find version file for $sym" >&3 + continue + fi + if [ ! -e "${SYMFILE_T[$sym]:-}" ]; then + echo3 "Couldn't find symtypes file for $sym" >&3 + continue + fi + cb_checksum $CARCH $sym ${SYMCRC[$sym]:-} ${SYMFILE[$sym]} \ + ${SYMFILE_V[$sym]} ${SYMFILE_T[$sym]} + done + + if [ -z "${SYMFAIL:-}" ]; then + cb_ready + return 0 + fi + + return 1 +} + +# process argv + +OPTIND=1 + +while getopts "TC12345hva:f:s:" opt; do + case "$opt" in + T) + CONFIG_NO_TEST=y + ;; + C) + CONFIG_NO_CLEAN=y + ;; + 1) + CONFIG_NO_METH1=y + ;; + 2) + CONFIG_NO_METH2=y + ;; + 3) + CONFIG_NO_METH3=y + ;; + 4) + CONFIG_NO_METH4=y + ;; + 5) + CONFIG_NO_METH5=y + ;; + 6) + CONFIG_NO_METH6=y + ;; + h) + usage + ;; + v) + V=1 + ;; + s) + USE_ENTIRE_STABLELIST=0 + [ -z "${CARCH:-}" ] && usage + if [ "$OPTARG" = "-" ]; then + SYMBOL+=($(cat)) + continue + fi + SYMBOL+=($OPTARG) + ;; + a) + CARCH=$OPTARG + ;; + esac +done +shift $((OPTIND-1)) + +CARCH=${CARCH:-$(uname -m)} +SOURCES=("${@:-}") + +if [ "$CARCH" = "$(uname -m)" ]; then + if ! command -v "$CPP" &> /dev/null; then + echo "ERROR: native gcc not found." + exit 1 + fi +else + if [ -z "${CROSS_COMPILE:-}" ]; then + CROSS_COMPILE="${KABI_CROSS_COMPILE_PREFIX}" + CROSS_COMPILE+="$CARCH" + CROSS_COMPILE+="${KABI_CROSS_COMPILE_SUFFIX}" + fi + + if ! [ -e "$CROSS_COMPILE$CPP" ]; then + echo "ERROR: $arch $CPP not found ($CROSS_COMPILE$CPP)" + exit 1 + fi + + MAKE_ARGS+=(ARCH=${CC_ARCH[$CARCH]} CROSS_COMPILE=$CROSS_COMPILE) +fi + +# Set up is_verbose fd +if [ ${V:-0} -gt 0 ]; then + exec 3>&1 + export PS4='$LINENO: ' + set -x +else + exec 3> /dev/null +fi + +export BASH_XTRACEFD="3" + +if [ -z "$CARCH" ]; then + err "No architecture specified." + usage +fi + +if [ ! -d "$REDHAT/kabi/kabi-module/kabi_$CARCH" ]; then + err "Architecture $CARCH not supported." + exit 1 +fi + +trap cleanup EXIT + +# --- prep + +cd "$(git rev-parse --show-toplevel)" + +REDHAT=${REDHAT:-$(pwd)/ciq/} + +if [ $USE_ENTIRE_STABLELIST -eq 1 ]; then + SYMBOL=($(find $REDHAT/kabi/kabi-module/kabi_$CARCH -type f \ + -not -name ".*" -exec basename {} \; | sort | uniq)) + if [ -z "${SYMBOL[*]}" ]; then + err "No symbols found on stablelist. Nothing to do." + exit + fi +elif [ -z "${SYMBOL[*]}" ]; then + err "No symbols given. Nothing to do." + exit +fi + +echo0 "The following symbol entries will be updated:" + +for symbol in ${SYMBOL[@]}; do + if find $REDHAT/kabi/kabi-module/${CARCH/#/kabi_} -name $symbol \ + -exec false {} + &> /dev/null; then + echo1 "$symbol (not found on ${CARCH} stablelist)" + else + echo1 "$symbol" + fi +done + +if [ -z "${CONFIG_NO_CLEAN+x}" ]; then + make -j$(nproc) V=$V mrproper >&3 2>&3 +fi + +if [ ! -e $REDHAT/configs/kernel*$CARCH.config ]; then + echo0 "Generating config files ..." + make dist-configs V=$V >&3 +fi + +cp $REDHAT/configs/kernel*$(uname -m).config .config + +echo0 "Building scripts (genksyms) ..." + +make -j$(nproc) V=$V scripts >&3 2>&3 # -> genksyms, requires native cc + +cp $REDHAT/configs/kernel*$CARCH.config .config + +if [ -z "${CONFIG_NO_TEST+x}" ]; then + TEST_FILE=$({ grep -rl EXPORT_SYMBOL net/core net/ . || : ; } | head -n1) + TEST_SYMVERSIONS="$(printf "$TEST_FILE" | src_to_symversions)" + TEST_SYMTYPES="$(printf "$TEST_FILE" | src_to_symtypes)" + echo1 "Checking that genksyms works as expected on a test file" \ + "$TEST_FILE, expecting $TEST_SYMVERSIONS, $TEST_SYMTYPES ..." >&3 + make V=$V ${MAKE_ARGS[@]} $TEST_SYMVERSIONS $TEST_SYMTYPES >&3 2>&3 + if [ ! -e $TEST_SYMVERSIONS -o ! -e $TEST_SYMTYPES ]; then + warn "An attempt to test genksyms failed. Please re-run with" \ + "-v and inspect the output and git diff to make sure" \ + "that the script works correctly." + fi +fi + +# --- + +queue_target() { + for f in "$@"; do + symv=($(printf "$f" | src_to_symversions)) + symt=($(printf "$f" | src_to_symtypes)) + + # ensure it's not queued already + if [[ ! " ${FILE[*]} " =~ " $symv " ]]; then + FILE+=($symv) + echo1 "$f: queued targets: $symv" >&3 + fi + + if [[ ! " ${FILE[*]} " =~ " $symt " ]]; then + FILE+=($symt) + echo1 "$f: queued targets: $symt" >&3 + fi + done +} + +targets_from_srclist() { + for src in "${@:-}"; do + if ! [ -e "$src" ]; then + err "File \`$src' not found!" + exit 1 + fi + queue_target "$src" + done +} + +targets_from_symlist() { + for sym in ${@:-}; do + if ! [ -e $REDHAT/kabi/kabi-module/kabi_$CARCH/$sym ]; then + echo1 "$sym not found in $CARCH stablelist, skipping" \ + "(missing: $REDHAT/kabi/kabi-module/kabi_$CARCH/$sym)" >&3 + [[ ! " ${SYMFAIL[*]} " =~ " $sym " ]] && SYMFAIL+=($sym) + continue + fi + src="$(grep -Po '^#P:\K.*' $REDHAT/kabi/kabi-module/kabi_$CARCH/$sym || :)" + if [ -z "$src" ]; then + echo1 "$sym does not reference source file, skipping" \ + "(missing: $REDHAT/kabi/kabi-module/kabi_$CARCH/$sym)" >&3 + [[ ! " ${SYMFAIL[*]} " =~ " $sym " ]] && SYMFAIL+=($sym) + continue + fi + if ! [ -e "$src" ]; then + echo1 "$sym: source $src got moved or removed, skipping" >&3 + [[ ! " ${SYMFAIL[*]} " =~ " $sym " ]] && SYMFAIL+=($sym) + continue + fi + queue_target "$src" + done +} + +targets_cscope() { + command -v cscope >&3 || return + for sym in "${@:-}"; do + queue_target $(cscope -k -d -L1$sym | cut -f1 -d' ' || :) + done +} + +targets_from_symlist_any() { + for sym in ${@:-}; do + fil=($(find $REDHAT/kabi/kabi-module/ -type f -name "$sym")) + if [ ${#fil[@]} -eq 0 ]; then + echo1 "$sym not found in any stablelist, skipping" \ + "(missing: $REDHAT/kabi/kabi-module/*/$sym)" >&3 + [[ ! " ${SYMFAIL[*]} " =~ " $sym " ]] && SYMFAIL+=($sym) + continue + fi + for f in ${fil[@]}; do + queue_target $(grep -Po '^#P:\K.*' $f | sort | uniq || :) + done + done +} + +targets_naive() { + # symbol got moved, naive greedy search for export statement + # can produce any non-negative number of results: + # #res > 1 : arch-specific code may yield multiple files in arch, + # leaving it to kbuild to fail instead of trying to + # mask them + # #res = 1 : ok, provided this is not a false positive (we can + # tell that when we generate checksums) + # #res = 0 : this may occur when the export symbol call/symbol + # name is composed using preprocessor concatenation; + # in this case we are forced to generate all checksums + for src in $(batch export_tryfind "$@"); do + queue_target "$src" + done +} + +targets_dry_run() { + queue_target $({ make ${MAKE_ARGS[@]} --dry-run 2>&3 || : ; } \ + | grep -E '(gcc|as)' \ + | grep -Po " \K[a-zA-Z0-9][^ ,.]*[^/ ,.]\.[cS]" \ + | sort \ + | uniq \ + | sed 's/^\(.*\)\.[cS]$/\1.symtypes\n\1.symversions/g') +} + +targets_compile() { + declare -A wrappers + local template=$(mktemp -t -u "kabi-wrapper-XXXXXXXXX") + local list=$(mktemp -u "kabi-list-XXXXXXXXX") + TEMP_FILES=("${TEMP_FILES[@]}" "$list") + for wrapper in $(grep -Po '= \$\(CROSS_COMPILE\)\K.*' Makefile); do + wrappers[$wrapper]=$template-$wrapper + TEMP_FILES=("${TEMP_FILES[@]}" "${wrappers[$wrapper]}") + bin=${CROSS_COMPILE:-}$wrapper list=$list envsubst '$bin $list' \ + > "${wrappers[$wrapper]}" <<-'EOF' + #!/usr/bin/env bash + echo "$*" | grep -Po " \K[a-zA-Z0-9_/-]+\.[cS]" | tr ' ' '\n' >> $list + $bin "$@" + EOF + chmod +x "${wrappers[$wrapper]}" + done + make ${MAKE_ARGS[@]} CROSS_COMPILE="$template-" >&3 2>&3 || : + # no need to build symvers, using Module.symvers instead + queue_target $(cat $list | src_to_symtypes | sort | uniq) +} + +SYMFAIL=(${SYMBOL[@]}) + +if [ -z "${CONFIG_NO_METH1+x}" -a $# -gt 0 ]; then + prepare_stage + echo0 "Updating stablelist using user-supplied files ..." + targets_from_srclist "${SOURCES[@]}" + generate "${FILE[@]}" && exit 0 || : + dump_failed_symbols +fi + +if [ -z "${CONFIG_NO_METH2+x}" ]; then + prepare_stage + echo0 "Updating stablelist using stablelist-provided files (arch specific) ..." + targets_from_symlist "${SYMBOL[@]}" + generate "${FILE[@]}" && exit 0 || : + dump_failed_symbols + + prepare_stage + echo0 "Updating stablelist using stablelist-provided files (any archs) ..." + targets_from_symlist_any "${SYMBOL[@]}" + generate "${FILE[@]}" && exit 0 || : + dump_failed_symbols +fi + +if [ -z "${CONFIG_NO_METH3+x}" ]; then + prepare_stage + echo0 "Updating stablelist using cscope-provided files ..." + targets_cscope "${SYMBOL[@]}" + generate "${FILE[@]}" && exit 0 || : + dump_failed_symbols +fi + +if [ -z "${CONFIG_NO_METH4+x}" ]; then + prepare_stage + echo0 "Updating stablelist using naive method ..." + targets_naive "${SYMBOL[@]}" + generate "${FILE[@]}" && exit 0 || : + dump_failed_symbols +fi + +if [ -z "${CONFIG_NO_METH5+x}" ]; then + prepare_stage + echo0 "Updating stablelist greedy method (this might take some time) ..." + targets_dry_run + generate "${FILE[@]}" && exit 0 || : + dump_failed_symbols +fi + +if [ -z "${CONFIG_NO_METH6+x}" ]; then + prepare_stage + echo0 "Updating stablelist by compiling the kernel (this might take some time) ..." + targets_compile + generate "${FILE[@]}" && exit 0 +fi + +err "could not update all of the symbol checksums required:" +for sym in ${SYMFAIL[@]}; do + printf "\t%s\n" "$sym" +done +exit 1 diff --git a/ciq/kabi/symtypes b/ciq/kabi/symtypes new file mode 100755 index 0000000000000..2ce572ba25c58 --- /dev/null +++ b/ciq/kabi/symtypes @@ -0,0 +1,238 @@ +#!/usr/bin/env python3 + +import os, sys, argparse, re, difflib, json + +def jsonKeys2int(x): + try: + if isinstance(x, dict): + return {int(k):v for k,v in x.items()} + return x + except ValueError: + return x + +def symtypes_parse(path, data = None): + if not data: + data = { + 'children': { 0 : []}, + 'parents': { 0 : []}, + 'strtab': ["(root)"], + 'index' : {}, + 'file' : { } + } + + bpath = os.path.basename(path) + data["file"] = {} + data["file"][bpath] = { 0 : "" } + + with open(path, 'r') as fp_ref: + for line in fp_ref.readlines(): + lsplit = line.split(' ') + root = lsplit.pop(0) + children = list(filter(lambda x: len(x) > 2 and (x[1] == '#' or x == "UNKNOWN"), lsplit)) + if root in data["index"]: + idx = data["index"][root] + if idx in data["children"] and len(data["children"][idx]) > 0: + continue + index = data_add(data, root, 0, bpath, line) + for child in children: + child_index = data_add(data, child, index, "", "") + return data + +def data_add(data, ident, parent, bpath, line): + index = data['strtab'].index(ident) if ident in data['strtab'] else -1 + if index == -1: + index = len(data['strtab']) + data['strtab'].append(ident) + data['index'][ident] = index + data['children'][parent].append(index) + if index not in data['children']: + data['children'][index] = [] + if index in data['parents']: + if parent not in data['parents'][index]: + data['parents'][index].append(parent) + else: + data['parents'][index] = [parent] + if bpath and line: + data['file'][bpath][index] = line + return index + +#def symtypes_dfs(data_a, source, sink, trace, inverse = False): +# print(' > '.join(list(map(lambda i: data_a['strtab'][i], path + [e])))) +def symtypes_dfs(data, start, inverse=False, full=False): + start_i = data["index"][start] + stack = [(start_i,[start_i])] + visited = set() + paths = [] + while stack: + (node, path) = stack.pop() + if full and node in path[:-1]: + continue + if not full: + if node in visited: + continue + visited.add(node) + paths.append(path) + if not inverse: + for child in reversed(data["children"][node]): + stack.append((child, path + [child])) + else: + for child in reversed(data["parents"][node]): + if child == 0: + continue + stack.append((child, path + [child])) + + return visited, paths + +def st_open(path): + if not path: + raise ValueError("Blank blank.") + if not os.path.exists(path): + raise OSError(f"Path {path} does not exist.") + with open(path, "r") as f: + try: + return json.load(f, object_hook=jsonKeys2int) + except ValueError: + pass + return symtypes_parse(path) + +def st_write(path, data): + with open(path, "w+") as f: + if "file" in data: + del data["file"] + json.dump(data, f) + +def index(symtype, output): + data = st_open(symtype) + if output: + st_write(output, data) + return data + +def st_print(node): + if node[1] != '#': + return node + if node[0] == 's': + return "struct " + node[2:] + if node[0] == 't': + return "typedef " + node[2:] + if node[0] == 'E': + return "enum const " + node[2:] + if node[0] == 'e': + return "enum " + node[2:] + if node[0] == 'u': + return "union " + node[2:] + return node + +def im(file, dump_list, dump_path, dump_tree, start, inverse, silent): + data = index(file, None) + + if start not in data["index"]: + if not silent: + print(f"Node {start} not found in file {file}. Exitting.") + sys.exit(1) + + nodes, paths = symtypes_dfs(data, start, inverse) + + if dump_list: + for node in map(lambda i: data['strtab'][i], nodes): + print(f"{st_print(node)} (symtype node: {node})") + + if not dump_path and not dump_tree: + return + + for path in paths: + if dump_tree: + print((len(path)-1)*" " + " - " + f"{st_print(data['strtab'][path[-1]])} (symtype node: {data['strtab'][path[-1]]})"); + continue + if dump_path: + print(list(map(lambda i: data["strtab"][i], path))) + +def diff(ref, new, start): + data_ref = index(ref, None) + data_new = index(new, None) + + nodes_ref, _ = symtypes_dfs(data_ref, start) + nodes_new, _ = symtypes_dfs(data_new, start) + + nodes_ref_lbl = set(map(lambda i: data_ref['strtab'][i], nodes_ref)) + nodes_new_lbl = set(map(lambda i: data_new['strtab'][i], nodes_new)) + nodes_all = nodes_ref_lbl | nodes_new_lbl + nodes_13 = nodes_all - nodes_ref_lbl + nodes_23 = nodes_all - nodes_new_lbl + + if nodes_23: + print("The following nodes were encountered only in reference symtypes:") + print("\t" + "\n\t".join(nodes_23)) + + if nodes_13: + print("The following nodes were encountered only in new symtypes:") + print("\t" + "\n\t".join(nodes_13)) + + bpath_a = os.path.basename(ref) + bpath_b = os.path.basename(new) + for node in nodes_all - (nodes_13 | nodes_23): + idx_a = data_ref['index'][node] + idx_b = data_new['index'][node] + r = set(map(lambda i: data_ref['strtab'][i], data_ref['children'][idx_a])) + n = set(map(lambda i: data_new['strtab'][i], data_new['children'][idx_b])) + + if r == n: + continue + + i = ["\t"+data_ref['file'][bpath_a][idx_a]], \ + ["\t"+data_new['file'][bpath_b][idx_b]] + + if i[0] != i[1]: + print(f"Possible breakage detected for {st_print(node)} (symtype node: {node}) ...") + if len(n) == 1 and "UNKNOWN" in n: + print("\treplaced by UNKNOWN. Please inspect changes to #include directives") + if len(r) == 1 and "UNKNOWN" in r: + print("\tUNKNOWN got replaced. Please inspect changes to #include directives") + diff = difflib.ndiff(i[0], i[1]) + print(''.join(diff), end="") + + +if __name__ == "__main__": + parser = argparse.ArgumentParser() + + subparsers = parser.add_subparsers(help='Modes of operation.', + dest="mode") + parser_index = subparsers.add_parser('index', + help='Calculate symtypes index.') + parser_image = subparsers.add_parser('image', + help='Show type/symbol dependencies.') + parser_preimage = subparsers.add_parser('preimage', + help='Show type/symbol preimage.') + parser_df = subparsers.add_parser('diff', + help='Calculate simple symtype diff.') + + parser_index.add_argument('-o', '--output', type=str, required=True, + help='Output index file.') + parser_index.add_argument('symtype', type=str) + + for p in [ parser_image, parser_preimage ]: + p.add_argument('-i', '--index', action='store_true', + help="Input is an index file.") + p.add_argument('-S', '--silent', action='store_true') + p.add_argument('-l', '--ls', action='store_true', + help="List dependent nodes.") + p.add_argument('-p', '--path', action='store_true', + help="List paths to dependent nodes.") + p.add_argument('-t', '--tree', action='store_true', + help="Dump tree.") + p.add_argument('-s', '--start', type=str, nargs='?', + help="Start symtype entry/entries.") + p.add_argument('symtype', type=str) + + parser_df.add_argument('reference', type=str) + parser_df.add_argument('new', type=str) + parser_df.add_argument('-s', '--start', type=str, nargs='?', + help="Start symtype entry/entries.") + + args = parser.parse_args() + + if args.mode == "index": + index(args.symtype, args.output) + elif args.mode == "image" or args.mode == "preimage": + im(args.symtype, args.ls, args.path, args.tree, args.start, args.mode == "preimage", args.silent) + elif args.mode == "diff": + diff(args.reference, args.new, args.start) diff --git a/ciq/kabi/update-kabi b/ciq/kabi/update-kabi new file mode 100755 index 0000000000000..c050d4813eabf --- /dev/null +++ b/ciq/kabi/update-kabi @@ -0,0 +1,125 @@ +#!/usr/bin/env bash + +usage_desc() { + sed 's/^\t//' < $stable_entry + + echo2 "Added symbol \`$sym' for architecture \`$arch' ($checksum)." + emit_line_from_Module_symvers $arch $symbol || : +} + +cb_checksum_update() { + local arch="$1" + local symbol="$2" + local checksum="$3" + local file="$4" + local symversions="$5" + local symtypes="$6" + + local prev_index="$7" + local prev_csum="$8" + #prev_symbol $9 unused + local prev_obj="${10}" + local prev_macro="${11}" + local prev_ns="${12:-}" + + local stable_entry=$CIQ/kabi/kabi-module/kabi_$arch/$symbol + local index=$(grep -v '^#' $stable_entry | wc -l) + + if [ "$prev_csum" = "$checksum" ]; then + echo2 "Symbol checksum of \`$sym' for architecture \`$arch' unchanged." + return + fi + + sed -i -e "s#\#P:.*#\#P:$file#" -e "s/#I:[0-9]\+/#I:$index/" \ + $stable_entry + if ! emit_line_from_Module_symvers $arch $symbol; then + emit_line $checksum $symbol $prev_obj $prev_macro $prev_ns + fi >> $stable_entry + + echo2 "Updated symbol \`$sym' for architecture \`$arch'" \ + "($prev_csum -> $checksum)." +} + +# Called whenever a new symbol checksum is obtained +# cb_checksum ARCH SYMBOL CHECKSUM FILE SYMVERSIONS_FILE SYMTYPES_FILE +cb_checksum() { + local arch="$1" + local symbol="$2" + local checksum="$3" + local symversions="$5" + local symtypes="$6" + local stable_entry=$CIQ/kabi/kabi-module/kabi_$arch/$symbol + + cp $symtypes $CIQ/kabi/kabi-module/kabi_$arch/.$symbol + + if [ -e $stable_entry ]; then + prev_index=$(grep -Po "^#I:\K[0-9]+" $stable_entry) + cb_checksum_update "$@" $prev_index $( + IFS=' ' grep -v "^#" $stable_entry \ + | head -n$((${prev_index}+1)) \ + | tail -n1 + ) + return + fi + + cb_checksum_new "$@" +} + +# Called whenever the generate command finished successfully +cb_ready() { + # no more symbols, nothing to do + : +} + +cd "$(git rev-parse --show-toplevel)" +CIQ=${CIQ:-$(pwd)/ciq/} + +# Generate new symbol checksums and symvers files +. $CIQ/kabi/symtype-generate diff --git a/ciq/kernel-headers.spec.template b/ciq/kernel-headers.spec.template new file mode 100644 index 0000000000000..ade41b04d7d44 --- /dev/null +++ b/ciq/kernel-headers.spec.template @@ -0,0 +1,112 @@ +# For a stable, released kernel, released_kernel should be 1. For rawhide +# and/or a kernel built from an rc or git snapshot, released_kernel should +# be 0. +%global released_kernel %%SPECRELEASED_KERNEL%% + +%%SPECBUILDID%% +%define specversion %%SPECVERSION%% +%define tarfile_release %%SPECTARFILE_RELEASE%% +# This is needed to do merge window version magic +# This allows pkg_release to have configurable %%{?dist} tag +%define specrelease %%SPECRELEASE%% + +# This package doesn't contain any binary, thus no debuginfo package is needed +%global debug_package %{nil} + +Name: kernel-headers +Summary: Header files for the Linux kernel for use by glibc +License: ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-2-Clause) AND ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-3-Clause) AND ((GPL-2.0-only WITH Linux-syscall-note) OR CDDL-1.0) AND ((GPL-2.0-only WITH Linux-syscall-note) OR Linux-OpenIB) AND ((GPL-2.0-only WITH Linux-syscall-note) OR MIT) AND ((GPL-2.0-or-later WITH Linux-syscall-note) OR BSD-3-Clause) AND ((GPL-2.0-or-later WITH Linux-syscall-note) OR MIT) AND BSD-3-Clause AND (GPL-1.0-or-later WITH Linux-syscall-note) AND GPL-2.0-only AND (GPL-2.0-only WITH Linux-syscall-note) AND (GPL-2.0-or-later WITH Linux-syscall-note) AND (LGPL-2.0-or-later WITH Linux-syscall-note) AND (LGPL-2.1-only WITH Linux-syscall-note) AND (LGPL-2.1-or-later WITH Linux-syscall-note) AND MIT +URL: http://www.kernel.org/ +Version: %{specversion} +Release: %{specrelease} +# This is a tarball with headers from the kernel, which should be created +# using create_headers_tarball.sh provided in the kernel source package. +# To create the tarball, you should go into a prepared/patched kernel sources +# directory, or git kernel source repository, and do eg.: +# For a RHEL package: (...)/create_headers_tarball.sh -m RHEL_RELEASE +# For a Fedora package: kernel/scripts/create_headers_tarball.sh -r +Source0: kernel-headers-%{tarfile_release}.tar.xz +Obsoletes: glibc-kernheaders < 3.0-46 +Provides: glibc-kernheaders = 3.0-46 +%if "0%{?variant}" +Obsoletes: kernel-headers < %{specversion}-%{specrelease} +Provides: kernel-headers = %{specversion}-%{specrelease} +%endif + +%description +Kernel-headers includes the C header files that specify the interface +between the Linux kernel and userspace libraries and programs. The +header files define structures and constants that are needed for +building most standard programs and are also needed for rebuilding the +glibc package. + +%package -n kernel-cross-headers +Summary: Header files for the Linux kernel for use by cross-glibc + +%description -n kernel-cross-headers +Kernel-cross-headers includes the C header files that specify the interface +between the Linux kernel and userspace libraries and programs. The +header files define structures and constants that are needed for +building most standard programs and are also needed for rebuilding the +cross-glibc package. + +%prep +%setup -q -c + +%build + +%install +# List of architectures we support and want to copy their headers +ARCH_LIST="arm arm64 powerpc riscv s390 x86" + +ARCH=%_target_cpu +case $ARCH in + armv7hl) + ARCH=arm + ;; + aarch64) + ARCH=arm64 + ;; + ppc64*) + ARCH=powerpc + ;; + riscv64) + ARCH=riscv + ;; + s390x) + ARCH=s390 + ;; + x86_64|i*86) + ARCH=x86 + ;; +esac + +cd arch-$ARCH/include +mkdir -p $RPM_BUILD_ROOT%{_includedir} +cp -a asm-generic $RPM_BUILD_ROOT%{_includedir} + +# Copy all the architectures we care about to their respective asm directories +for arch in $ARCH_LIST; do + mkdir -p $RPM_BUILD_ROOT%{_prefix}/${arch}-linux-gnu/include + cp -a asm-generic $RPM_BUILD_ROOT%{_prefix}/${arch}-linux-gnu/include/ +done + +# Remove what we copied already +rm -rf asm-generic + +# Copy the rest of the headers over +cp -a * $RPM_BUILD_ROOT%{_includedir}/ +for arch in $ARCH_LIST; do +cp -a * $RPM_BUILD_ROOT%{_prefix}/${arch}-linux-gnu/include/ +done + +%files +%defattr(-,root,root) +%{_includedir}/* + +%files -n kernel-cross-headers +%defattr(-,root,root) +%{_prefix}/*-linux-gnu/* + +%changelog +%autochangelog diff --git a/ciq/kernel-local b/ciq/kernel-local new file mode 100644 index 0000000000000..8c32be5bee3bc --- /dev/null +++ b/ciq/kernel-local @@ -0,0 +1,2 @@ +# This file is intentionally left empty in the stock kernel. Its a nicety +# added for those wanting to do custom rebuilds with altered config opts. diff --git a/ciq/kernel.changelog-6.12 b/ciq/kernel.changelog-6.12 new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/ciq/kernel.changelog-9.99 b/ciq/kernel.changelog-9.99 new file mode 100644 index 0000000000000..abab515c9ece0 --- /dev/null +++ b/ciq/kernel.changelog-9.99 @@ -0,0 +1,2995 @@ +* Tue Feb 18 2025 Augusto Caringi [6.12.15-0] +- Linux v6.12.15 +Resolves: + +* Mon Feb 17 2025 Augusto Caringi [6.12.14-0] +- redhat/configs: automotive: Set CONFIG_FSCACHE=y (Augusto Caringi) +- CONFIG_CPUFREQ_DT_PLATDEV is bool now (Justin M. Forbes) +- Add some bugs to BugsFixed for the 6.12.14 update (Justin M. Forbes) +- efi,lockdown: fix kernel lockdown on Secure Boot (Ondrej Mosnacek) {CVE-2025-1272} +- Linux v6.12.14 +Resolves: + +* Sat Feb 08 2025 Justin M. Forbes [6.12.13-0] +- Config update for 6.12.13 (Justin M. Forbes) +- media: ov08x40: Don't log ov08x40_check_hwcfg() errors twice (Hans de Goede) +- media: ov08x40: Add missing '\n' to ov08x40_check_hwcfg() error messages (Hans de Goede) +- media: ov08x40: Add missing ov08x40_identify_module() call on stream-start (Hans de Goede) +- media: ov08x40: Improve ov08x40_[read|write]_reg() error returns (Hans de Goede) +- media: ov08x40: Improve ov08x40_identify_module() error logging (Hans de Goede) +- media: ov08x40: Move ov08x40_identify_module() function up (Hans de Goede) +- media: ov08x40: Get clock on ACPI platforms too (Hans de Goede) +- media: ov08x40: Get reset GPIO and regulators on ACPI platforms too (Hans de Goede) +- media: ov08x40: Move fwnode_graph_get_next_endpoint() call up (Hans de Goede) +- media: ov08x40: Properly turn sensor on/off when runtime-suspended (Hans de Goede) +- media: ov08x40: Add OF probe support (Bryan O'Donoghue) +- media: ov08x40: Rename ext_clk to xvclk (Bryan O'Donoghue) +- Reapply "init/main.c: Initialize early LSMs after arch code, static keys and calls." (Justin M. Forbes) +- Linux v6.12.13 +Resolves: + +* Sat Feb 01 2025 Justin M. Forbes [6.12.12-0] +- Revert "init/main.c: Initialize early LSMs after arch code, static keys and calls." (Justin M. Forbes) +- Linux v6.12.12 +Resolves: + +* Thu Jan 23 2025 Augusto Caringi [6.12.11-0] +- Linux v6.12.11 +Resolves: + +* Fri Jan 17 2025 Augusto Caringi [6.12.10-0] +- Linux v6.12.10 +Resolves: + +* Thu Jan 09 2025 Augusto Caringi [6.12.9-0] +- Linux v6.12.9 +Resolves: + +* Thu Jan 02 2025 Augusto Caringi [6.12.8-0] +- Fix up last of fallout from ZRAM Backend churn (Justin M. Forbes) +- Add more missing config items for ZRAM backend (Justin M. Forbes) +- redhat/configs: Re-enable ZRAM backends (Neal Gompa) +- Linux v6.12.8 +Resolves: + +* Fri Dec 27 2024 Augusto Caringi [6.12.7-0] +- Fix up CONFIG_IMX_SCMI_MISC_DRV config for Fedora (Augusto Caringi) +- Linux v6.12.7 +Resolves: + +* Thu Dec 19 2024 Augusto Caringi [6.12.6-0] +- Linux v6.12.6 +Resolves: + +* Sun Dec 15 2024 Justin M. Forbes [6.12.5-0] +- New config item for 6.12.5 (Justin M. Forbes) +- x86/cpu: Add Lunar Lake to list of CPUs with a broken MONITOR implementation (Mark Pearson) [2332094] +- Add a bug to BugsFixed (Justin M. Forbes) +- Turn off libbpf dynamic for perf on f40 (Justin M. Forbes) +- Linux v6.12.5 +Resolves: rhbz#2332094 + +* Mon Dec 09 2024 Justin M. Forbes [6.12.4-0] +- Fix up QCOM_EMAC config for Fedora (Justin M. Forbes) +- wifi: rtl8xxxu: add more missing rtl8192cu USB IDs (Hans de Goede) +- Linux v6.12.4 +Resolves: + +* Fri Dec 06 2024 Justin M. Forbes [6.12.3-0] +- Linux v6.12.3 +Resolves: + +* Thu Dec 05 2024 Justin M. Forbes [6.12.2-0] +- Add new config for 6.12.2 (Justin M. Forbes) +- Revert "udp: avoid calling sock_def_readable() if possible" (Fernando Fernandez Mancera) +- Fedora: arm64: Enable Rockchip QP HDMI driver (Peter Robinson) +- arm64: dts: rockchip: Enable HDMI on Hardkernel ODROID-M2 (Jonas Karlman) +- arm64: dts: rockchip: Enable HDMI0 on FriendlyElec CM3588 NAS (Jonas Karlman) +- arm64: dts: rockchip: Enable HDMI0 on rock-5a (Cristian Ciocaltea) +- arm64: dts: rockchip: Enable HDMI0 on rk3588-nanopc-t6 (Marcin Juszkiewicz) +- arm64: dts: rockchip: Enable HDMI0 on Orange Pi 5 (Jimmy Hon) +- arm64: dts: rockchip: add and enable gpu node for Radxa ROCK 5A (FUKAUMI Naoki) +- arm64: dts: rockchip: Enable HDMI0 on orangepi-5-plus (Cristian Ciocaltea) +- arm64: dts: rockchip: Enable HDMI0 on rk3588-evb1 (Cristian Ciocaltea) +- arm64: dts: rockchip: Enable HDMI0 on rock-5b (Cristian Ciocaltea) +- arm64: dts: rockchip: Add HDMI0 node to rk3588 (Cristian Ciocaltea) +- drm/rockchip: Add basic RK3588 HDMI output support (Cristian Ciocaltea) +- drm/rockchip: Load crtc devices in preferred order (Jonas Karlman) +- drm/rockchip: dw_hdmi: Enable 4K@60Hz mode on RK3399 and RK356x (Jonas Karlman) +- drm/rockchip: dw_hdmi: Use auto-generated tables (Douglas Anderson) +- drm/rockchip: dw_hdmi: Set cur_ctr to 0 always (Douglas Anderson) +- drm/rockchip: dw_hdmi: Add phy_config for 594Mhz pixel clock (Nickey Yang) +- drm/bridge: synopsys: Add DW HDMI QP TX Controller support library (Cristian Ciocaltea) +- redhat: Drop bpftool from kernel spec (Viktor Malik) +- Revert "add pci_hw_vendor_status()" (Justin M. Forbes) +- Linux v6.12.2 +Resolves: + +* Tue Nov 26 2024 Justin M. Forbes [6.12.1-0] +- Bluetooth: btusb: add Foxconn 0xe0fc for Qualcomm WCN785x (Mark Pearson) [2329005] +- Initial set up for stable Fedora branch (Justin M. Forbes) +- arm64: dts: qcom: x1e80100-vivobook-s15: Enable the gpu (Maud Spierings) +- tools/rtla: fix collision with glibc sched_attr/sched_set_attr (Jan Stancek) +- tools/rtla: drop __NR_sched_getattr (Jan Stancek) +- Reset RHEL_RELEASE for 6.13 (Justin M. Forbes) +- redhat: Move perf_dlfilter.h from libperf-devel to perf (Akihiko Odaki) +- Consolidate configs to common for 6.12 (Justin M. Forbes) +- Linux v6.12.1 +Resolves: rhbz#2329005 + +* Mon Nov 18 2024 Fedora Kernel Team [6.12.0-64] +- redhat/configs: cleanup CONFIG_DEV_DAX (David Hildenbrand) +- redhat/configs: cleanup CONFIG_TRANSPARENT_HUGEPAGE_MADVISE for Fedora (David Hildenbrand) +- redhat/configs: cleanup CONFIG_TRANSPARENT_HUGEPAGE (David Hildenbrand) +- redhat/configs: enable CONFIG_TRANSPARENT_HUGEPAGE on s390x in Fedora (David Hildenbrand) +- redhat/configs: automotive: Enable j784s4evm am3359 tscadc configs (Joel Slebodnick) +- Linux v6.12.0 +Resolves: + +* Sun Nov 17 2024 Fedora Kernel Team [6.12.0-0.rc7.4a5df3796467.63] +- Linux v6.12.0-0.rc7.4a5df3796467 +Resolves: + +* Sat Nov 16 2024 Fedora Kernel Team [6.12.0-0.rc7.e8bdb3c8be08.62] +- redhat/configs: delete renamed CONFIG_MLX5_EN_MACSEC (Michal Schmidt) +- rhel: disable DELL_RBU and cleanup related deps (Peter Robinson) +- crypto: rng - Ensure stdrng is tested before user-space starts (Herbert Xu) +- gitlab-ci: Add CKI_RETRIGGER_PIPELINE (Tales da Aparecida) +- redhat: configs: disable the qla4xxx iSCSI driver (Chris Leech) [RHEL-1242] +- Remove duplicated CONFIGs between automotive and RHEL (Julio Faracco) +- redhat: update self-test data for addition of automotive (Scott Weaver) +- gitlab-ci: enable automotive pipeline (Scott Weaver) +- automotive: move pending configs to automotive/generic (Scott Weaver) +- redhat/configs: change Renesas eMMC driver and dependencies to built-in (Radu Rendec) +- redhat/configs: automotive: Remove automotive specific override CONFIG_OMAP2PLUS_MBOX By removing this automotive-specific override, the configuration will default to the common configuration (CONFIG_OMAP2PLUS_MBOX=m), which enables the driver as a module. (Martin McConnell) +- Config enablement of the Renesas R-Car S4 SoC (Radu Rendec) [RHEL-44306] +- redhat/configs: automotive: Enable USB_CDNS3_TI for TI platforms (Andrew Halaney) +- redhat/configs: automotive: Enable j784s4evm SPI configs (Joel Slebodnick) +- redhat/configs: automotive: Enable TPS6594 MFD (Joel Slebodnick) +- redhat/configs: automotive: stop overriding CRYPTO_ECDH (Andrew Halaney) +- redhat/configs: automotive: Enable PCI_J721E (Andrew Halaney) +- redhat/configs: change some TI platform drivers to built-in (Enric Balletbo i Serra) +- redhat/configs: automotive: Enable TI j784s4evm display dependencies (Andrew Halaney) +- redhat/configs: automotive: match ark configs to cs9 main-automotive (Shawn Doherty) [RHEL-35995] +- redhat/configs: automotive: Enable TI's watchdog driver (Andrew Halaney) +- redhat/configs: automotive: Enable TI's UFS controller (Andrew Halaney) +- redhat/configs: automotive: Enable networking on the J784S4EVM (Andrew Halaney) [RHEL-29245] +- Disable unsupported kernel variants for automotive (Don Zickus) +- Disable CONFIG_RTW88_22BU (Don Zickus) +- redhat: Delete CONFIG_EFI_ZBOOT to use the common CONFIG (Julio Faracco) +- redhat: Update automotive SPEC file with new standards (Julio Faracco) +- redhat: Disable WERROR for automotive temporarily (Julio Faracco) +- redhat: Update spec file with automotive macros (Julio Faracco) +- redhat: Add automotive CONFIGs (Julio Faracco) +- Linux v6.12.0-0.rc7.e8bdb3c8be08 +Resolves: RHEL-1242, RHEL-29245, RHEL-35995, RHEL-44306 + +* Fri Nov 15 2024 Fedora Kernel Team [6.12.0-0.rc7.cfaaa7d010d1.61] +- Linux v6.12.0-0.rc7.cfaaa7d010d1 +Resolves: + +* Thu Nov 14 2024 Fedora Kernel Team [6.12.0-0.rc7.0a9b9d17f3a7.60] +- Fedora configs for 6.12 (Justin M. Forbes) +- redhat/configs: Add CONFIG_CRYPTO_HMAC_S390 config (Mete Durlu) [RHEL-50799] +- Linux v6.12.0-0.rc7.0a9b9d17f3a7 +Resolves: RHEL-50799 + +* Wed Nov 13 2024 Fedora Kernel Team [6.12.0-0.rc7.f1b785f4c787.59] +- redhat: configs: common: generic: Clean up EM28XX that are masked behind CONFIG_VIDEO_EM28XX (Kate Hsuan) +- Linux v6.12.0-0.rc7.f1b785f4c787 +Resolves: + +* Tue Nov 12 2024 Fedora Kernel Team [6.12.0-0.rc7.58] +- redhat/configs: Update powerpc NR_CPUS config (Mamatha Inamdar) +- redhat: use stricter rule for kunit.ko (Jan Stancek) +- filtermod: fix clk kunit test and kunit location (Nico Pache) +Resolves: + +* Mon Nov 11 2024 Fedora Kernel Team [6.12.0-0.rc7.57] +- redhat/configs: enable xr_serial on rhel (Desnes Nunes) +- redhat/configs: enable ATH12K for rhel (Jose Ignacio Tornos Martinez) +- redhat: configs: rhel: generic: x86: Enable IPU6 based MIPI cameras (Kate Hsuan) +- os-build: enable CONFIG_SCHED_CLASS_EXT for RHEL (Phil Auld) +- Linux v6.12.0-0.rc7 +Resolves: + +* Sun Nov 10 2024 Fedora Kernel Team [6.12.0-0.rc6.de2f378f2b77.56] +- Linux v6.12.0-0.rc6.de2f378f2b77 +Resolves: + +* Sat Nov 09 2024 Fedora Kernel Team [6.12.0-0.rc6.da4373fbcf00.55] +- Fedora 6.12 configs part 1 (Justin M. Forbes) +- Linux v6.12.0-0.rc6.da4373fbcf00 +Resolves: + +* Fri Nov 08 2024 Fedora Kernel Team [6.12.0-0.rc6.906bd684e4b1.54] +- Linux v6.12.0-0.rc6.906bd684e4b1 +Resolves: + +* Thu Nov 07 2024 Fedora Kernel Team [6.12.0-0.rc6.ff7afaeca1a1.53] +- redhat: set new gcov configs (Jan Stancek) +- Don't ignore gitkeep files for ark-infra (Don Zickus) +- Linux v6.12.0-0.rc6.ff7afaeca1a1 +Resolves: + +* Wed Nov 06 2024 Fedora Kernel Team [6.12.0-0.rc6.2e1b3cc9d7f7.52] +- redhat/kernel.spec: don't clear entire libdir when building tools (Jan Stancek) +- redhat/configs: enable usbip for rhel (Jose Ignacio Tornos Martinez) +- redhat: create 'crashkernel=' addons for UKI (Vitaly Kuznetsov) +- redhat: avoid superfluous quotes in UKI cmdline addones (Vitaly Kuznetsov) +- fedora: arm: updates for 6.12 (Peter Robinson) +Resolves: + +* Tue Nov 05 2024 Fedora Kernel Team [6.12.0-0.rc6.2e1b3cc9d7f7.51] +- Linux v6.12.0-0.rc6.2e1b3cc9d7f7 +Resolves: + +* Mon Nov 04 2024 Fedora Kernel Team [6.12.0-0.rc6.50] +- redhat/configs: add bootconfig to kernel-tools package (Brian Masney) +- Enable CONFIG_SECURITY_LANDLOCK for RHEL (Zbigniew Jędrzejewski-Szmek) [RHEL-8810] +- Linux v6.12.0-0.rc6 +Resolves: RHEL-8810 + +* Sun Nov 03 2024 Fedora Kernel Team [6.12.0-0.rc5.3e5e6c9900c3.49] +- Linux v6.12.0-0.rc5.3e5e6c9900c3 +Resolves: + +* Sat Nov 02 2024 Fedora Kernel Team [6.12.0-0.rc5.11066801dd4b.48] +- Linux v6.12.0-0.rc5.11066801dd4b +Resolves: + +* Fri Nov 01 2024 Fedora Kernel Team [6.12.0-0.rc5.6c52d4da1c74.47] +- redhat: configs: Drop CONFIG_MEMSTICK_REALTEK_PCI config option (Desnes Nunes) +- Linux v6.12.0-0.rc5.6c52d4da1c74 +Resolves: + +* Thu Oct 31 2024 Fedora Kernel Team [6.12.0-0.rc5.0fc810ae3ae1.46] +- Update the RHEL_DIFFERENCES help string (Don Zickus) +- Put build framework for RT kernel in place for Fedora (Clark Williams) +- Linux v6.12.0-0.rc5.0fc810ae3ae1 +Resolves: + +* Wed Oct 30 2024 Fedora Kernel Team [6.12.0-0.rc5.c1e939a21eb1.45] +- Linux v6.12.0-0.rc5.c1e939a21eb1 +Resolves: + +* Tue Oct 29 2024 Fedora Kernel Team [6.12.0-0.rc5.e42b1a9a2557.44] +- Linux v6.12.0-0.rc5.e42b1a9a2557 +Resolves: + +* Mon Oct 28 2024 Fedora Kernel Team [6.12.0-0.rc5.43] +- generic: enable RPMB for all configs that enable MMC (Peter Robinson) +- fedora: riscv: Don't override MMC platform defaults (Peter Robinson) +- common: only enable on MMC_DW_BLUEFIELD (Peter Robinson) +- fedora: aarch64: Stop overriding CONFIG_MMC defaults (Peter Robinson) +- commong: The KS7010 driver has been removed (Peter Robinson) +- Linux v6.12.0-0.rc5 +Resolves: + +* Sat Oct 26 2024 Fedora Kernel Team [6.12.0-0.rc4.850925a8133c.42] +- Linux v6.12.0-0.rc4.850925a8133c +Resolves: + +* Fri Oct 25 2024 Fedora Kernel Team [6.12.0-0.rc4.ae90f6a6170d.41] +- Trim Changelog for 6.12 (Justin M. Forbes) +- Linux v6.12.0-0.rc4.ae90f6a6170d +Resolves: + +* Wed Oct 23 2024 Fedora Kernel Team [6.12.0-0.rc4.c2ee9f594da8.40] +- Enable CONFIG_SECURITY_IPE for Fedora (Zbigniew Jędrzejewski-Szmek) +- redhat: allow to override VERSION_ON_UPSTREAM from command line (Jan Stancek) +- redhat: configs: Enable CONFIG_SECURITY_TOMOYO in Fedora kernels (Tetsuo Handa) +Resolves: + +* Tue Oct 22 2024 Fedora Kernel Team [6.12.0-0.rc4.c2ee9f594da8.39] +- Revert "Merge branch 'enablement/gpio-expander' into 'os-build'" (Justin M. Forbes) +- Linux v6.12.0-0.rc4.c2ee9f594da8 +Resolves: + +* Mon Oct 21 2024 Fedora Kernel Team [6.12.0-0.rc4.38] +- Linux v6.12.0-0.rc4 +Resolves: + +* Sun Oct 20 2024 Fedora Kernel Team [6.12.0-0.rc3.715ca9dd687f.37] +- Linux v6.12.0-0.rc3.715ca9dd687f +Resolves: + +* Sat Oct 19 2024 Fedora Kernel Team [6.12.0-0.rc3.3d5ad2d4eca3.36] +- Linux v6.12.0-0.rc3.3d5ad2d4eca3 +Resolves: + +* Fri Oct 18 2024 Fedora Kernel Team [6.12.0-0.rc3.4d939780b705.35] +- Linux v6.12.0-0.rc3.4d939780b705 +Resolves: + +* Thu Oct 17 2024 Fedora Kernel Team [6.12.0-0.rc3.c964ced77262.34] +- Linux v6.12.0-0.rc3.c964ced77262 +Resolves: + +* Wed Oct 16 2024 Fedora Kernel Team [6.12.0-0.rc3.2f87d0916ce0.33] +- Linux v6.12.0-0.rc3.2f87d0916ce0 +Resolves: + +* Tue Oct 15 2024 Fedora Kernel Team [6.12.0-0.rc3.eca631b8fe80.32] +- redhat: configs: decrease CONFIG_PCP_BATCH_SCALE_MAX (Rafael Aquini) +- redhat/configs: Enable CONFIG_RCU_TRACE in Fedora/REHL kernels (Waiman Long) +- Linux v6.12.0-0.rc3.eca631b8fe80 +Resolves: + +* Mon Oct 14 2024 Fedora Kernel Team [6.12.0-0.rc3.6485cf5ea253.31] +- Linux v6.12.0-0.rc3.6485cf5ea253 +Resolves: + +* Sun Oct 13 2024 Fedora Kernel Team [6.12.0-0.rc2.36c254515dc6.30] +- Linux v6.12.0-0.rc2.36c254515dc6 +Resolves: + +* Sat Oct 12 2024 Fedora Kernel Team [6.12.0-0.rc2.09f6b0c8904b.29] +- fedora: distable RTL8192E wifi driver (Peter Robinson) +- common: arm64: Fixup and cleanup some SCMI options (Peter Robinson) +- common: Cleanup ARM_SCMI_TRANSPORT options (Peter Robinson) +- Linux v6.12.0-0.rc2.09f6b0c8904b +Resolves: + +* Fri Oct 11 2024 Fedora Kernel Team [6.12.0-0.rc2.1d227fcc7222.28] +- configs: fedora/x86: Set CONFIG_CRYPTO_DEV_CCP_DD=y (Hans de Goede) +- Linux v6.12.0-0.rc2.1d227fcc7222 +Resolves: + +* Thu Oct 10 2024 Fedora Kernel Team [6.12.0-0.rc2.d3d1556696c1.27] +- Linux v6.12.0-0.rc2.d3d1556696c1 +Resolves: + +* Wed Oct 09 2024 Fedora Kernel Team [6.12.0-0.rc2.75b607fab38d.26] +- Turn on ZRAM_WRITEBACK for Fedora (Justin M. Forbes) +- Linux v6.12.0-0.rc2.75b607fab38d +Resolves: + +* Tue Oct 08 2024 Fedora Kernel Team [6.12.0-0.rc2.87d6aab2389e.25] +- configs: rhel: Fix designware I2C controllers related config settings (Hans de Goede) +- Enable CONFIG_DMA_NUMA_CMA for x86_64 and aarch64 (Chris von Recklinghausen) +- new config in drivers/phy (Izabela Bakollari) +- configs: fedora: Unset CONFIG_I2C_DESIGNWARE_CORE on s390x (Hans de Goede) +- configs: fedora: Drop duplicate CONFIG_I2C_DESIGNWARE_CORE for x86_64 and aarch64 (Hans de Goede) +- Enable DESIGNWARE_CORE for ppc as well (Justin M. Forbes) +- Fix up I2C_DESIGNWARE_CORE config for Fedora (Justin M. Forbes) +- Linux v6.12.0-0.rc2.87d6aab2389e +Resolves: + +* Mon Oct 07 2024 Fedora Kernel Team [6.12.0-0.rc2.24] +- Linux v6.12.0-0.rc2 +Resolves: + +* Sun Oct 06 2024 Fedora Kernel Team [6.12.0-0.rc1.8f602276d390.23] +- Linux v6.12.0-0.rc1.8f602276d390 +Resolves: + +* Sat Oct 05 2024 Fedora Kernel Team [6.12.0-0.rc1.27cc6fdf7201.22] +- Linux v6.12.0-0.rc1.27cc6fdf7201 +Resolves: + +* Fri Oct 04 2024 Fedora Kernel Team [6.12.0-0.rc1.0c559323bbaa.21] +- configs for RT deps (Clark Williams) +- Linux v6.12.0-0.rc1.0c559323bbaa +Resolves: + +* Thu Oct 03 2024 Fedora Kernel Team [6.12.0-0.rc1.e32cde8d2bd7.20] +- CONFIG_OF_OVERLAY: enable for aarch64 and powerpc (Scott Weaver) +- redhat: enable changes to build rt variants (Clark Williams) +- redhat: clean up pending-rhel (Patrick Talbert) +- Enable CONFIG_SCHED_CLASS_EXT for Fedora (Jose Fernandez) +Resolves: + +* Wed Oct 02 2024 Fedora Kernel Team [6.12.0-0.rc1.e32cde8d2bd7.19] +- redhat/configs: new config in arch/s390 (Izabela Bakollari) +Resolves: + +* Tue Oct 01 2024 Fedora Kernel Team [6.12.0-0.rc1.e32cde8d2bd7.18] +- redhat: ignore rpminspect runpath report on selftests/bpf/cpuv4/urandom_read (Viktor Malik) +- Linux v6.12.0-0.rc1.e32cde8d2bd7 +Resolves: + +* Mon Sep 30 2024 Fedora Kernel Team [6.12.0-0.rc1.17] +- Linux v6.12.0-0.rc1 +Resolves: + +* Sun Sep 29 2024 Fedora Kernel Team [6.12.0-0.rc0.3efc57369a0c.16] +- Linux v6.12.0-0.rc0.3efc57369a0c +Resolves: + +* Sat Sep 28 2024 Fedora Kernel Team [6.12.0-0.rc0.ad46e8f95e93.15] +- Linux v6.12.0-0.rc0.ad46e8f95e93 +Resolves: + +* Fri Sep 27 2024 Fedora Kernel Team [6.12.0-0.rc0.075dbe9f6e3c.14] +- Linux v6.12.0-0.rc0.075dbe9f6e3c +Resolves: + +* Thu Sep 26 2024 Fedora Kernel Team [6.12.0-0.rc0.11a299a7933e.13] +- [fedora] configs: add end of file newline to CONFIG_DMADEVICES_VDEBUG (Patrick Talbert) +- unset CONFIG_DMADEVICES_VDEBUG (cmurf) +- Linux v6.12.0-0.rc0.11a299a7933e +Resolves: + +* Wed Sep 25 2024 Fedora Kernel Team [6.12.0-0.rc0.684a64bf32b6.12] +- Revert "Merge branch 'drop_engine_api' into 'os-build'" (Justin M. Forbes) +- Linux v6.12.0-0.rc0.684a64bf32b6 +Resolves: + +* Tue Sep 24 2024 Fedora Kernel Team [6.12.0-0.rc0.abf2050f51fd.11] +- Linux v6.12.0-0.rc0.abf2050f51fd +Resolves: + +* Tue Sep 24 2024 Fedora Kernel Team [6.12.0-0.rc0.de5cb0dcb74c.10] +- stop installing tools/build/Build, gone with ea974028a049f (Thorsten Leemhuis) +- redhat/configs: Update LOCKDEP configs (Waiman Long) +- uki-virt: Add i18n module (Vitaly Kuznetsov) +- uki-virt: Drop DBUS support from initramfs (Vitaly Kuznetsov) +- uki-virt: Drop redundant modules from dracut-virt.conf (Vitaly Kuznetsov) +- uki-virt: Drop usrmount dracut module (Vitaly Kuznetsov) +- redhat: new AMCC_QT2025_PHY config in drivers/net/phy (Patrick Talbert) +Resolves: + +* Mon Sep 23 2024 Fedora Kernel Team [6.12.0-0.rc0.de5cb0dcb74c.9] +- Linux v6.12.0-0.rc0.de5cb0dcb74c +Resolves: + +* Sat Sep 21 2024 Fedora Kernel Team [6.12.0-0.rc0.1868f9d0260e.8] +- Linux v6.12.0-0.rc0.1868f9d0260e +Resolves: + +* Fri Sep 20 2024 Fedora Kernel Team [6.12.0-0.rc0.baeb9a7d8b60.7] +- redhat: change schedule jobs image from cki-tools to builder-rawhide (Patrick Talbert) +- Linux v6.12.0-0.rc0.baeb9a7d8b60 +Resolves: + +* Thu Sep 19 2024 Fedora Kernel Team [6.12.0-0.rc0.839c4f596f89.6] +- Linux v6.12.0-0.rc0.839c4f596f89 +Resolves: + +* Wed Sep 18 2024 Fedora Kernel Team [6.12.0-0.rc0.4a39ac5b7d62.5] +- Add CONFIG_SND_SOC_RT1320_SDW to pending-rhel for mismatch (Justin M. Forbes) +- Turn on CONFIG_SND_SOC_RT1320_SDW in pending rhel (Justin M. Forbes) +- Linux v6.12.0-0.rc0.4a39ac5b7d62 +Resolves: + +* Tue Sep 17 2024 Fedora Kernel Team [6.12.0-0.rc0.a940d9a43e62.4] +- redhat: fix bad merge (Patrick Talbert) +- Linux v6.12.0-0.rc0.a940d9a43e62 +Resolves: + +* Tue Sep 17 2024 Fedora Kernel Team [6.12.0-0.rc0.adfc3ded5c33.3] +- configs: disable CONFIG_AMCC_QT2025_PHY in pending (Patrick Talbert) +Resolves: + +* Mon Sep 16 2024 Fedora Kernel Team [6.12.0-0.rc0.adfc3ded5c33.2] +- fedora: turn on CONFIG_FDMA for powerpc (Patrick Talbert) +- Turn on CONFIG_FDMA in pending for Fedora arm and riscv to avoid a mismatch (Justin M. Forbes) +- Reset RHEL_RELEASE for 6.12 (Justin M. Forbes) +- Consolidate configs into common for 6.11 kernels (Justin M. Forbes) +- uki-virt: add systemd-cryptsetup module (Vitaly Kuznetsov) +- redhat/docs: fix command to install missing build dependencies (Davide Cavalca) +- spec: Respect rpmbuild --without debuginfo (Orgad Shaneh) +- fedora/configs: enable GPIO expander drivers (Rupinderjit Singh) +- redhat/configs: Switch to the Rust implementation of AX88796B_PHY driver for Fedora (Neal Gompa) +- redhat: Turn on support for Rust code in Fedora (Neal Gompa) +- Turn off RUST for risc-v (Justin M. Forbes) +- gitlab-ci: allow failure of clang LTO pipelines (Michael Hofmann) +- redhat/configs: Consolidate the CONFIG_KVM_BOOK3S_HV_P*_TIMING switches (Thomas Huth) +- redhat/configs: Consolidate the CONFIG_KVM_SW_PROTECTED_VM switch (Thomas Huth) +- redhat/configs: Consolidate the CONFIG_KVM_HYPERV switch (Thomas Huth) +- redhat/configs: Consolidate the CONFIG_KVM_AMD_SEV switch (Thomas Huth) +- Cleanup some riscv CONFIG locations (Justin M. Forbes) +- Fix up pending riscv Fedora configs post merge (Justin M. Forbes) +- fedora/configs: Enable SCMI configuration (Rupinderjit Singh) +- Remove S390 special config for PHYLIB (Justin M. Forbes) +- Disable ELN for riscv64 (Isaiah Stapleton) +- redhat: add checks to ensure only building riscv64 on fedora (Isaiah Stapleton) +- redhat: Add missing riscv fedora configs (Isaiah Stapleton) +- Add riscv64 to the CI pipelines (Isaiah Stapleton) +- redhat: Regenerate dist-self-test-data for riscv64 (Isaiah Stapleton) +- redhat: Add riscv config changes for fedora (David Abdurachmanov) +- redhat: Add support for riscv (David Abdurachmanov) +- redhat: Do not include UKI addons twice (Vitaly Kuznetsov) +- redhat: update gating.yml (Michael Hofmann) +- Remove CONFIG_FSCACHE_DEBUG as it has been renamed (Justin M. Forbes) +- Set Fedora configs for 6.11 (Justin M. Forbes) +- redhat/configs: Microchip lan743x driver (Izabela Bakollari) +- redhat: include resolve_btfids in kernel-devel (Jan Stancek) +- redhat: workaround CKI cross compilation for scripts (Jan Stancek) +- spec: fix "unexpected argument to non-parametric macro" warnings (Jan Stancek) +- Add weakdep support to the kernel spec (Justin M. Forbes) +- redhat: configs: disable PF_KEY in RHEL (Sabrina Dubroca) +- crypto: akcipher - Disable signing and decryption (Vladis Dronov) [RHEL-54183] {CVE-2023-6240} +- crypto: dh - implement FIPS PCT (Vladis Dronov) [RHEL-54183] +- crypto: ecdh - disallow plain "ecdh" usage in FIPS mode (Vladis Dronov) [RHEL-54183] +- crypto: seqiv - flag instantiations as FIPS compliant (Vladis Dronov) [RHEL-54183] +- [kernel] bpf: set default value for bpf_jit_harden (Artem Savkov) [RHEL-51896] +- fedora: disable CONFIG_DRM_WERROR (Patrick Talbert) +- redhat/configs: Disable dlm in rhel configs (Andrew Price) +- rhel: aarch64: enable required PSCI configs (Peter Robinson) +- fedora: Enable AF8133J Magnetometer driver (Peter Robinson) +- redhat: spec: add cachestat kselftest (Eric Chanudet) +- redhat: hmac sign the UKI for FIPS (Vitaly Kuznetsov) +- not upstream: Disable vdso getrandom when FIPS is enabled (Herbert Xu) +- kernel: config: enable erofs lzma compression (Ian Kent) +- fedora: disable RTL8192CU in Fedora (Peter Robinson) +- redhat: Fix the ownership of /lib/modules/ directory (Vitaly Kuznetsov) +- new configs in drivers/phy (Izabela Bakollari) +- Add support to rh_waived cmdline boot parameter (Ricardo Robaina) [RHEL-26170] +- redhat/configs: Disable gfs2 in rhel configs (Andrew Price) +- redhat/uki_addons/virt: add common FIPS addon (Emanuele Giuseppe Esposito) +- redhat/kernel.spec: add uki_addons to create UKI kernel cmdline addons (Emanuele Giuseppe Esposito) +- rh_flags: fix failed when register_sysctl_sz rh_flags_table to kernel (Ricardo Robaina) [RHEL-52629] +- redhat/dracut-virt.conf: add systemd-veritysetup module (Emanuele Giuseppe Esposito) +- redhat/configs: enable CONFIG_LOCK_STAT on the debug kernels for aarch64 (Brian Masney) +- redhat/configs: enable CONFIG_KEYBOARD_GPIO_POLLED for RHEL on aarch64 (Luiz Capitulino) +- redhat/configs: fedora: Enable new Qualcomm configs (Andrew Halaney) +- redhat/configs/fedora: set CONFIG_CRYPTO_CURVE25519_PPC64 (Dan Horák) +- fedora: Updates for 6.11 merge (Peter Robinson) +- fedora: enable new mipi sensors and devices (Peter Robinson) +- arm64: enable CRYPTO_DEV_TEGRA on RHEL (Peter Robinson) +- redhat/kernel.spec: fix file listed twice warning for "kernel" subdir (Jan Stancek) +- redhat/configs: Double MAX_LOCKDEP_ENTRIES for RT debug kernels (Waiman Long) [RHEL-43425] +- Support the first day after a rebase (Don Zickus) +- Support 2 digit versions properly (Don Zickus) +- Automation cleanups for rebasing rt-devel and automotive-devel (Don Zickus) +- fedora: set CONFIG_REGULATOR_RZG2L_VBCTRL as a module for arm64 (Patrick Talbert) +- gitlab-ci: restore bot pipeline behavior (Michael Hofmann) +- redhat/kernel.spec: drop extra right curly bracket in kernel_kvm_package (Jan Stancek) +- redhat/configs: enable gpio_keys driver for RHEL on aarch64 (Luiz Capitulino) +- Move NET_VENDOR_MICROCHIP from common to rhel (Justin M. Forbes) +- redhat/configs: enable some RTCs for RHEL on aarch64 (Luiz Capitulino) +- redhat/configs: enable some regulators for RHEL (Luiz Capitulino) +- redhat/config: disable CXL and CXLFLASH drivers (Dan Horák) +- Fix up config mismatches in pending (Justin M. Forbes) +- redhat/configs: Enable watchdog devices modelled by qemu (Richard W.M. Jones) [RHEL-40937] +- rhel: cleanup unused media tuner configs (Peter Robinson) +- all: cleanup MEDIA_CONTROLLER options (Peter Robinson) +- redhat: kernel.spec: add s390x to livepatching kselftest builds (Joe Lawrence) +- Flip CONFIG_DIMLIB back to inline (Justin M. Forbes) +- Add vfio/nvgrace-gpu driver CONFIG to RHEL-9.5 ARM64 (Donald Dutile) +- Enable CONFIG_RTC_DRV_TEGRA for RHEL (Luiz Capitulino) +- redhat: rh_flags: declare proper static methods when !CONFIG_RHEL_DIFFERENCES (Rafael Aquini) +- redhat: configs: enable CONFIG_TMPFS_QUOTA for both Fedora and RHEL (Rafael Aquini) +- Fix up mismatches in the 6.11 merge window. (Justin M. Forbes) +- Reset Changelog after rebase (Justin M. Forbes) +- Reset RHEL_RELEASE for the 6.11 cycle (Justin M. Forbes) +- redhat/configs: Enable CONFIG_VMWARE_VMCI/CONFIG_VMWARE_VMCI_VSOCKETS for RHEL (Vitaly Kuznetsov) +- Consolidate configs to common for 6.10 (Justin M. Forbes) +- redhat/configs: Enable CONFIG_PTP_1588_CLOCK_MOCK in kernel-modules-internal (Davide Caratti) +- fedora: enabled XE GPU drivers on all arches (Peter Robinson) +- Flip SND_SOC_CS35L56_SPI from off to module for RHEL (Justin M. Forbes) +- Flip DIMLIB from built-in to module for RHEL (Justin M. Forbes) +- not upstream: drop openssl ENGINE API usage (Jan Stancek) +- Also remove the zfcpdump BASE_SMALL config (Justin M. Forbes) +- redhat: Add cgroup kselftests to kernel-selftests-internal (Waiman Long) [RHEL-43556] +- Revert "redhat/configs: Disable CONFIG_INFINIBAND_HFI1 and CONFIG_INFINIBAND_RDMAVT" (Kamal Heib) +- Remove new for GITLAB_TOKEN (Don Zickus) +- Set Fedora configs for 6.10 (Justin M. Forbes) +- Fedora: minor driver updates (Peter Robinson) +- redhat/configs: Remove obsolete x86 CPU mitigations config files (Waiman Long) +- redhat/configs: increase CONFIG_DEFAULT_MMAP_MIN_ADDR from 32K to 64K for aarch64 (Brian Masney) +- redhat/configs: Re-enable CONFIG_KEXEC for Fedora (Philipp Rudo) +- disable LR_WPAN for RHEL10 (Chris von Recklinghausen) [RHEL-40251] +- Turn on USB_SERIAL_F81232 for Fedora (Justin M. Forbes) +- redhat/scripts/filtermods.py: show all parent/child kmods in report (Jan Stancek) +- redhat/kernel.spec: capture filtermods.py return code (Jan Stancek) +- redhat/kernel.spec: fix run of mod-denylist (Jan Stancek) +- gitlab-ci: remove unused RHMAINTAINERS variable (Michael Hofmann) +- gitlab-ci: use environments for jobs that need access to push/gitlab secrets (Michael Hofmann) +- gitlab-ci: default to os-build for all maintenance jobs (Michael Hofmann) +- gitlab-ci: use the common git repo setup cki-gating as well (Michael Hofmann) +- gitlab-ci: help maintenance jobs to cope with missing private key (Michael Hofmann) +- gitlab-ci: use a common git repo setup for all maintenance jobs (Michael Hofmann) +- gitlab-ci: move repo setup script into script template holder (Michael Hofmann) +- gitlab-ci: move maintenance job DIST variable into common template (Michael Hofmann) +- gitlab-ci: move maintenance job rules into common template (Michael Hofmann) +- gitlab-ci: move maintenance job retry field into common template (Michael Hofmann) +- gitlab-ci: provide common non-secret schedule trigger variables (Michael Hofmann) +- gitlab-ci: rename .scheduled_setup to .git_setup (Michael Hofmann) +- gitlab-ci: move script snippets into separate template (Michael Hofmann) +- gitlab-ci: rename maintenance jobs (Michael Hofmann) +- gitlab-ci: introduce job template for maintenance jobs (Michael Hofmann) +- Turn on KASAN_HW_TAGS for Fedora aarch64 debug kernels (Justin M. Forbes) +- redhat: kernel.spec: add missing sound/soc/sof/sof-audio.h to kernel-devel package (Jaroslav Kysela) +- redhat/kernel.spec: fix attributes of symvers file (Jan Stancek) +- redhat: add filtermods rule for iommu tests (Jan Stancek) +- fedora: arm: Enable basic support for S32G-VNP-RDB3 board (Enric Balletbo i Serra) +- redhat: make bnx2xx drivers unmaintained in rhel-10 (John Meneghini) [RHEL-36646 RHEL-41231] +- redhat/configs: Disable CONFIG_NFP (Kamal Heib) [RHEL-36647] +- Enable CONFIG_PWRSEQ_{SIMPLIE,EMMC} on aarch64 (Charles Mirabile) +- Fix SERIAL_SC16IS7XX configs for Fedora (Justin M. Forbes) +- Enable ALSA (CONFIG_SND) on aarch64 (Charles Mirabile) [RHEL-40411] +- redhat: Remove DIST_BRANCH variable (Eder Zulian) +- gitlab-ci: merge ark-latest before tagging cki-gating (Michael Hofmann) +- gitlab-ci: do not merge ark-latest for gating pipelines for Rawhide (Michael Hofmann) +- disable CONFIG_KVM_INTEL_PROVE_VE (Paolo Bonzini) +- redhat: remove the merge subtrees script (Derek Barbosa) +- redhat: rhdocs: delete .get_maintainer.conf (Derek Barbosa) +- redhat: rhdocs: Remove the rhdocs directory (Derek Barbosa) +- redhat/configs: Disable CONFIG_QLA3XXX (Kamal Heib) [RHEL-36646] +- redhat/configs: fedora: Enable some drivers for IPU6 support (Hans de Goede) +- redhat: add missing UKI_secureboot_cert hunk (Patrick Talbert) +- redhat/kernel.spec: keep extra modules in original directories (Jan Stancek) +- redhat/configs: Move CONFIG_BLK_CGROUP_IOCOST=y to common/generic (Waiman Long) +- Turn on CONFIG_MFD_QCOM_PM8008 for Fedora aarch64 (Justin M. Forbes) +- redhat: Build IMA CA certificate into the Fedora kernel (Coiby Xu) +- Move CONFIG_RAS_FMPM to the proper location (Aristeu Rozanski) +- redhat/configs: Remove CONFIG_NET_ACT_IPT (Ivan Vecera) +- gitlab-ci: add kernel-automotive pipelines (Michael Hofmann) +- Enable CEC support for TC358743 (Peter Robinson) +- fedora: arm: Enable ARCH_R9A09G057 (Peter Robinson) +- fedora: updates for the 6.10 kernel (Peter Robinson) +- fedora: arm: Enable the MAX96706 GMSL module (Peter Robinson) +- redhat: Switch UKI to using its own SecureBoot cert (from system-sb-certs) (Jan Stancek) +- redhat: Add RHEL specifc .sbat section to UKI (Jan Stancek) +- kernel.spec: add iommu selftests to kernel-selftests-internal (Eder Zulian) [RHEL-32895] +- redhat/configs: fedora: aarch64: Re-enable CUSE (Neal Gompa) +- redhat: pass correct RPM_VMLINUX_H to bpftool install (Jan Stancek) +- rh_flags: Rename rh_features to rh_flags (Ricardo Robaina) [RHEL-32987] +- kernel: rh_features: fix reading empty feature list from /proc (Ricardo Robaina) [RHEL-32987] +- rh_features: move rh_features entry to sys/kernel (Ricardo Robaina) [RHEL-32987] +- rh_features: convert to atomic allocation (Ricardo Robaina) [RHEL-32987] +- add rh_features to /proc (Ricardo Robaina) [RHEL-32987] +- add support for rh_features (Ricardo Robaina) [RHEL-32987] +- Drop kexec_load syscall support (Baoquan He) +- New configs in lib/kunit (Fedora Kernel Team) +- Turn off KUNIT_FAULT_TEST as it causes problems for CI (Justin M. Forbes) +- Add a config entry in pending for CONFIG_DRM_MSM_VALIDATE_XML (Justin M. Forbes) +- Flip CONFIG_SND_SOC_CS35L56_SPI in pending to avoid a mismatch (Justin M. Forbes) +- Fix up a mismatch for RHEL (Justin M. Forbes) +- Reset changelog after rebase (Justin M. Forbes) +- Reset RHEL_RELEASE to 0 for 6.10 (Justin M. Forbes) +- configs: move CONFIG_BLK_DEV_UBLK into rhel/configs/generic (Ming Lei) +- configs: move CONFIG_BLK_SED_OPAL into redhat/configs/common/generic (Ming Lei) +- RHEL-21097: rhel: aarch64 stop blocking a number of HW sensors (Peter Robinson) +- redhat/configs: enable RTL8822BU for rhel (Jose Ignacio Tornos Martinez) +- redhat/configs: remove CONFIG_DMA_PERNUMA_CMA and switch CONFIG_DMA_NUMA_CMA off (Jerry Snitselaar) +- redhat: add IMA certificates (Jan Stancek) +- redhat/kernel.spec: fix typo in move_kmod_list() variable (Jan Stancek) +- redhat: make filtermods.py less verbose by default (Jan Stancek) +- scsi: sd: condition probe_type under RHEL_DIFFERENCES (Eric Chanudet) +- scsi: sd: remove unused sd_probe_types (Eric Chanudet) +- Turn on INIT_ON_ALLOC_DEFAULT_ON for Fedora (Justin M. Forbes) +- Consolidate configs to common for 6.9 (Justin M. Forbes) +- redhat/rhel_files: move tipc.ko and tipc_diag.ko to modules-extra (Xin Long) [RHEL-23931] +- redhat: move amd-pstate-ut.ko to modules-internal (Jan Stancek) +- redhat/configs: enable CONFIG_LEDS_TRIGGER_NETDEV also for RHEL (Michal Schmidt) [RHEL-32110] +- redhat/configs: Remove CONFIG_AMD_IOMMU_V2 (Jerry Snitselaar) +- Set DEBUG_INFO_BTF_MODULES for Fedora (Justin M. Forbes) +- redhat: Use redhatsecureboot701 for ppc64le (Jan Stancek) +- redhat: switch the kernel package to use certs from system-sb-certs (Jan Stancek) +- redhat: replace redhatsecureboot303 signing key with redhatsecureboot601 (Jan Stancek) +- redhat: drop certificates that were deprecated after GRUB's BootHole flaw (Jan Stancek) +- redhat: correct file name of redhatsecurebootca1 (Jan Stancek) +- redhat: align file names with names of signing keys for ppc and s390 (Jan Stancek) +- redhat/configs: Enable CONFIG_DM_VDO in RHEL (Benjamin Marzinski) +- redhat/configs: Enable DRM_NOUVEAU_GSP_DEFAULT everywhere (Neal Gompa) +- kernel.spec: adjust for livepatching kselftests (Joe Lawrence) +- redhat/configs: remove CONFIG_TEST_LIVEPATCH (Joe Lawrence) +- Turn on CONFIG_RANDOM_KMALLOC_CACHES for Fedora (Justin M. Forbes) +- Set Fedora configs for 6.9 (Justin M. Forbes) +- gitlab-ci: enable pipelines with c10s buildroot (Michael Hofmann) +- Turn on ISM for Fedora (Justin M. Forbes) +- redhat/configs: enable CONFIG_TEST_LOCKUP for non-debug kernels (Čestmír Kalina) +- redhat/rhel_files: add test_lockup.ko to modules-extra (Čestmír Kalina) +- Turn off some Fedora UBSAN options to avoid false positives (Justin M. Forbes) +- fedora: aarch64: Enable a QCom Robotics platforms requirements (Peter Robinson) +- fedora: updates for 6.9 merge window (Peter Robinson) +- gitlab-ci: rename GitLab jobs ark -> rawhide (Michael Hofmann) +- gitlab-ci: harmonize DataWarehouse tree names (Michael Hofmann) +- redhat/configs: Enable CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON for rhel (Jerry Snitselaar) +- spec: make sure posttrans script doesn't fail if /boot is non-POSIX (glb) +- Turn on UBSAN for Fedora (Justin M. Forbes) +- Turn on XEN_BALLOON_MEMORY_HOTPLUG for Fedora (Justin M. Forbes) +- docs: point out that python3-pyyaml is now required (Thorsten Leemhuis) +- Use LLVM=1 for clang_lto build (Nikita Popov) +- redhat: fix def_variants.yaml check (Jan Stancek) +- redhat: sanity check yaml files (Jan Stancek) +- spec: rework filter-mods and mod-denylist (Jan Stancek) +- redhat/configs: remove CONFIG_INTEL_MENLOW as it is obsolete. (David Arcari) +- arch/x86: Fix XSAVE check for x86_64-v2 check (Prarit Bhargava) +- redhat/Makefile.variables: unquote a variable (Thorsten Leemhuis) +- redhat/configs: build in Tegra210 SPI driver (Mark Salter) +- redhat/configs: aarch64: Enable ARM_FFA driver (Mark Salter) +- Base automotive-devel on rt-devel (Don Zickus) +- redhat/configs: Enable CONFIG_AMDTEE for x86 (David Arcari) +- redhat/configs: enable CONFIG_TEST_LOCKUP for debug kernel (Čestmír Kalina) +- kernel.spec: fix libperf-debuginfo content (Jan Stancek) +- Turn on DM_VDO for Fedora (Justin M. Forbes) +- redhat: make libperf-devel require libperf %%{version}-%%{release} (Jan Stancek) +- kernel.spec: drop custom mode also for System.map ghost entry (Jan Stancek) +- Octopus merges are too conservative, serialize instead (Don Zickus) +- Add tracking branches for rt-devel (Don Zickus) +- all: clean-up i915 (Peter Robinson) +- Turn on CONFIG_READ_ONLY_THP_FOR_FS for Fedora (Justin M. Forbes) +- redhat/kernel.spec.template: fix rtonly build (Jan Stancek) +- redhat/kernel.spec.template: add extra flags for tools build (Scott Weaver) +- Add iio-test-gts to mod-internal.list (Thorsten Leemhuis) +- redhat/kernel.spec.template: update license (Scott Weaver) +- Fix typo in maintaining.rst file (Augusto Caringi) +- Enable DRM_CDNS_DSI_J721E for fedora (Andrew Halaney) +- gitlab-ci: do not merge ark-latest for gating pipelines (Michael Hofmann) +- fedora: Enable MCP9600 (Peter Robinson) +- redhat/configs: Enable & consolidate BF-3 drivers config (Luiz Capitulino) +- redhat: Fix RT kernel kvm subpackage requires (Juri Lelli) +- Add new of_test module to mod-internal.list (Thorsten Leemhuis) +- Add new string kunit modules to mod-internal.list (Thorsten Leemhuis) +- redhat/kernel.spec.template: enable cross for base/RT (Peter Robinson) +- redhat/kernel.spec.template: Fix cross compiling (Peter Robinson) +- arch/x86/kernel/setup.c: fixup rh_check_supported (Scott Weaver) +- Enable CONFIG_USB_ONBOARD_HUB for RHEL (Charles Mirabile) +- redhat/Makefile.cross: Add CROSS_BASEONLY (Prarit Bhargava) +- gitlab-ci: fix ark-latest merging for parent pipelines running in forks (Michael Hofmann) +- lsm: update security_lock_kernel_down (Scott Weaver) +- Fix changelog after rebase (Augusto Caringi) +- redhat: remove "END OF CHANGELOG" marker from kernel.changelog (Herton R. Krzesinski) +- gitlab-ci: enable all variants for rawhide/eln builder image gating (Michael Hofmann) +- Fedora: enable Microchip and their useful drivers (Peter Robinson) +- spec: suppress "set +x" output (Jan Stancek) +- redhat/configs: Disable CONFIG_RDMA_SIW (Kamal Heib) +- redhat/configs: Disable CONFIG_RDMA_RXE (Kamal Heib) +- redhat/configs: Disable CONFIG_MLX4 (Kamal Heib) +- redhat/configs: Disable CONFIG_INFINIBAND_HFI1 and CONFIG_INFINIBAND_RDMAVT (Kamal Heib) +- Consolidate 6.8 configs to common (Justin M. Forbes) +- Remove rt-automated and master-rt-devel logic (Don Zickus) +- Add support for CI octopus merging (Don Zickus) +- redhat/configs: Disable CONFIG_INFINIBAND_VMWARE_PVRDMA (Kamal Heib) +- gitlab-ci: fix merge tree URL for gating pipelines (Michael Hofmann) +- Revert "net: bump CONFIG_MAX_SKB_FRAGS to 45" (Marcelo Ricardo Leitner) +- uki: use systemd-pcrphase dracut module (Gerd Hoffmann) +- Add libperf-debuginfo subpackage (Justin M. Forbes) +- redhat/kernel.spec.template: Add log_msg macro (Prarit Bhargava) +- redhat/configs: Disable CONFIG_INFINIBAND_USNIC (Kamal Heib) +- Enable CONFIG_BMI323_I2C=m for Fedora x86_64 builds (Hans de Goede) +- gitlab-ci: drop test_makefile job (Scott Weaver) +- Enable merge-rt pipeline (Don Zickus) +- kernel.spec: include the GDB plugin in kernel-debuginfo (Ondrej Mosnacek) +- Turn on DRM_NOUVEAU_GSP_DEFAULT for Fedora (Justin M. Forbes) +- Set late new config HDC3020 for Fedora (Justin M. Forbes) +- redhat/self-test: Update CROSS_DISABLED_PACKAGES (Prarit Bhargava) +- redhat: Do not build libperf with cross builds (Prarit Bhargava) +- redhat/configs: enable CONFIG_PINCTRL_INTEL_PLATFORM for RHEL (David Arcari) +- redhat/configs: enable CONFIG_PINCTRL_METEORPOINT for RHEL (David Arcari) +- redhat/configs: intel pinctrl config cleanup (David Arcari) +- redhat/configs: For aarch64/RT, default kstack randomization off (Jeremy Linton) +- redhat/Makefile: remove an unused target (Ondrej Mosnacek) +- redhat/Makefile: fix setup-source and document its caveat (Ondrej Mosnacek) +- redhat/Makefile: fix race condition when making the KABI tarball (Ondrej Mosnacek) +- redhat/Makefile: refactor KABI tarball creation (Ondrej Mosnacek) +- Turn XFS_SUPPORT_V4 back on for Fedora (Justin M. Forbes) +- Add xe to drm module filters (Justin M. Forbes) +- Turn off the DRM_XE_KUNIT_TEST for Fedora (Justin M. Forbes) +- Flip secureboot signature order (Justin M. Forbes) +- all: clean up some removed configs (Peter Robinson) +- redhat: add nvidia oot signing key (Dave Airlie) +- gitlab-ci: support CI for zfcpdump kernel on ELN (Michael Hofmann) +- Fedora configs for 6.8 (Justin M. Forbes) +- Turn off CONFIG_INTEL_VSC for Fedora (Justin M. Forbes) +- redhat/configs: rhel wireless requests (Jose Ignacio Tornos Martinez) +- spec: Set EXTRA_CXXFLAGS for perf demangle-cxx.o (Josh Stone) [2233269] +- Flip values for FSCACHE and NETFS_SUPPORT to avoid mismatch (Justin M. Forbes) +- Turn on SECURITY_DMESG_RESTRICT (Justin M. Forbes) +- redhat: forward-port genlog.py updates from c9s (Jan Stancek) +- arch/x86: mark x86_64-v1 and x86_64-v2 processors as deprecated (Prarit Bhargava) +- fedora: Enable more Renesas RZ platform drivers (Peter Robinson) +- fedora: a few aarch64 drivers and cleanups (Peter Robinson) +- fedora: cavium nitrox cnn55xx (Peter Robinson) +- Fix dist-get-buildreqs breakage around perl(ExtUtils::Embed) (Don Zickus) +- gitlab-ci: merge ark-latest fixes when running ELN pipelines (Michael Hofmann) +- gitlab-ci: use all arches for container image gating (Michael Hofmann) +- Add new os-build targets: rt-devel and automotive-devel (Don Zickus) +- Remove defines forcing tools on, they override cmdline (Justin M. Forbes) +- Remove separate license tag for libperf (Justin M. Forbes) +- Don't use upstream bpftool version for Fedora package (Justin M. Forbes) +- Don't ship libperf.a in libperf-devel (Justin M. Forbes) +- add libperf packages and enable perf, libperf, tools and bpftool packages (Thorsten Leemhuis) +- Add scaffolding to build the kernel-headers package for Fedora (Justin M. Forbes) +- redhat/spec: use distro CFLAGS when building bootstrap bpftool (Artem Savkov) +- spec: use just-built bpftool for vmlinux.h generation (Yauheni Kaliuta) [2120968] +- gitlab-ci: enable native tools for Rawhide CI (Michael Hofmann) +- Revert "Merge branch 'fix-kabi-build-race' into 'os-build'" (Justin M. Forbes) +- redhat: configs: fedora: Enable sii902x bridge chip driver (Erico Nunes) +- Enable CONFIG_TCP_CONG_ILLINOIS for RHEL (Davide Caratti) +- redhat/Makefile: fix setup-source and document its caveat (Ondrej Mosnacek) +- redhat/Makefile: fix race condition when making the KABI tarball (Ondrej Mosnacek) +- redhat/Makefile: refactor KABI tarball creation (Ondrej Mosnacek) +- redhat/configs: Remove HOTPLUG_CPU0 configs (Prarit Bhargava) +- gitlab-ci: merge ark-latest before building in MR pipelines (Michael Hofmann) +- CI: include aarch64 in CKI container image gating (Tales Aparecida) +- redhat: spec: Fix update_scripts run for CentOS builds (Neal Gompa) +- New configs in drivers/crypto (Fedora Kernel Team) +- net: bump CONFIG_MAX_SKB_FRAGS to 45 (Marcelo Ricardo Leitner) +- Enable CONFIG_MARVELL_88Q2XXX_PHY (Izabela Bakollari) +- Remove CONFIG_NET_EMATCH_STACK file for RHEL (Justin M. Forbes) +- CONFIG_NETFS_SUPPORT should be m after the merge (Justin M. Forbes) +- Turn FSCACHE and NETFS from m to y in pending (Justin M. Forbes) +- Turn on CONFIG_TCP_AO for Fedora (Justin M. Forbes) +- Turn on IAA_CRYPTO_STATS for Fedora (Justin M. Forbes) +- fedora: new drivers and cleanups (Peter Robinson) +- Turn on Renesas RZ for Fedora IOT rhbz2257913 (Justin M. Forbes) +- redhat: filter-modules.sh.rhel: add dell-smm-hwmon (Scott Weaver) +- Add CONFIG_INTEL_MEI_GSC_PROXY=m for DRM 9.4 stable backport (Mika Penttilä) +- Set configs for ZRAM_TRACK_ENTRY_ACTIME (Justin M. Forbes) +- Add python3-pyyaml to buildreqs for kernel-docs (Justin M. Forbes) +- Add nb7vpq904m to singlemods for ppc64le (Thorsten Leemhuis) +- include drm bridge helpers in kernel-core package (Thorsten Leemhuis) +- Add dell-smm-hwmon to singlemods (Thorsten Leemhuis) +- Add drm_gem_shmem_test to mod-internal.list (Thorsten Leemhuis) +- redhat: kABI: add missing RH_KABI_SIZE_ALIGN_CHECKS Kconfig option (Sabrina Dubroca) +- redhat: rh_kabi: introduce RH_KABI_EXCLUDE_WITH_SIZE (Sabrina Dubroca) +- redhat: rh_kabi: move semicolon inside __RH_KABI_CHECK_SIZE (Sabrina Dubroca) +- Fix up ZRAM_TRACK_ENTRY_ACTIME in pending (Justin M. Forbes) +- random: replace import_single_range() with import_ubuf() (Justin M. Forbes) +- Flip CONFIG_INTEL_PMC_CORE to m for Fedora (Justin M. Forbes) +- Add CONFIG_ZRAM_TRACK_ENTRY_ACTIME=y to avoid a mismatch (Justin M. Forbes) +- common: cleanup MX3_IPU (Peter Robinson) +- all: The Octeon MDIO driver is aarch64/mips (Peter Robinson) +- common: rtc: remove bq4802 config (Peter Robinson) +- common: de-dupe MARVELL_GTI_WDT (Peter Robinson) +- all: Remove CAN_BXCAN (Peter Robinson) +- common: cleanup SND_SOC_ROCKCHIP (Peter Robinson) +- common: move RHEL DP83867_PHY to common (Peter Robinson) +- common: Make ASYMMETRIC_KEY_TYPE enable explicit (Peter Robinson) +- common: Disable aarch64 ARCH_MA35 universally (Peter Robinson) +- common: arm64: enable Tegra234 pinctrl driver (Peter Robinson) +- rhel: arm64: Enable qoriq thermal driver (Peter Robinson) +- common: aarch64: Cleanup some i.MX8 config options (Peter Robinson) +- all: EEPROM_LEGACY has been removed (Peter Robinson) +- all: rmeove AppleTalk hardware configs (Peter Robinson) +- all: cleanup: remove references to SLOB (Peter Robinson) +- all: cleanup: Drop unnessary BRCMSTB configs (Peter Robinson) +- all: net: remove retired network schedulers (Peter Robinson) +- all: cleanup removed CONFIG_IMA_TRUSTED_KEYRING (Peter Robinson) +- BuildRequires: lld for build with selftests for x86 (Jan Stancek) +- spec: add keyutils to selftest-internal subpackage requirements (Artem Savkov) [2166911] +- redhat/spec: exclude liburandom_read.so from requires (Artem Savkov) [2120968] +- rtla: sync summary text with upstream and update Requires (Jan Stancek) +- uki-virt: add systemd-sysext dracut module (Gerd Hoffmann) +- uki-virt: add virtiofs dracut module (Gerd Hoffmann) +- common: disable the FB device creation (Peter Robinson) +- s390x: There's no FB on Z-series (Peter Robinson) +- fedora: aarch64: enable SM_VIDEOCC_8350 (Peter Robinson) +- fedora: arm64: enable ethernet on newer TI industrial (Peter Robinson) +- fedora: arm64: Disable VIDEO_IMX_MEDIA (Peter Robinson) +- fedora: use common config for Siemens Simatic IPC (Peter Robinson) +- fedora: arm: enable Rockchip SPI flash (Peter Robinson) +- fedora: arm64: enable DRM_TI_SN65DSI83 (Peter Robinson) +- kernel.spec: remove kernel-smp reference from scripts (Jan Stancek) +- redhat: do not compress the full kernel changelog in the src.rpm (Herton R. Krzesinski) +- Auto consolidate configs for the 6.7 cycle (Justin M. Forbes) +- Enable sound for a line of Huawei laptops (TomZanna) +- fedora: a few cleanups and driver enablements (Peter Robinson) +- fedora: arm64: cleanup Allwinner Pinctrl drivers (Peter Robinson) +- fedora: aarch64: Enable some DW drivers (Peter Robinson) +- redhat: ship all the changelog from source git into kernel-doc (Herton R. Krzesinski) +- redhat: create an empty changelog file when changing its name (Herton R. Krzesinski) +- redhat/self-test: Remove --all from git query (Prarit Bhargava) +- Disable accel drivers for Fedora x86 (Kate Hsuan) +- redhat: scripts: An automation script for disabling unused driver for x86 (Kate Hsuan) +- Fix up Fedora LJCA configs and filters (Justin M. Forbes) +- Fedora configs for 6.7 (Justin M. Forbes) +- Some Fedora config updates for MLX5 (Justin M. Forbes) +- Turn on DRM_ACCEL drivers for Fedora (Justin M. Forbes) +- redhat: enable the kfence test (Nico Pache) +- redhat/configs: Enable UCLAMP_TASK for PipeWire and WirePlumber (Neal Gompa) +- Turn on CONFIG_SECURITY_DMESG_RESTRICT for Fedora (Justin M. Forbes) +- Turn off shellcheck for the fedora-stable-release script (Justin M. Forbes) +- Add some initial Fedora stable branch script to redhat/scripts/fedora/ (Justin M. Forbes) +- redhat: disable iptables-legacy compatibility layer (Florian Westphal) +- redhat: disable dccp conntrack support (Florian Westphal) +- configs: enable netfilter_netlink_hook in fedora too (Florian Westphal) +- ext4: Mark mounting fs-verity filesystems as tech-preview (Alexander Larsson) +- erofs: Add tech preview markers at mount (Alexander Larsson) +- Enable fs-verity (Alexander Larsson) +- Enable erofs (Alexander Larsson) +- aarch64: enable uki (Gerd Hoffmann) +- redhat: enable CONFIG_SND_SOC_INTEL_SOF_DA7219_MACH as a module for x86 (Patrick Talbert) +- Turn CONFIG_MFD_CS42L43_SDW on for RHEL (Justin M. Forbes) +- Enable cryptographic acceleration config flags for PowerPC (Mamatha Inamdar) +- Also make vmlinuz-virt.efi world readable (Zbigniew Jędrzejewski-Szmek) +- Drop custom mode for System.map file (Zbigniew Jędrzejewski-Szmek) +- Add drm_exec_test to mod-internal.list for depmod to succeed (Mika Penttilä) +- RHEL 9.4 DRM backport (upto v6.6 kernel), sync Kconfigs (Mika Penttilä) +- Turn on USB_DWC3 for Fedora (rhbz 2250955) (Justin M. Forbes) +- redhat/configs: Move IOMMUFD to common (Alex Williamson) +- redhat: Really remove cpupower files (Prarit Bhargava) +- redhat: remove update_scripts.sh (Prarit Bhargava) +- Fix s390 zfcpfdump bpf build failures for cgroups (Don Zickus) +- Flip CONFIG_NVME_AUTH to m in pending (Justin M. Forbes) +- Turn CONFIG_SND_SOC_INTEL_AVS_MACH_RT5514 on for Fedora x86 (Jason Montleon) +- kernel/rh_messages.c: Mark functions as possibly unused (Prarit Bhargava) +- Add snd-hda-cirrus-scodec-test to mod-internal.list (Scott Weaver) +- Turn off BPF_SYSCALL in pending for zfcpdump (Justin M. Forbes) +- Add mean_and_variance_test to mod-internal.list (Justin M. Forbes) +- Add cfg80211-tests and mac80211-tests to mod-internal.list (Justin M. Forbes) +- Turn on CONFIG_MFD_CS42L43_SDW for RHEL in pending (Justin M. Forbes) +- Turn on bcachefs for Fedora (Justin M. Forbes) +- redhat: configs: fedora: Enable QSEECOM and friends (Andrew Halaney) +- Add clk-fractional-divider_test to mod-internal.list (Thorsten Leemhuis) +- Add gso_test to mod-internal.list (Thorsten Leemhuis) +- Add property-entry-test to mod-internal.list (Thorsten Leemhuis) +- Fedora 6.7 configs part 1 (Justin M. Forbes) +- [Scheduled job] Catch config mismatches early during upstream merge (Don Zickus) +- redhat/self-test: Update data for KABI xz change (Prarit Bhargava) +- redhat/scripts: Switch KABI tarballs to xz (Prarit Bhargava) +- redhat/kernel.spec.template: Switch KABI compression to xz (Prarit Bhargava) +- redhat: self-test: Use a more complete SRPM file suffix (Andrew Halaney) +- redhat: makefile: remove stray rpmbuild --without (Eric Chanudet) +- Consolidate configs into common for 6.6 (Justin M. Forbes) +- Updated Fedora configs (Justin M. Forbes) +- Turn on UFSHCD for Fedora x86 (Justin M. Forbes) +- redhat: configs: generic: x86: Disable CONFIG_VIDEO_OV01A10 for x86 platform (Hans de Goede) +- redhat: remove pending-rhel CONFIG_XFS_ASSERT_FATAL file (Patrick Talbert) +- New configs in fs/xfs (Fedora Kernel Team) +- crypto: rng - Override drivers/char/random in FIPS mode (Herbert Xu) +- random: Add hook to override device reads and getrandom(2) (Herbert Xu) +- redhat/configs: share CONFIG_ARM64_ERRATUM_2966298 between rhel and fedora (Mark Salter) +- configs: Remove S390 IOMMU config options that no longer exist (Jerry Snitselaar) +- redhat: docs: clarify where bugs and issues are created (Scott Weaver) +- redhat/scripts/rh-dist-git.sh does not take any arguments: fix error message (Denys Vlasenko) +- Add target_branch for gen_config_patches.sh (Don Zickus) +- redhat: disable kunit by default (Nico Pache) +- redhat/configs: enable the AMD_PMF driver for RHEL (David Arcari) +- Make CONFIG_ADDRESS_MASKING consistent between fedora and rhel (Chris von Recklinghausen) +- CI: add ark-latest baseline job to tag cki-gating for successful pipelines (Michael Hofmann) +- CI: provide child pipelines for CKI container image gating (Michael Hofmann) +- CI: allow to run as child pipeline (Michael Hofmann) +- CI: provide descriptive pipeline name for scheduled pipelines (Michael Hofmann) +- CI: use job templates for variant variables (Michael Hofmann) +- redhat/kernel.spec.template: simplify __modsign_install_post (Jan Stancek) +- Fedora filter updates after configs (Justin M. Forbes) +- Fedora configs for 6.6 (Justin M. Forbes) +- redhat/configs: Freescale Layerscape SoC family (Steve Best) +- Add clang MR/baseline pipelines (Michael Hofmann) +- CI: Remove unused kpet_tree_family (Nikolai Kondrashov) +- Add clang config framework (Don Zickus) +- Apply partial snippet configs to all configs (Don Zickus) +- Remove unpackaged kgcov config files (Don Zickus) +- redhat/configs: enable missing Kconfig options for Qualcomm RideSX4 (Brian Masney) +- enable CONFIG_ADDRESS_MASKING for x86_64 (Chris von Recklinghausen) +- common: aarch64: enable NXP Flex SPI (Peter Robinson) +- fedora: Switch TI_SCI_CLK and TI_SCI_PM_DOMAINS symbols to built-in (Javier Martinez Canillas) +- kernel.spec: adjust build option comment (Michael Hofmann) +- kernel.spec: allow to enable arm64_16k variant (Michael Hofmann) +- gitlab-ci: enable build-only pipelines for Rawhide/16k/aarch64 (Michael Hofmann) +- kernel.spec.template: Fix --without bpftool (Prarit Bhargava) +- redhat/configs: NXP BBNSM Power Key Driver (Steve Best) +- redhat/self-test: Update data for cross compile fields (Prarit Bhargava) +- redhat/Makefile.cross: Add message for disabled subpackages (Prarit Bhargava) +- redhat/Makefile.cross: Update cross targets with disabled subpackages (Prarit Bhargava) +- Remove XFS_ASSERT_FATAL from pending-fedora (Justin M. Forbes) +- Change default pending for XFS_ONLINE_SCRUB_STATSas it now selects XFS_DEBUG (Justin M. Forbes) +- gitlab-ci: use --with debug/base to select kernel variants (Michael Hofmann) +- kernel.spec: add rpmbuild --without base option (Michael Hofmann) +- redhat: spec: Fix typo for kernel_variant_preun for 16k-debug flavor (Neal Gompa) +- Turn off appletalk for fedora (Justin M. Forbes) +- New configs in drivers/media (Fedora Kernel Team) +- redhat/docs: Add a mention of bugzilla for bugs (Prarit Bhargava) +- Fix the fixup of Fedora release (Don Zickus) +- Fix Fedora release scheduled job (Don Zickus) +- Move squashfs to kernel-modules-core (Justin M. Forbes) +- redhat: Explicitly disable CONFIG_COPS (Vitaly Kuznetsov) +- redhat: Add dist-check-licenses target (Vitaly Kuznetsov) +- redhat: Introduce "Verify SPDX-License-Identifier tags" selftest (Vitaly Kuznetsov) +- redhat: Use kspdx-tool output for the License: field (Vitaly Kuznetsov) +- Rename pipeline repo branch and DW tree names (Michael Hofmann) +- Adjust comments that refer to ARK in a Rawhide context (Michael Hofmann) +- Rename variable names starting with ark- to rawhide- (Michael Hofmann) +- Rename trigger-ark to trigger-rawhide (Michael Hofmann) +- Fix up config mismatches for Fedora (Justin M. Forbes) +- redhat/configs: Texas Instruments Inc. K3 multicore SoC architecture (Steve Best) +- Flip CONFIG_VIDEO_V4L2_SUBDEV_API in pending RHEL due to mismatch (Justin M. Forbes) +- CONFIG_HW_RANDOM_HISI: move to common and set to m (Scott Weaver) +- Turn off CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE for Fedora s390x (Justin M. Forbes) +- Disable tests for ELN realtime pipelines (Michael Hofmann) +- New configs in mm/Kconfig (Fedora Kernel Team) +- Flip CONFIG_SND_SOC_CS35L56_SDW to m and clean up (Justin M. Forbes) +- Add drm_exec_test to mod-internal.list (Thorsten Leemhuis) +- Add new pending entry for CONFIG_SND_SOC_CS35L56_SDW to fix mismatch (Justin M. Forbes) +- Fix tarball creation logic (Don Zickus) +- redhat: bump libcpupower soname to match upstream (Patrick Talbert) +- Turn on MEMFD_CREATE in pending as it is selected by CONFIG_TMPFS (Justin M. Forbes) +- redhat: drop unneeded build-time dependency gcc-plugin-devel (Coiby Xu) +- all: x86: move wayward x86 specific config home (Peter Robinson) +- all: de-dupe non standard config options (Peter Robinson) +- all: x86: clean up microcode loading options (Peter Robinson) +- common: remove unnessary CONFIG_SND_MESON_AXG* (Peter Robinson) +- redhat: Fix UKI install with systemd >= 254 (Vitaly Kuznetsov) +- redhat: Use named parameters for kernel_variant_posttrans()/kernel_variant_preun() (Vitaly Kuznetsov) +- redhat/kernel.spec.template: update compression variables to support zstd (Brian Masney) +- Consolidate configs to common for 6.5 (Justin M. Forbes) +- Remove unused config entry for Fedora (Justin M. Forbes) +- redhat/self-test: Remove rpmlint test (Prarit Bhargava) +- Remove the armv7 config directory from Fedora again (Justin M. Forbes) +- Enable CONFIG_EXPERT for both RHEL and Fedora (Justin M. Forbes) +- redhat/configs: Enable CONFIG_DEVICE_PRIVATE on aarch64 (David Hildenbrand) [2231407] +- redhat/configs: disable CONFIG_ROCKCHIP_ERRATUM_3588001 for RHEL (Mark Salter) +- redhat: shellcheck fixes (Prarit Bhargava) +- redhat/configs: enable tegra114 SPI (Mark Salter) +- all: properly cleanup firewire once and for all (Peter Robinson) +- Fix up filters for Fedora (Justin M. Forbes) +- New configs in arch/x86 (Fedora Kernel Team) +- Add an armv7 directory back for the Fedora configs (Justin M. Forbes) +- Fedora 6.5 config updates (Justin M. Forbes) +- Turn off DMABUF_SYSFS_STATS (Justin M. Forbes) +- CI: rawhide_release: switch to using script to push (Don Zickus) +- redhat/self-test: Update self-test data (Prarit Bhargava) +- redhat/scripts/cross-compile: Update download_cross.sh (Prarit Bhargava) +- redhat/Makefile.cross: Remove ARCH selection code (Prarit Bhargava) +- redhat/Makefile.cross: Update script (Prarit Bhargava) +- Fix interruptible non MR jobs (Michael Hofmann) +- all: run evaluate_configs to de-dupe merged aarch64 (Peter Robinson) +- all: arm: merge the arm and arm/aarch64 (Peter Robinson) +- fedora: remove ARMv7 AKA armhfp configurations (Peter Robinson) +- fedora: remove ARMv7 AKA armhfp support (Peter Robinson) +- redhat/configs: enable CONFIG_VIRTIO_MEM on aarch64 (David Hildenbrand) [2044155] +- redhat/configs: enable CONFIG_MEMORY_HOTREMOVE aarch64 (David Hildenbrand) [2062054] +- redhat: Add arm64-16k kernel flavor scaffold for 16K page-size'd AArch64 (Neal Gompa) +- fedora: enable i3c on aarch64 (Peter Robinson) +- redhat/configs: Remove `CONFIG_HZ_1000 is not set` for aarch64 (Enric Balletbo i Serra) +- redhat/configs: turn on the framework for SPI NOR for ARM (Steve Best) +- configs: add new ChromeOS UART driver (Mark Langsdorf) +- configs: add new ChromeOS Human Presence Sensor (Mark Langsdorf) +- redhat/configs: Enable CONFIG_NVIDIA_WMI_EC_BACKLIGHT for both Fedora and RHEL (Kate Hsuan) +- redhat/configs: Texas Instruments INA3221 driver (Steve Best) +- arm: i.MX: Some minor NXP i.MX cleanups (Peter Robinson) +- Description: Set config for Tegra234 pinctrl driver (Joel Slebodnick) +- Update RPM Scriptlet for kernel-install Changes (Jonathan Steffan) +- [CI] add exit 0 to the end of CI scripts (Don Zickus) +- redhat: configs: Disable CONFIG_CRYPTO_STATS since performance issue for storage (Kate Hsuan) [2227793] +- Remove obsolete variable from gitlab-ci.yml (Ondrej Kinst) +- redhat/configs: Move GVT-g to Fedora only (Alex Williamson) +- [CI] Make sure we are on correct branch before running script (Don Zickus) +- CI: ark-update-configs: sync push command and output (Don Zickus) +- CI: ark-update-configs: misc changes (Don Zickus) +- CI: sync ark-create-release push commands with output (Don Zickus) +- CI: ark-create-release: Add a robust check if nothing changed (Don Zickus) +- CI: Remove legacy tag check cruft (Don Zickus) +- CI: Introduce simple environment script (Don Zickus) +- redhat/configs: Disable FIREWIRE for RHEL (Prarit Bhargava) +- redhat/scripts/rh-dist-git.sh: print list of uploaded files (Denys Vlasenko) +- redhat/scripts/expand_srpm.sh: add missing function, robustify (Denys Vlasenko) +- redhat: Enable HSR and PRP (Felix Maurer) +- redhat/scripts/rh-dist-git.sh: fix outdated message and comment (Denys Vlasenko) +- redhat/configs: Disable CONFIG_I8K (Prarit Bhargava) +- Make sure posttrans script doesn't fail if restorecon is not installed (Daan De Meyer) +- Update filters for new config items (Justin M. Forbes) +- More Fedora 6.5 configs (Justin M. Forbes) +- redhat/configs: disable pre-UVC cameras for RHEL on aarch64 (Dean Nelson) +- redhat/configs: enable CONFIG_MEDIA_SUPPORT for RHEL on aarch64 (Dean Nelson) +- move ownership of /lib/modules// to kernel-core (Thorsten Leemhuis) +- Let kernel-modules-core own the files depmod generates. (Thorsten Leemhuis) +- redhat: configs: Enable CONFIG_TYPEC_STUSB160X for rhel on aarch64 (Desnes Nunes) +- Add filters for ptp_dfl_tod on Fedora (Justin M. Forbes) +- Fedora 6.5 configs part 1 (Justin M. Forbes) +- fedora: enable CONFIG_ZYNQMP_IPI_MBOX as a builtin in pending-fedora (Patrick Talbert) +- fedora: arm: some minor updates (Peter Robinson) +- fedora: bluetooth: enable AOSP extensions (Peter Robinson) +- fedora: wifi: tweak ZYDAS WiFI config options (Peter Robinson) +- scsi: sd: Add "probe_type" module parameter to allow synchronous probing (Ewan D. Milne) [2140017] +- redhat/configs: allow IMA to use MOK keys (Coiby Xu) +- Simplify documentation jobs (Michael Hofmann) +- Auto-cancel pipelines only on MRs (Michael Hofmann) +- CI: Call script directly (Don Zickus) +- CI: Remove stale TAG and Makefile cruft (Don Zickus) +- CI: Move os-build tracking to common area (Don Zickus) +- redhat: use the eln builder for daily jobs (Patrick Talbert) +- redhat: set CONFIG_XILINX_WINDOW_WATCHDOG as disabled in pending (Patrick Talbert) +- Add baseline ARK/ELN pipelines (Michael Hofmann) +- Simplify job rules (Michael Hofmann) +- Build ELN srpm for bot changes (Michael Hofmann) +- Run RH selftests for ELN (Michael Hofmann) +- Simplify job templates (Michael Hofmann) +- Extract rules to allow orthogonal configuration (Michael Hofmann) +- Require ELN pipelines if started automatically (Michael Hofmann) +- Add ARK debug pipeline (Michael Hofmann) +- Extract common parts of child pipeline job (Michael Hofmann) +- Move ARK pipeline variables into job template (Michael Hofmann) +- Simplify ARK pipeline rules (Michael Hofmann) +- Change pathfix.py to %%py3_shebang_fix (Justin M. Forbes) +- Turn on NET_VENDOR_QUALCOMM for Fedora to enable rmnet (Justin M. Forbes) +- redhat: add intel-m10-bmc-hwmon to filter-modules singlemods list (Patrick Talbert) +- fedira: enable pending-fedora CONFIG_CPUFREQ_DT_PLATDEV as a module (Patrick Talbert) +- redhat: fix the 'eln BUILD_TARGET' self-test (Patrick Talbert) +- redhat: update the self-test-data (Patrick Talbert) +- redhat: remove trailing space in dist-dump-variables output (Patrick Talbert) +- Allow ELN pipelines failures (Michael Hofmann) +- Enable cs-like CI (Michael Hofmann) +- Allow to auto-cancel redundant pipelines (Michael Hofmann) +- Remove obsolete unused trigger variable (Michael Hofmann) +- Fix linter warnings in .gitlab-ci.yml (Michael Hofmann) +- config: wifi: debug options for ath11k, brcm80211 and iwlwifi (Íñigo Huguet) +- redhat: allow dbgonly cross builds (Jan Stancek) +- redhat/configs: Clean up x86-64 call depth tracking configs (Waiman Long) +- redhat: move SND configs from pending-rhel to rhel (Patrick Talbert) +- Fix up armv7 configs for Fedora (Justin M. Forbes) +- redhat: Set pending-rhel x86 values for various SND configs (Patrick Talbert) +- redhat: update self-test data (Patrick Talbert) +- redhat: ignore SPECBPFTOOLVERSION/bpftoolversion in self-test create-data.sh (Patrick Talbert) +- fedora/rhel: Move I2C_DESIGNWARE_PLATFORM, I2C_SLAVE, & GPIOLIB from pending (Patrick Talbert) +- redhat/filter-modules.sh.rhel: add needed deps for intel_rapl_tpmi (Jan Stancek) +- fedora: Enable CONFIG_SPI_SLAVE (Patrick Talbert) +- fedora/rhel: enable I2C_DESIGNWARE_PLATFORM, I2C_SLAVE, and GPIOLIB (Patrick Talbert) +- fedora: Enable CONFIG_SPI_SLAVE in fedora-pending (Patrick Talbert) +- redhat: remove extra + (plus) from meta package Requires definitions (Patrick Talbert) +- Add intel-m10-bmc-hwmon to singlemods (Thorsten Leemhuis) +- Add hid-uclogic-test to mod-internal.list (Thorsten Leemhuis) +- Add checksum_kunit.ko to mod-internal.list (Thorsten Leemhuis) +- Add strcat_kunit to mod-internal.list (Thorsten Leemhuis) +- Add input_test to mod-intenal.list (Thorsten Leemhuis) +- Revert "Remove EXPERT from ARCH_FORCE_MAX_ORDER for aarch64" (Justin M. Forbes) +- Fix up rebase issue with CONFIG_ARCH_FORCE_MAX_ORDER (Justin M. Forbes) +- redhat/kernel.spec.template: Disable 'extracting debug info' messages (Prarit Bhargava) +- kernel/rh_messages.c: Another gcc12 warning on redundant NULL test (Florian Weimer) [2216678] +- redhat: fix signing for realtime and arm64_64k non-debug variants (Jan Stancek) +- redhat: treat with_up consistently (Jan Stancek) +- redhat: make with_realtime opt-in (Jan Stancek) +- redhat/configs: Disable qcom armv7 drippings in the aarch64 tree (Jeremy Linton) +- kernel.spec: drop obsolete ldconfig (Jan Stancek) +- Consolidate config items to common for 6.4 cycle (Justin M. Forbes) +- Turn on CO?NFIg_RMNET for Fedora (Justin M. Forbes) +- redhat/configs: enable CONFIG_MANA_INFINIBAND=m for ARK (Vitaly Kuznetsov) +- redhat/config: common: Enable CONFIG_GPIO_SIM for software development (Kate Hsuan) +- redhat: fix problem with RT kvm modules listed twice in rpm generation (Clark Williams) +- redhat: turn off 64k kernel builds with rtonly (Clark Williams) +- redhat: turn off zfcpdump for rtonly (Clark Williams) +- redhat: don't allow with_rtonly to turn on unsupported arches (Clark Williams) +- redhat: update self-test data for addition of RT and 64k-page variants (Clark Williams) +- redhat: fix realtime and efiuki build conflict (Jan Stancek) +- arm64-64k: Add new kernel variant to RHEL9/CS9 for 64K page-size'd ARM64 (Donald Dutile) [2153073] +- redhat: TEMPORARY set configs to deal with PREEMPT_RT not available (Clark Williams) +- redhat: TEMPORARY default realtime to off (Clark Williams) +- redhat: moved ARM errata configs to arm dir (Clark Williams) +- redhat: RT packaging changes (Clark Williams) +- redhat: miscellaneous commits needed due to CONFIG_EXPERT (Clark Williams) +- redhat: realtime config entries (Clark Williams) +- common: remove deleted USB PCCARD drivers (Peter Robinson) +- fedora: further cleanup of pccard/cardbus subsystem (Peter Robinson) +- common: properly disable PCCARD subsystem (Peter Robinson) +- redhat/configs: arm: enable SERIAL_TEGRA UART for RHEL (Mark Salter) +- redhat/configs: enable CONFIG_X86_AMD_PSTATE_UT (David Arcari) +- redhat/configs: Enable CONFIG_TCG_VTPM_PROXY for RHEL (Štěpán Horáček) +- redhat: do not package *.mod.c generated files (Denys Vlasenko) +- ALSA configuration changes for ARK/RHEL 9.3 (Jaroslav Kysela) +- spec: remove resolve_btfids from kernel-devel (Viktor Malik) +- Fix typo in filter-modules (Justin M. Forbes) +- redhat/configs: Enable CONFIG_INIT_STACK_ALL_ZERO for RHEL (Josh Poimboeuf) +- Remove CONFIG_ARCH_FORCE_MAX_ORDER for aarch64 (Justin M. Forbes) +- Fix up config and filter for PTP_DFL_TOD (Justin M. Forbes) +- redhat/configs: IMX8ULP pinctrl driver (Steve Best) +- redhat/configs: increase CONFIG_FRAME_WARN for Fedora on aarch64 (Brian Masney) +- redhat/configs: add two missing Kconfig options for the Thinkpad x13s (Brian Masney) +- Fedora configs for 6.4 (Justin M. Forbes) +- Change aarch64 CONFIG_ARCH_FORCE_MAX_ORDER to 10 for 4K pages (Justin M. Forbes) +- kernel.spec: remove "RPM_VMLINUX_H=$DevelDir/vmlinux.h" code chunk in %%install (Denys Vlasenko) +- redhat/configs: aarch64: Turn on Display for OnePlus 6 (Eric Curtin) +- redhat/configs: NXP i.MX93 pinctrl, clk, analog to digital converters (Steve Best) +- redhat/configs: Enable CONFIG_SC_GPUCC_8280XP for fedora (Andrew Halaney) +- redhat/configs: Enable CONFIG_QCOM_IPCC for fedora (Andrew Halaney) +- Add rv subpackage for kernel-tools (John Kacur) [2188441] +- redhat/configs: NXP i.MX9 family (Steve Best) +- redhat/genlog.py: add support to list/process zstream Jira tickets (Herton R. Krzesinski) +- redhat: fix duplicate jira issues in the resolves line (Herton R. Krzesinski) +- redhat: add support for Jira issues in changelog (Herton R. Krzesinski) +- redhat/configs: turn on IMX8ULP CCM Clock Driver (Steve Best) +- redhat: update filter-modules fsdrvs list to reference smb instead of cifs (Patrick Talbert) +- Turn off some debug options found to impact performance (Justin M. Forbes) +- wifi: rtw89: enable RTL8852BE card in RHEL (Íñigo Huguet) +- redhat/configs: enable TEGRA186_GPC_DMA for RHEL (Mark Salter) +- Move imx8m configs from fedora to common (Mark Salter) +- redhat/configs: turn on lpuart serial port support Driver (Steve Best) [2208834] +- Turn off DEBUG_VM for non debug Fedora kernels (Justin M. Forbes) +- Enable CONFIG_BT on aarch64 (Charles Mirabile) +- redhat/configs: turn on CONFIG_MARVELL_CN10K_TAD_PMU (Michal Schmidt) [2042240] +- redhat/configs: Fix enabling MANA Infiniband (Kamal Heib) +- Fix file listing for symvers in uki (Justin M. Forbes) +- Fix up some Fedora config items (Justin M. Forbes) +- enable efifb for Nvidia (Justin M. Forbes) +- kernel.spec: package unstripped test_progs-no_alu32 (Felix Maurer) +- Turn on NFT_CONNLIMIT for Fedora (Justin M. Forbes) +- Include the information about builtin symbols into kernel-uki-virt package too (Vitaly Kuznetsov) +- redhat/configs: Fix incorrect configs location and content (Vladis Dronov) +- redhat/configs: turn on CONFIG_MARVELL_CN10K_DDR_PMU (Michal Schmidt) [2042241] +- redhat: configs: generic: x86: Disable CONFIG_VIDEO_OV2740 for x86 platform (Kate Hsuan) +- Enable IO_URING for RHEL (Justin M. Forbes) +- Turn on IO_URING for RHEL in pending (Justin M. Forbes) +- redhat: Remove editconfig (Prarit Bhargava) +- redhat: configs: fix CONFIG_WERROR replace in build_configs (Jan Stancek) +- redhat/configs: enable Maxim MAX77620 PMIC for RHEL (Mark Salter) +- kernel.spec: skip kernel meta package when building without up (Jan Stancek) +- redhat/configs: enable RDMA_RXE for RHEL (Kamal Heib) [2022578] +- redhat/configs: update RPCSEC_GSS_KRB5 configs (Scott Mayhew) +- redhat/Makefile: Support building linux-next (Thorsten Leemhuis) +- redhat/Makefile: support building stable-rc versions (Thorsten Leemhuis) +- redhat/Makefile: Add target to print DISTRELEASETAG (Thorsten Leemhuis) +- Remove EXPERT from ARCH_FORCE_MAX_ORDER for aarch64 (Justin M. Forbes) +- Revert "Merge branch 'unstripped-no_alu32' into 'os-build'" (Patrick Talbert) +- configs: Enable CONFIG_PAGE_POOL_STATS for common/generic (Patrick Talbert) +- redhat/configs: enable CONFIG_DELL_WMI_PRIVACY for both RHEL and Fedora (David Arcari) +- kernel.spec: package unstripped test_progs-no_alu32 (Felix Maurer) +- bpf/selftests: fix bpf selftests install (Jerome Marchand) +- kernel.spec: add bonding selftest (Hangbin Liu) +- Change FORCE_MAX_ORDER for ppc64 to be 8 (Justin M. Forbes) +- kernel.spec.template: Add global compression variables (Prarit Bhargava) +- kernel.spec.template: Use xz for KABI (Prarit Bhargava) +- kernel.spec.template: Remove gzip related aarch64 code (Prarit Bhargava) +- Add apple_bl to filter-modules (Justin M. Forbes) +- Add handshake-test to mod-intenal.list (Justin M. Forbes) +- Add regmap-kunit to mod-internal.list (Justin M. Forbes) +- configs: set CONFIG_PAGE_POOL_STATS (Patrick Talbert) +- Add apple_bl to fedora module_filter (Justin M. Forbes) +- Fix up some config mismatches in new Fedora config items (Justin M. Forbes) +- redhat/configs: disable CONFIG_USB_NET_SR9700 for aarch64 (Jose Ignacio Tornos Martinez) +- Fix up the RHEL configs for xtables and ipset (Justin M. Forbes) +- ark: enable wifi on aarch64 (Íñigo Huguet) +- fedora: wifi: hermes: disable 802.11b driver (Peter Robinson) +- fedora: wifi: libertas: use the LIBERTAS_THINFIRM driver (Peter Robinson) +- fedora: wifi: disable Zydas vendor (Peter Robinson) +- redhat: fix python ValueError in error path of merge.py (Clark Williams) +- fedora: arm: minor updates (Peter Robinson) +- kernel.spec: Fix UKI naming to comply with BLS (Philipp Rudo) +- redhat/kernel.spec.template: Suppress 'extracting debug info' noise in build log (Prarit Bhargava) +- Fedora 6.3 configs part 2 (Justin M. Forbes) +- redhat/configs: Enable CONFIG_X86_KERNEL_IBT for Fedora and ARK (Josh Poimboeuf) +- kernel.spec: gcov: make gcov subpackages per variant (Jan Stancek) +- kernel.spec: Gemini: add Epoch to perf and rtla subpackages (Jan Stancek) +- kernel.spec: Gemini: fix header provides for upgrade path (Jan Stancek) +- redhat: introduce Gemini versioning (Jan Stancek) +- redhat: separate RPM version from uname version (Jan Stancek) +- redhat: introduce GEMINI and RHEL_REBASE_NUM variable (Jan Stancek) +- ipmi: ssif_bmc: Add SSIF BMC driver (Tony Camuso) +- common: minor de-dupe of parallel port configs (Peter Robinson) +- Fedora 6.3 configs part 1 (Justin M. Forbes) +- redhat: configs: Enable CONFIG_MEMTEST to enable memory test (Kate Hsuan) +- Update Fedora arm filters after config updates (Nicolas Chauvet) +- redhat/kernel.spec.template: Fix kernel-tools-libs-devel dependency (Prarit Bhargava) +- redhat: fix the check for the n option (Patrick Talbert) +- common: de-dupe some options that are the same (Peter Robinson) +- generic: remove deleted options (Peter Robinson) +- redhat/configs: enable CONFIG_INTEL_TCC_COOLING for RHEL (David Arcari) +- Update Fedora ppc filters after config updates (Justin M. Forbes) +- Update Fedora aarch64 filters after config updates (Justin M. Forbes) +- fedora: arm: Updates for 6.3 (Peter Robinson) +- redhat: kunit: cleanup NITRO config and enable rescale test (Nico Pache) +- kernel.spec: use %%{package_name} to fix kernel-devel-matched Requires (Jan Stancek) +- kernel.spec: use %%{package_name} also for abi-stablelist subpackages (Jan Stancek) +- kernel.spec: use %%{package_name} also for tools subpackages (Jan Stancek) +- generic: common: Parport and paride/ata cleanups (Peter Robinson) +- CONFIG_SND_SOC_CS42L83 is no longer common (Justin M. Forbes) +- configs: arm: bring some configs in line with rhel configs in c9s (Mark Salter) +- arm64/configs: Put some arm64 configs in the right place (Mark Salter) +- cleanup removed R8188EU config (Peter Robinson) +- Make RHJOBS container friendly (Don Zickus) +- Remove scmversion from kernel.spec.template (Don Zickus) +- redhat/configs: Enable CONFIG_SND_SOC_CS42L83 (Neal Gompa) +- Use RHJOBS for create-tarball (Don Zickus) +- Enable CONFIG_NET_SCH_FQ_PIE for Fedora (Justin M. Forbes) +- Make Fedora debug configs more useful for debug (Justin M. Forbes) +- redhat/configs: enable Octeon TX2 network drivers for RHEL (Michal Schmidt) [2040643] +- redhat/kernel.spec.template: fix installonlypkg for meta package (Jan Stancek) +- redhat: version two of Makefile.rhelver tweaks (Clark Williams) +- redhat/configs: Disable CONFIG_GCC_PLUGINS (Prarit Bhargava) +- redhat/kernel.spec.template: Fix typo for process_configs.sh call (Neal Gompa) +- redhat/configs: CONFIG_CRYPTO_SM3_AVX_X86_64 is x86 only (Vladis Dronov) +- redhat/configs: Enable CONFIG_PINCTRL_METEORLAKE in RHEL (Prarit Bhargava) +- fedora: enable new image sensors (Peter Robinson) +- redhat/self-test: Update self-test data (Prarit Bhargava) +- redhat/kernel.spec.template: Fix hardcoded "kernel" (Prarit Bhargava) +- redhat/configs/generate_all_configs.sh: Fix config naming (Prarit Bhargava) +- redhat/kernel.spec.template: Pass SPECPACKAGE_NAME to generate_all_configs.sh (Prarit Bhargava) +- kernel.spec.template: Use SPECPACKAGE_NAME (Prarit Bhargava) +- redhat/Makefile: Copy spec file (Prarit Bhargava) +- redhat: Change PACKAGE_NAME to SPECPACKAGE_NAME (Prarit Bhargava) +- redhat/configs: Support the virtio_mmio.device parameter in Fedora (David Michael) +- Revert "Merge branch 'systemd-boot-unsigned' into 'os-build'" (Patrick Talbert) +- redhat/Makefile: fix default values for dist-brew's DISTRO and DIST (Íñigo Huguet) +- Remove cc lines from automatic configs (Don Zickus) +- Add rtla-hwnoise files (Justin M. Forbes) +- redhat/kernel.spec.template: Mark it as a non-executable file (Neal Gompa) +- fedora: arm: Enable DRM_PANEL_HIMAX_HX8394 (Javier Martinez Canillas) +- redhat/configs: CONFIG_HP_ILO location fix (Vladis Dronov) +- redhat: Fix build for kselftests mm (Nico Pache) +- fix tools build after vm to mm rename (Justin M. Forbes) +- redhat/spec: Update bpftool versioning scheme (Viktor Malik) +- redhat/configs: CONFIG_CRYPTO_SM4_AESNI_AVX*_X86_64 is x86 only (Prarit Bhargava) +- redhat: adapt to upstream Makefile change (Clark Williams) +- redhat: modify efiuki specfile changes to use variants convention (Clark Williams) +- Turn off DEBUG_INFO_COMPRESSED_ZLIB for Fedora (Justin M. Forbes) +- redhat/kernel.spec.template: Fix RHEL systemd-boot-unsigned dependency (Prarit Bhargava) +- Add hashtable_test to mod-internal.list (Justin M. Forbes) +- Add more kunit tests to mod-internal.list for 6.3 (Justin M. Forbes) +- Flip CONFIG_I2C_ALGOBIT to m (Justin M. Forbes) +- Flip I2C_ALGOBIT to m to avoid mismatch (Justin M. Forbes) +- kernel.spec: move modules.builtin to kernel-core (Jan Stancek) +- Turn on IDLE_INJECT for x86 (Justin M. Forbes) +- Flip CONFIG_IDLE_INJECT in pending (Justin M. Forbes) +- redhat/configs: Enable CONFIG_V4L_TEST_DRIVERS related drivers (Enric Balletbo i Serra) +- redhat/configs: Enable UCSI_CCG support (David Marlin) +- Fix underline mark-up after text change (Justin M. Forbes) +- Turn on CONFIG_XFS_RT for Fedora (Justin M. Forbes) +- Consolidate common configs for 6.2 (Justin M. Forbes) +- aarch64: enable zboot (Gerd Hoffmann) +- redhat: remove duplicate pending-rhel config items (Patrick Talbert) +- Disable frame pointers (Justin M. Forbes) +- redhat/configs: update scripts and docs for ark -> rhel rename (Clark Williams) +- redhat/configs: rename ark configs dir to rhel (Clark Williams) +- Turn off CONFIG_DEBUG_INFO_COMPRESSED_ZLIB for ppc64le (Justin M. Forbes) +- kernel.spec: package unstripped kselftests/bpf/test_progs (Jan Stancek) +- kernel.spec: allow to package some binaries as unstripped (Jan Stancek) +- redhat/configs: Make merge.py portable for older python (Desnes Nunes) +- Fedora configs for 6.2 (Justin M. Forbes) +- redhat: Repair ELN build broken by the recent UKI changes (Vitaly Kuznetsov) +- redhat/configs: enable CONFIG_INET_DIAG_DESTROY (Andrea Claudi) +- Enable TDX Guest driver (Vitaly Kuznetsov) +- redhat/configs: Enable CONFIG_PCIE_PTM generically (Corinna Vinschen) +- redhat: Add sub-RPM with a EFI unified kernel image for virtual machines (Vitaly Kuznetsov) +- redhat/Makefile: Remove GIT deprecated message (Prarit Bhargava) +- Revert "redhat: configs: Disable xtables and ipset" (Phil Sutter) +- redhat/configs: Enable CONFIG_SENSORS_LM90 for RHEL (Mark Salter) +- Fix up SQUASHFS decompression configs (Justin M. Forbes) +- redhat/configs: enable CONFIG_OCTEON_EP as a module in ARK (Michal Schmidt) [2041990] +- redhat: ignore rpminspect runpath report on urandom_read selftest binaries (Herton R. Krzesinski) +- kernel.spec: add llvm-devel build requirement (Scott Weaver) +- Update self-test data to not expect debugbuildsenabled 0 (Justin M. Forbes) +- Turn off forced debug builds (Justin M. Forbes) +- Turn on debug builds for aarch64 Fedora (Justin M. Forbes) +- redhat/configs: modify merge.py to match old overrides input (Clark Williams) +- redhat: fixup pylint complaints (Clark Williams) +- redhat: remove merge.pl and references to it (Clark Williams) +- redhat: update merge.py to handle merge.pl corner cases (Clark Williams) +- Revert "redhat: fix elf got hardening for vm tools" (Don Zickus) +- Update rebase notes for Fedora (Justin M. Forbes) +- Update CONFIG_LOCKDEP_CHAINS_BITS to 19 (cmurf) +- redhat/configs: Turn on CONFIG_SPI_TEGRA210_QUAD for RHEL (Mark Salter) +- ark: aarch64: drop CONFIG_SMC911X (Peter Robinson) +- all: cleanup and de-dupe CDROM_PKTCDVD options. (Peter Robinson) +- all: remove CRYPTO_GF128MUL (Peter Robinson) +- all: cleanup UEFI options (Peter Robinson) +- common: arm64: Enable Ampere Altra SMpro Hardware Monitoring (Peter Robinson) +- fedora: enable STACKPROTECTOR_STRONG (Peter Robinson) +- fedora: enable STACKPROTECTOR on arm platforms (Peter Robinson) +- redhat/self-test: Update data with ENABLE_WERROR (Prarit Bhargava) +- redhat/Makefile.variables: Add ENABLE_WERROR (Prarit Bhargava) +- makefile: Add -Werror support for RHEL (Prarit Bhargava) +- redhat/Makefile.variables: Remove mention of Makefile.rhpkg (Prarit Bhargava) +- redhat/Makefile.variables: Alphabetize variables (Prarit Bhargava) +- gitlab-ci: use CI templates from production branch (Michael Hofmann) +- redhat/kernel.spec.template: Fix internal "File listed twice" errors (Prarit Bhargava) +- redhat: Remove stale .tmp_versions code and comments (Prarit Bhargava) +- redhat/kernel.spec.template: Fix vmlinux_decompressor on !s390x (Prarit Bhargava) +- redhat/kernel.spec.template: Remove unnecessary output from pathfix.py (Prarit Bhargava) +- Modularize CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU (Mark Salter) +- redhat/kernel.spec.template: Parallelize compression (Prarit Bhargava) +- config: Enable Security Path (Ricardo Robaina) +- redhat/self-test/data: Regenerate self-test data for make change (Prarit Bhargava) +- Update module filters for nvmem_u-boot-env (Justin M. Forbes) +- fedora: Updates for 6.2 merge (Peter Robinson) +- fedora: Updates for 6.1 merge (Peter Robinson) +- modules-core: use %%posttrans (Gerd Hoffmann) +- split sub-rpm kernel-modules-core from kernel-core (Gerd Hoffmann) +- Turn off CONFIG_MTK_T7XX for S390x (Justin M. Forbes) +- CI: add variable for variant handling (Veronika Kabatova) +- Fix up configs with SND_SOC_NAU8315 mismatch (Justin M. Forbes) +- CI: Do a full build for non-bot runs (Veronika Kabatova) +- Fix up configs with SND_SOC_NAU8315 mismatch (Justin M. Forbes) +- kernel/rh_messages.c: gcc12 warning on redundant NULL test (Eric Chanudet) [2142658] +- redhat/configs: Enable CRYPTO_CURVE25519 in ark (Prarit Bhargava) +- general: arm: cleanup ASPEED options (Peter Robinson) +- redhat/configs: ALSA - cleanups for the AMD Pink Sardine DMIC driver (Jaroslav Kysela) +- redhat/docs: Add FAQ entry for booting between Fedora & ELN/RHEL kernels (Prarit Bhargava) +- spec: add missing BuildRequires: python3-docutils for tools (Ondrej Mosnacek) +- config: enable RCU_TRACE for debug kernels (Wander Lairson Costa) +- Add siphash_kunit and strscpy_kunit to mod-internal.list (Justin M. Forbes) +- Add drm_kunit_helpers to mod-internal.list (Justin M. Forbes) +- Fix up configs for Fedora so we don't have a mismatch (Justin M. Forbes) +- Turn on CONFIG_SQUASHFS_DECOMP_SINGLE in pending (Justin M. Forbes) +- redhat/kernel.spec.template: Fix cpupower file error (Prarit Bhargava) +- redhat/configs: aarhc64: clean up some erratum configs (Mark Salter) +- More Fedora configs for 6.1 as deps were switched on (Justin M. Forbes) +- redhat/configs: make SOC_TEGRA_CBB a module (Mark Salter) +- redhat/configs: aarch64: reorganize tegra configs to common dir (Mark Salter) +- Enforces buildroot if cross_arm (Nicolas Chauvet) +- Handle automated case when config generation works correctly (Don Zickus) +- Turn off CONFIG_CRYPTO_ARIA_AESNI_AVX_X86_64 (Justin M. Forbes) +- Turn off CONFIG_EFI_ZBOOT as it makes CKI choke (Justin M. Forbes) +- Fedora config updates for 6.1 (Justin M. Forbes) +- redhat: Remove cpupower files (Prarit Bhargava) +- redhat/configs: update CXL-related options to match what RHEL will use (John W. Linville) +- Clean up the config for the Tegra186 timer (Al Stone) +- redhat/configs: move CONFIG_TEGRA186_GPC_DMA config (Mark Salter) +- Check for kernel config git-push failures (Don Zickus) +- redhat: genlog.sh failures should interrupt the recipe (Patrick Talbert) +- Turn CONFIG_GNSS back on for Fedora (Justin M. Forbes) +- redhat/configs: enable CONFIG_GNSS for RHEL (Michal Schmidt) +- Turn off NVMEM_U_BOOT_ENV for fedora (Justin M. Forbes) +- Consolidate matching fedora and ark entries to common (Justin M. Forbes) +- Empty out redhat/configs/common (Justin M. Forbes) +- Adjust path to compressed vmlinux kernel image for s390x (Justin M. Forbes) [2149273] +- Fedora config updates for 6.1 (Justin M. Forbes) +- redhat: genlog.sh should expect genlog.py in the current directory (Patrick Talbert) +- redhat/configs: consolidate CONFIG_TEST_LIVEPATCH=m (Joe Lawrence) +- redhat/configs: enable CONFIG_TEST_LIVEPATCH=m for s390x (Julia Denham) +- Revert "Merge branch 'ark-make-help' into 'os-build'" (Scott Weaver) +- Remove recommendation to use 'common' for config changes. (Don Zickus) +- Update config to add i3c support for AArch64 (Mark Charlebois) +- redhat: Move cross-compile scripts into their own directory (Prarit Bhargava) +- redhat: Move yaml files into their own directory (Prarit Bhargava) +- redhat: Move update_scripts.sh into redhat/scripts (Prarit Bhargava) +- redhat: Move kernel-tools scripts into their own directory (Prarit Bhargava) +- redhat: Move gen-* scripts into their own directory (Prarit Bhargava) +- redhat: Move mod-* scripts into their own directory (Prarit Bhargava) +- redhat/Makefile: Fix RHJOBS grep warning (Prarit Bhargava) +- redhat: Force remove tmp file (Prarit Bhargava) +- redhat/configs: ALSA - cleanups for the CentOS 9.2 update (Jaroslav Kysela) +- CI: Use CKI container images from quay.io (Veronika Kabatova) +- redhat: clean up the partial-kgcov-snip.config file (Patrick Talbert) +- redhat: avoid picking up stray editor backups when processing configs (Clark Williams) +- CI: Remove old configs (Veronika Kabatova) +- redhat: override `make help` to include dist-help (Jonathan Toppins) +- redhat: make RHTEST stricter (Jonathan Toppins) +- redhat: Enable support for SN2201 system (Ivan Vecera) +- redhat/docs/index.rst: Add FLAVOR information to generate configs for local builds (Enric Balletbo i Serra) +- redhat: fix selftest git command so it picks the right commit (Patrick Talbert) +- redhat/configs: enable HP_WATCHDOG for aarch64 (Mark Salter) +- redhat: disable Kfence Kunit Test (Nico Pache) +- configs: enable CONFIG_LRU_GEN_ENABLED everywhere (Patrick Talbert) +- redhat: Enable WWAN feature and support for Intel, Qualcomm and Mediatek devices (Jose Ignacio Tornos Martinez) +- Turn on dln2 support (RHBZ 2110372) (Justin M. Forbes) +- Enable configs for imx8m PHYs (Al Stone) +- configs/fedora: Build some SC7180 clock controllers as modules (Javier Martinez Canillas) +- redhat/configs: Disable fbdev drivers and use simpledrm everywhere (Javier Martinez Canillas) [1986223] +- redhat: fix the branch we pull from the documentation tree (Herton R. Krzesinski) +- redhat/configs: change so watchdog is module versus builtin (Steve Best) +- redhat/configs: move CONFIG_ACPI_VIDEO to common/generic (Mark Langsdorf) +- enable imx8xm I2C configs properly (Al Stone) +- configs/fedora: Enable a few more drivers needed by the HP X2 Chromebook (Javier Martinez Canillas) +- enable the rtc-rv8803 driver on RHEL and Fedora (David Arcari) +- redhat/Makefile: Remove BUILD_SCRATCH_TARGET (Prarit Bhargava) +- configs: move CONFIG_INTEL_TDX_GUEST to common directory (Wander Lairson Costa) +- redhat/Makefile: Use new BUILD_TARGET for RHEL dist[g]-brew target (Prarit Bhargava) +- redhat: method.py: change the output loop to use 'values' method (Patrick Talbert) +- redhat: use 'update' method in merge.py (Patrick Talbert) +- redhat: Use a context manager in merge.py for opening the config file for reading (Patrick Talbert) +- redhat: automatically strip newlines in merge.py (Clark Williams) +- redhat: python replacement for merge.pl (Clark Williams) +- redhat/docs: Update with DISTLOCALVERSION (Prarit Bhargava) +- redhat/Makefile: Rename LOCALVERSION to DISTLOCALVERSION (Akihiko Odaki) +- Adjust FIPS module name in RHEL (Vladis Dronov) +- spec: prevent git apply from searching for the .git directory (Ondrej Mosnacek) +- redhat: Remove parallel_xz.sh (Prarit Bhargava) +- Turn on Multi-Gen LRU for Fedora (Justin M. Forbes) +- Add kasan_test to mod-internal.list (Justin M. Forbes) +- redhat/Makefile.variables: Fix typo with RHDISTGIT_TMP (Prarit Bhargava) +- spec: fix path to `installing_core` stamp file for subpackages (Jonathan Lebon) +- Remove unused ci scripts (Don Zickus) +- Rename rename FORCE_MAX_ZONEORDER to ARCH_FORCE_MAX_ORDER in configs (Justin M. Forbes) +- redhat: Add new fortify_kunit & is_signed_type_kunit to mod-internal.list (Patrick Talbert) +- Rename rename FORCE_MAX_ZONEORDER to ARCH_FORCE_MAX_ORDER in pending (Justin M. Forbes) +- Add acpi video to the filter_modules.sh for rhel (Justin M. Forbes) +- Change acpi_bus_get_acpi_device to acpi_get_acpi_dev (Justin M. Forbes) +- Turn on ACPI_VIDEO for arm (Justin M. Forbes) +- Turn on CONFIG_PRIME_NUMBERS as a module (Justin M. Forbes) +- Add new drm kunit tests to mod-internal.list (Justin M. Forbes) +- redhat: fix elf got hardening for vm tools (Frantisek Hrbata) +- kernel.spec.template: remove some temporary files early (Ondrej Mosnacek) +- kernel.spec.template: avoid keeping two copies of vmlinux (Ondrej Mosnacek) +- Add fortify_kunit to mod-internal.list (Justin M. Forbes) +- Add module filters for Fedora as acpi video has new deps (Justin M. Forbes) +- One more mismatch (Justin M. Forbes) +- Fix up pending for mismatches (Justin M. Forbes) +- Forgot too remove this from pending, it is set properly in ark (Justin M. Forbes) +- redhat/Makefile: Add DIST to git tags for RHEL (Prarit Bhargava) +- redhat/configs: Move CONFIG_ARM_SMMU_QCOM_DEBUG to common (Jerry Snitselaar) +- Common config cleanup for 6.0 (Justin M. Forbes) +- Allow selftests to fail without killing the build (Justin M. Forbes) +- redhat: Remove redhat/Makefile.rhpkg (Prarit Bhargava) +- redhat/Makefile: Move RHDISTGIT_CACHE and RHDISTGIT_TMP (Prarit Bhargava) +- redhat/Makefile.rhpkg: Remove RHDISTGIT_USER (Prarit Bhargava) +- redhat/Makefile: Move RHPKG_BIN to redhat/Makefile (Prarit Bhargava) +- common: clean up Android option with removal of CONFIG_ANDROID (Peter Robinson) +- redhat/configs: Remove x86_64 from priority files (Prarit Bhargava) +- redhat/configs/pending-ark: Remove x86_64 directory (Prarit Bhargava) +- redhat/configs/pending-fedora: Remove x86_64 directory (Prarit Bhargava) +- redhat/configs/fedora: Remove x86_64 directory (Prarit Bhargava) +- redhat/configs/common: Remove x86_64 directory (Prarit Bhargava) +- redhat/configs/ark: Remove x86_64 directory (Prarit Bhargava) +- redhat/configs/custom-overrides: Remove x86_64 directory (Prarit Bhargava) +- configs: use common CONFIG_ARM64_SME for ark and fedora (Mark Salter) +- redhat/configs: Add a warning message to priority.common (Prarit Bhargava) +- redhat/configs: Enable INIT_STACK_ALL_ZERO for Fedora (Miko Larsson) +- redhat: Set CONFIG_MAXLINEAR_GPHY to =m (Petr Oros) +- redhat/configs enable CONFIG_INTEL_IFS (David Arcari) +- redhat: Remove filter-i686.sh.rhel (Prarit Bhargava) +- redhat/Makefile: Set PATCHLIST_URL to none for RHEL/cs9 (Prarit Bhargava) +- redhat: remove GL_DISTGIT_USER, RHDISTGIT and unify dist-git cloning (Prarit Bhargava) +- redhat/Makefile.variables: Add ADD_COMMITID_TO_VERSION (Prarit Bhargava) +- kernel.spec: disable vmlinux.h generation for s390 zfcpdump config (Prarit Bhargava) +- perf: Require libbpf 0.6.0 or newer (Prarit Bhargava) +- kabi: add stablelist helpers (Prarit Bhargava) +- Makefile: add kabi targets (Prarit Bhargava) +- kabi: add support for symbol namespaces into check-kabi (Prarit Bhargava) +- kabi: ignore new stablelist metadata in show-kabi (Prarit Bhargava) +- redhat/Makefile: add dist-assert-tree-clean target (Prarit Bhargava) +- redhat/kernel.spec.template: Specify vmlinux.h path when building samples/bpf (Prarit Bhargava) [2041365] +- spec: Fix separate tools build (Prarit Bhargava) [2054579] +- redhat/scripts: Update merge-subtrees.sh with new subtree location (Prarit Bhargava) +- redhat/kernel.spec.template: enable dependencies generation (Prarit Bhargava) +- redhat: build and include memfd to kernel-selftests-internal (Prarit Bhargava) [2027506] +- redhat/kernel.spec.template: Link perf with --export-dynamic (Prarit Bhargava) +- redhat: kernel.spec: selftests: abort on build failure (Prarit Bhargava) +- redhat: configs: move CONFIG_SERIAL_MULTI_INSTANTIATE=m settings to common/x86 (Jaroslav Kysela) +- configs: enable CONFIG_HP_ILO for aarch64 (Mark Salter) +- all: cleanup dell config options (Peter Robinson) +- redhat: Include more kunit tests (Nico Pache) +- common: some minor cleanups/de-dupe (Peter Robinson) +- common: enable INTEGRITY_MACHINE_KEYRING on all configuraitons (Peter Robinson) +- Fedora 6.0 configs update (Justin M. Forbes) +- redhat/self-test: Ignore .rhpkg.mk files (Prarit Bhargava) +- redhat/configs: Enable CONFIG_PRINTK_INDEX on Fedora (Prarit Bhargava) +- redhat/configs: Cleanup CONFIG_X86_KERNEL_IBT (Prarit Bhargava) +- Fix up SND_CTL debug options (Justin M. Forbes) +- redhat: create /boot symvers link if it doesn't exist (Jan Stancek) +- redhat: remove duplicate kunit tests in mod-internal.list (Nico Pache) +- configs/fedora: Make Fedora work with HNS3 network adapter (Zamir SUN) +- redhat/configs/fedora/generic: Enable CONFIG_BLK_DEV_UBLK on Fedora (Richard W.M. Jones) [2122595] +- fedora: disable IWLMEI (Peter Robinson) +- redhat/configs: enable UINPUT on aarch64 (Benjamin Tissoires) +- Fedora 6.0 configs part 1 (Justin M. Forbes) +- redhat/Makefile: Always set UPSTREAM (Prarit Bhargava) +- redhat/configs: aarch64: Turn on Apple Silicon configs for Fedora (Eric Curtin) +- Add cpumask_kunit to mod-internal.list (Justin M. Forbes) +- config - consolidate disabled MARCH options on s390x (Dan Horák) +- move the baseline arch to z13 for s390x in F-37+ (Dan Horák) +- redhat/scripts/rh-dist-git.sh: Fix outdated cvs reference (Prarit Bhargava) +- redhat/scripts/expand_srpm.sh: Use Makefile variables (Prarit Bhargava) +- redhat/scripts/clone_tree.sh: Use Makefile variables (Prarit Bhargava) +- Fedora: arm changes for 6.0, part 1, with some ACPI (Peter Robinson) +- redhat/self-test: Fix shellcheck errors (Prarit Bhargava) +- redhat/docs: Add dist-brew BUILD_FLAGS information (Prarit Bhargava) +- redhat: change the changelog item for upstream merges (Herton R. Krzesinski) +- redhat: fix dist-release build number test (Herton R. Krzesinski) +- redhat: fix release number bump when dist-release-changed runs (Herton R. Krzesinski) +- redhat: use new genlog.sh script to detect changes for dist-release (Herton R. Krzesinski) +- redhat: move changelog addition to the spec file back into genspec.sh (Herton R. Krzesinski) +- redhat: always add a rebase entry when ark merges from upstream (Herton R. Krzesinski) +- redhat: drop merge ark patches hack (Herton R. Krzesinski) +- redhat: don't hardcode temporary changelog file (Herton R. Krzesinski) +- redhat: split changelog generation from genspec.sh (Herton R. Krzesinski) +- redhat: configs: Disable FIE on arm (Jeremy Linton) [2012226] +- redhat/Makefile: Clean linux tarballs (Prarit Bhargava) +- redhat/configs: Cleanup CONFIG_ACPI_AGDI (Prarit Bhargava) +- spec: add cpupower daemon reload on install/upgrade (Jarod Wilson) +- redhat: properly handle binary files in patches (Ondrej Mosnacek) +- Add python3-setuptools buildreq for perf (Justin M. Forbes) +- Add cros_kunit to mod-internal.list (Justin M. Forbes) +- Add new tests to mod-internal.list (Justin M. Forbes) +- Turn off some Kunit tests in pending (Justin M. Forbes) +- Clean up a mismatch in Fedora configs (Justin M. Forbes) +- redhat/configs: Sync up Retbleed configs with centos-stream (Waiman Long) +- Change CRYPTO_BLAKE2S_X86 from m to y (Justin M. Forbes) +- Leave CONFIG_ACPI_VIDEO on for x86 only (Justin M. Forbes) +- Fix BLAKE2S_ARM and BLAKE2S_X86 configs in pending (Justin M. Forbes) +- Fix pending for ACPI_VIDEO (Justin M. Forbes) +- redhat/configs: Fix rm warning on config warnings (Eric Chanudet) +- redhat/Makefile: Deprecate PREBUILD_GIT_ONLY variable (Prarit Bhargava) +- redhat/Makefile: Deprecate SINGLE_TARBALL variable (Prarit Bhargava) +- redhat/Makefile: Deprecate GIT variable (Prarit Bhargava) +- Update CONFIG_LOCKDEP_CHAINS_BITS to 18 (cmurf) +- Add new FIPS module name and version configs (Vladis Dronov) +- redhat/configs/fedora: Make PowerPC's nx-gzip buildin (Jakub Čajka) +- omit unused Provides (Dan Horák) +- self-test: Add test for DIST=".eln" (Prarit Bhargava) +- redhat: Enable CONFIG_LZ4_COMPRESS on Fedora (Prarit Bhargava) +- fedora: armv7: enable MMC_STM32_SDMMC (Peter Robinson) +- .gitlab-ci.yaml: Add test for dist-get-buildreqs target (Prarit Bhargava) +- redhat/docs: Add information on build dependencies (Prarit Bhargava) +- redhat/Makefile: Add better pass message for dist-get-buildreqs (Prarit Bhargava) +- redhat/Makefile: Provide a better message for system-sb-certs (Prarit Bhargava) +- redhat/Makefile: Change dist-buildreq-check to a non-blocking target (Prarit Bhargava) +- create-data: Parallelize spec file data (Prarit Bhargava) +- create-data.sh: Store SOURCES Makefile variable (Prarit Bhargava) +- redhat/Makefile: Split up setup-source target (Prarit Bhargava) +- create-data.sh: Redefine varfilename (Prarit Bhargava) +- create-data.sh: Parallelize variable file creation (Prarit Bhargava) +- redhat/configs: Enable CONFIG_LZ4_COMPRESS (Prarit Bhargava) +- redhat/docs: Update brew information (Prarit Bhargava) +- redhat/Makefile: Fix eln BUILD_TARGET (Prarit Bhargava) +- redhat/Makefile: Set BUILD_TARGET for dist-brew (Prarit Bhargava) +- kernel.spec.template: update (s390x) expoline.o path (Joe Lawrence) +- fedora: enable BCM_NET_PHYPTP (Peter Robinson) +- Fedora 5.19 configs update part 2 (Justin M. Forbes) +- redhat/Makefile: Change fedora BUILD_TARGET (Prarit Bhargava) +- New configs in security/keys (Fedora Kernel Team) +- Fedora: arm: enable a pair of drivers (Peter Robinson) +- redhat: make kernel-zfcpdump-core to not provide kernel-core/kernel (Herton R. Krzesinski) +- redhat/configs: Enable QAT devices for arches other than x86 (Vladis Dronov) +- Fedora 5.19 configs pt 1 (Justin M. Forbes) +- redhat: Exclude cpufreq.h from kernel-headers (Patrick Talbert) +- Add rtla subpackage for kernel-tools (Justin M. Forbes) +- fedora: arm: enable a couple of QCom drivers (Peter Robinson) +- redhat/Makefile: Deprecate BUILD_SCRATCH_TARGET (Prarit Bhargava) +- redhat: enable CONFIG_DEVTMPFS_SAFE (Mark Langsdorf) +- redhat/Makefile: Remove deprecated variables and targets (Prarit Bhargava) +- Split partner modules into a sub-package (Alice Mitchell) +- Enable kAFS and it's dependancies in RHEL (Alice Mitchell) +- Enable Marvell OcteonTX2 crypto device in ARK (Vladis Dronov) +- redhat/Makefile: Remove --scratch from BUILD_TARGET (Prarit Bhargava) +- redhat/Makefile: Fix dist-brew and distg-brew targets (Prarit Bhargava) +- fedora: arm64: Initial support for TI Keystone 3 (ARCH_K3) (Peter Robinson) +- fedora: arm: enable Hardware Timestamping Engine support (Peter Robinson) +- fedora: wireless: disable SiLabs and PureLiFi (Peter Robinson) +- fedora: updates for 5.19 (Peter Robinson) +- fedora: minor updates for Fedora configs (Peter Robinson) +- configs/fedora: Enable the pinctrl SC7180 driver built-in (Enric Balletbo i Serra) +- redhat/configs: enable CONFIG_DEBUG_NET for debug kernel (Hangbin Liu) +- redhat/Makefile: Add SPECKABIVERSION variable (Prarit Bhargava) +- redhat/self-test: Provide better failure output (Prarit Bhargava) +- redhat/self-test: Reformat tests to kernel standard (Prarit Bhargava) +- redhat/self-test: Add purpose and header to each test (Prarit Bhargava) +- Drop outdated CRYPTO_ECDH configs (Vladis Dronov) +- Brush up crypto SHA512 and USER configs (Vladis Dronov) +- Brush up crypto ECDH and ECDSA configs (Vladis Dronov) +- redhat/self-test: Update data set (Prarit Bhargava) +- create-data.sh: Reduce specfile data output (Prarit Bhargava) +- redhat/configs: restore/fix core INTEL_LPSS configs to be builtin again (Hans de Goede) +- Enable CKI on os-build MRs only (Don Zickus) +- self-test: Fixup Makefile contents test (Prarit Bhargava) +- redhat/self-test: self-test data update (Prarit Bhargava) +- redhat/self-test: Fix up create-data.sh to not report local variables (Prarit Bhargava) +- redhat/configs/fedora: Enable a set of modules used on some x86 tablets (Hans de Goede) +- redhat/configs: Make INTEL_SOC_PMIC_CHTDC_TI builtin (Hans de Goede) +- redhat/configs/fedora: enable missing modules modules for Intel IPU3 camera support (Hans de Goede) +- Common: minor cleanups (Peter Robinson) +- fedora: some minor Fedora cleanups (Peter Robinson) +- fedora: drop X86_PLATFORM_DRIVERS_DELL dupe (Peter Robinson) +- redhat: change tools_make macro to avoid full override of variables in Makefile (Herton R. Krzesinski) +- Fix typo in Makefile for Fedora Stable Versioning (Justin M. Forbes) +- Remove duplicates from ark/generic/s390x/zfcpdump/ (Vladis Dronov) +- Move common/debug/s390x/zfcpdump/ configs to ark/debug/s390x/zfcpdump/ (Vladis Dronov) +- Move common/generic/s390x/zfcpdump/ configs to ark/generic/s390x/zfcpdump/ (Vladis Dronov) +- Drop RCU_EXP_CPU_STALL_TIMEOUT to 0, we are not really android (Justin M. Forbes) +- redhat/configs/README: Update the README (Prarit Bhargava) +- redhat/docs: fix hyperlink typo (Patrick Talbert) +- all: net: remove old NIC/ATM drivers that use virt_to_bus() (Peter Robinson) +- Explicitly turn off CONFIG_KASAN_INLINE for ppc (Justin M. Forbes) +- redhat/docs: Add a description of kernel naming (Prarit Bhargava) +- Change CRYPTO_CHACHA_S390 from m to y (Justin M. Forbes) +- enable CONFIG_NET_ACT_CTINFO in ark (Davide Caratti) +- redhat/configs: enable CONFIG_SP5100_TCO (David Arcari) +- redhat/configs: Set CONFIG_VIRTIO_IOMMU on x86_64 (Eric Auger) [2089765] +- Turn off KASAN_INLINE for RHEL ppc in pending (Justin M. Forbes) +- redhat/kernel.spec.template: update selftest data via "make dist-self-test-data" (Denys Vlasenko) +- redhat/kernel.spec.template: remove stray *.hardlink-temporary files, if any (Denys Vlasenko) +- Fix up ZSMALLOC config for s390 (Justin M. Forbes) +- Turn on KASAN_OUTLINE for ppc debug (Justin M. Forbes) +- Turn on KASAN_OUTLINE for PPC debug to avoid mismatch (Justin M. Forbes) +- Fix up crypto config mistmatches (Justin M. Forbes) +- Fix up config mismatches (Justin M. Forbes) +- generic/fedora: cleanup and disable Lightning Moutain SoC (Peter Robinson) +- redhat: Set SND_SOC_SOF_HDA_PROBES to =m (Patrick Talbert) +- Fix versioning on stable Fedora (Justin M. Forbes) +- Enable PAGE_POOL_STATS for arm only (Justin M. Forbes) +- Revert "Merge branch 'fix-ci-20220523' into 'os-build'" (Patrick Talbert) +- Flip CONFIG_RADIO_ADAPTERS to module for Fedora (Justin M. Forbes) +- redhat/Makefile: Drop quotation marks around string definitions (Prarit Bhargava) +- Fedora: arm: Updates for QCom devices (Peter Robinson) +- Fedora arm and generic updates for 5.17 (Peter Robinson) +- enable COMMON_CLK_SI5341 for Xilinx ZYNQ-MP (Peter Robinson) +- Turn on CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG_SECONDARY_KEYRING for Fedora (Justin M. Forbes) +- redhat/self-test/data: Update data set (Prarit Bhargava) +- Revert variable switch for lasttag (Justin M. Forbes) +- redhat: Add self-tests to .gitlab-ci.yml (Prarit Bhargava) +- redhat/self-test: Update data (Prarit Bhargava) +- redhat/self-test: Unset Makefile variables (Prarit Bhargava) +- redhat/self-test: Omit SHELL variable from test data (Prarit Bhargava) +- Add CONFIG_EFI_DXE_MEM_ATTRIBUTES (Justin M. Forbes) +- Update filter-modules for mlx5-vfio-pci (Justin M. Forbes) +- Fedora configs for 5.18 (Justin M. Forbes) +- self-test/data/create-data.sh: Avoid SINGLE_TARBALL warning (Prarit Bhargava) +- redhat/Makefile: Rename PREBUILD to UPSTREAMBUILD (Prarit Bhargava) +- redhat/Makefile: Rename BUILDID to LOCALVERSION (Prarit Bhargava) +- redhat/Makefile: Fix dist-brew & distg-brew targets (Prarit Bhargava) +- redhat/Makefile: Reorganize MARKER code (Prarit Bhargava) +- redhat/scripts/new_release.sh: Use Makefile variables (Prarit Bhargava) +- redhat/Makefile: Rename __YSTREAM and __ZSTREAM (Prarit Bhargava) +- redhat/genspec.sh: Add comment about SPECBUILDID variable (Prarit Bhargava) +- redhat/kernel.spec.template: Move genspec variables into one section (Prarit Bhargava) +- redhat/kernel.spec.template: Remove kversion (Prarit Bhargava) +- redhat/Makefile: Add SPECTARFILE_RELEASE comment (Prarit Bhargava) +- redhat/Makefile: Rename RPMVERSION to BASEVERSION (Prarit Bhargava) +- redhat/Makefile: Target whitespace cleanup (Prarit Bhargava) +- redhat/Makefile: Move SPECRELEASE to genspec.sh (Prarit Bhargava) +- redhat/Makefile: Add kernel-NVR comment (Prarit Bhargava) +- redhat/Makefile: Use SPECFILE variable (Prarit Bhargava) +- redhat/Makefile: Remove KEXTRAVERSION (Prarit Bhargava) +- redhat: Enable VM kselftests (Nico Pache) [1978539] +- redhat: enable CONFIG_TEST_VMALLOC for vm selftests (Nico Pache) +- redhat: Enable HMM test to be used by the kselftest test suite (Nico Pache) +- redhat/Makefile.variables: Change git hash length to default (Prarit Bhargava) +- redhat/Makefile: Drop quotation marks around string definitions (Prarit Bhargava) +- Turn on INTEGRITY_MACHINE_KEYRING for Fedora (Justin M. Forbes) +- redhat/configs: fix CONFIG_INTEL_ISHTP_ECLITE (David Arcari) +- redhat/configs: Fix rm warning on error (Prarit Bhargava) +- Fix nightly merge CI (Don Zickus) +- redhat/kernel.spec.template: fix standalone tools build (Jan Stancek) +- Add system-sb-certs for RHEL-9 (Don Zickus) +- Fix dist-buildcheck-reqs (Don Zickus) +- move DAMON configs to correct directory (Chris von Recklinghausen) +- redhat: indicate HEAD state in tarball/rpm name (Jarod Wilson) +- Fedora 5.18 config set part 1 (Justin M. Forbes) +- fedora: arm: Enable new Rockchip 356x series drivers (Peter Robinson) +- fedora: arm: enable DRM_I2C_NXP_TDA998X on aarch64 (Peter Robinson) +- redhat/self-test: Add test to verify Makefile declarations. (Prarit Bhargava) +- redhat/Makefile: Add RHTEST (Prarit Bhargava) +- redhat: shellcheck cleanup (Prarit Bhargava) +- redhat/self-test/data: Cleanup data (Prarit Bhargava) +- redhat/self-test: Add test to verify SPEC variables (Prarit Bhargava) +- redhat/Makefile: Add 'duplicate' SPEC entries for user set variables (Prarit Bhargava) +- redhat/Makefile: Rename TARFILE_RELEASE to SPECTARFILE_RELEASE (Prarit Bhargava) +- redhat/genspec: Rename PATCHLIST_CHANGELOG to SPECPATCHLIST_CHANGELOG (Prarit Bhargava) +- redhat/genspec: Rename DEBUG_BUILDS_ENABLED to SPECDEBUG_BUILDS_ENABLED (Prarit Bhargava) +- redhat/Makefile: Rename PKGRELEASE to SPECBUILD (Prarit Bhargava) +- redhat/genspec: Rename BUILDID_DEFINE to SPECBUILDID (Prarit Bhargava) +- redhat/Makefile: Rename CHANGELOG to SPECCHANGELOG (Prarit Bhargava) +- redhat/Makefile: Rename RPMKEXTRAVERSION to SPECKEXTRAVERSION (Prarit Bhargava) +- redhat/Makefile: Rename RPMKSUBLEVEL to SPECKSUBLEVEL (Prarit Bhargava) +- redhat/Makefile: Rename RPMKPATCHLEVEL to SPECKPATCHLEVEL (Prarit Bhargava) +- redhat/Makefile: Rename RPMKVERSION to SPECKVERSION (Prarit Bhargava) +- redhat/Makefile: Rename KVERSION to SPECVERSION (Prarit Bhargava) +- redhat/Makefile: Deprecate some simple targets (Prarit Bhargava) +- redhat/Makefile: Use KVERSION (Prarit Bhargava) +- redhat/configs: Set GUP_TEST in debug kernel (Joel Savitz) +- enable DAMON configs (Chris von Recklinghausen) [2004233] +- redhat: add zstream switch for zstream release numbering (Herton R. Krzesinski) +- redhat: change kabi tarballs to use the package release (Herton R. Krzesinski) +- redhat: generate distgit changelog in genspec.sh as well (Herton R. Krzesinski) +- redhat: make genspec prefer metadata from git notes (Herton R. Krzesinski) +- redhat: use tags from git notes for zstream to generate changelog (Herton R. Krzesinski) +- ARK: Remove code marking devices unmaintained (Peter Georg) +- rh_message: Fix function name (Peter Georg) [2019377] +- Turn on CONFIG_RANDOM_TRUST_BOOTLOADER (Justin M. Forbes) +- redhat/configs: aarch64: enable CPU_FREQ_GOV_SCHEDUTIL (Mark Salter) +- Move CONFIG_HW_RANDOM_CN10K to a proper place (Vladis Dronov) +- redhat/self-test: Clean up data set (Prarit Bhargava) +- redhat/Makefile.rhpkg: Remove quotes for RHDISTGIT (Prarit Bhargava) +- redhat/scripts/create-tarball.sh: Use Makefile variables (Prarit Bhargava) +- redhat/Makefile: Deprecate SINGLE_TARBALL (Prarit Bhargava) +- redhat/Makefile: Move SINGLE_TARBALL to Makefile.variables (Prarit Bhargava) +- redhat/Makefile: Use RPMVERSION (Prarit Bhargava) +- redhat/scripts/rh-dist-git.sh: Use Makefile variables (Prarit Bhargava) +- redhat/configs/build_configs.sh: Use Makefile variables (Prarit Bhargava) +- redhat/configs/process_configs.sh: Use Makefile variables (Prarit Bhargava) +- redhat/kernel.spec.template: Use RPM_BUILD_NCPUS (Prarit Bhargava) +- redhat/configs/generate_all_configs.sh: Use Makefile variables (Prarit Bhargava) +- redhat/configs: enable nf_tables SYNPROXY extension on ark (Davide Caratti) +- fedora: Disable fbdev drivers missed before (Javier Martinez Canillas) +- Redhat: enable Kfence on production servers (Nico Pache) +- redhat: ignore known empty patches on the patches rpminspect test (Herton R. Krzesinski) +- kernel-ark: arch_hw Update CONFIG_MOUSE_VSXXXAA=m (Tony Camuso) [2062909] +- spec: keep .BTF section in modules for s390 (Yauheni Kaliuta) [2071969] +- kernel.spec.template: Ship arch/s390/lib/expoline.o in kernel-devel (Ondrej Mosnacek) +- redhat: disable tv/radio media device infrastructure (Jarod Wilson) +- redhat/configs: clean up INTEL_LPSS configuration (David Arcari) +- Have to rename the actual contents too (Justin M. Forbes) +- The CONFIG_SATA_MOBILE_LPM_POLICY rebane was reverted (Justin M. Forbes) +- redhat: Enable KASAN on all ELN debug kernels (Nico Pache) +- redhat: configs: Enable INTEL_IOMMU_DEBUGFS for debug builds (Jerry Snitselaar) +- generic: can: disable CAN_SOFTING everywhere (Peter Robinson) +- redhat/configs: Enable CONFIG_DM_ERA=m for all (Yanko Kaneti) +- redhat/configs: enable CONFIG_SAMPLE_VFIO_MDEV_MTTY (Patrick Talbert) +- Build intel_sdsi with %%{tools_make} (Justin M. Forbes) +- configs: remove redundant Fedora config for INTEL_IDXD_COMPAT (Jerry Snitselaar) +- redhat/configs: enable CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT (Joel Savitz) [2026319] +- configs: enable CONFIG_RMI4_F3A (Benjamin Tissoires) +- redhat: configs: Disable TPM 1.2 specific drivers (Jerry Snitselaar) +- redhat/configs: Enable cr50 I2C TPM interface (Akihiko Odaki) +- spec: make HMAC file encode relative path (Jonathan Lebon) +- redhat/kernel.spec.template: Add intel_sdsi utility (Prarit Bhargava) +- Spec fixes for intel-speed-select (Justin M. Forbes) +- Add Partner Supported taint flag to kAFS (Alice Mitchell) [2038999] +- Add Partner Supported taint flag (Alice Mitchell) [2038999] +- Enabled INTEGRITY_MACHINE_KEYRING for all configs. (Peter Robinson) +- redhat/configs: Enable CONFIG_RCU_SCALE_TEST & CONFIG_RCU_REF_SCALE_TEST (Waiman Long) +- Add clk_test and clk-gate_test to mod-internal.list (Justin M. Forbes) +- redhat/self-tests: Ignore UPSTREAM (Prarit Bhargava) +- redhat/self-tests: Ignore RHGITURL (Prarit Bhargava) +- redhat/Makefile.variables: Extend git hash length to 15 (Prarit Bhargava) +- redhat/self-test: Remove changelog from spec files (Prarit Bhargava) +- redhat/genspec.sh: Rearrange genspec.sh (Prarit Bhargava) +- redhat/self-test: Add spec file data (Prarit Bhargava) +- redhat/self-test: Add better dist-dump-variables test (Prarit Bhargava) +- redhat/self-test: Add variable test data (Prarit Bhargava) +- redhat/config: Remove obsolete CONFIG_MFD_INTEL_PMT (David Arcari) +- redhat/configs: enable CONFIG_INTEL_ISHTP_ECLITE (David Arcari) +- Avoid creating files in $RPM_SOURCE_DIR (Nicolas Chauvet) +- Flip CRC64 from off to y (Justin M. Forbes) +- New configs in lib/Kconfig (Fedora Kernel Team) +- disable redundant assignment of CONFIG_BQL on ARK (Davide Caratti) +- redhat/configs: remove unnecessary GPIO options for aarch64 (Brian Masney) +- redhat/configs: remove viperboard related Kconfig options (Brian Masney) +- redhat/configs/process_configs.sh: Avoid race with find (Prarit Bhargava) +- redhat/configs/process_configs.sh: Remove CONTINUEONERROR (Prarit Bhargava) +- Remove i686 configs and filters (Justin M. Forbes) +- redhat/configs: Set CONFIG_X86_AMD_PSTATE built-in on Fedora (Prarit Bhargava) +- Fix up mismatch with CRC64 (Justin M. Forbes) +- Fedora config updates to fix process_configs (Justin M. Forbes) +- redhat: Fix release tagging (Prarit Bhargava) +- redhat/self-test: Fix version tag test (Prarit Bhargava) +- redhat/self-test: Fix BUILD verification test (Prarit Bhargava) +- redhat/self-test: Cleanup SRPM related self-tests (Prarit Bhargava) +- redhat/self-test: Fix shellcheck test (Prarit Bhargava) +- redhat/configs: Disable watchdog components (Prarit Bhargava) +- redhat/README.Makefile: Add a Makefile README file (Prarit Bhargava) +- redhat/Makefile: Remove duplicated code (Prarit Bhargava) +- Add BuildRequires libnl3-devel for intel-speed-select (Justin M. Forbes) +- Add new kunit tests for 5.18 to mod-internal.list (Justin M. Forbes) +- Fix RHDISTGIT for Fedora (Justin M. Forbes) +- redhat/configs/process_configs.sh: Fix race with tools generation (Prarit Bhargava) +- New configs in drivers/dax (Fedora Kernel Team) +- Fix up CONFIG_SND_AMD_ACP_CONFIG files (Patrick Talbert) +- Remove CONFIG_SND_SOC_SOF_DEBUG_PROBES files (Patrick Talbert) +- SATA_MOBILE_LPM_POLICY is now SATA_LPM_POLICY (Justin M. Forbes) +- Define SNAPSHOT correctly when VERSION_ON_UPSTREAM is 0 (Justin M. Forbes) +- redhat/Makefile: Fix dist-git (Prarit Bhargava) +- Change the pending-ark CONFIG_DAX to y due to mismatch (Justin M. Forbes) +- Enable net reference count trackers in all debug kernels (Jiri Benc) +- redhat/Makefile: Reorganize variables (Prarit Bhargava) +- redhat/Makefile: Add some descriptions (Prarit Bhargava) +- redhat/Makefile: Move SNAPSHOT check (Prarit Bhargava) +- redhat/Makefile: Deprecate BREW_FLAGS, KOJI_FLAGS, and TEST_FLAGS (Prarit Bhargava) +- redhat/genspec.sh: Rework RPMVERSION variable (Prarit Bhargava) +- redhat/Makefile: Remove dead comment (Prarit Bhargava) +- redhat/Makefile: Cleanup KABI* variables. (Prarit Bhargava) +- redhat/Makefile.variables: Default RHGITCOMMIT to HEAD (Prarit Bhargava) +- redhat/scripts/create-tarball.sh: Use Makefile TARBALL variable (Prarit Bhargava) +- redhat/Makefile: Remove extra DIST_BRANCH (Prarit Bhargava) +- redhat/Makefile: Remove STAMP_VERSION (Prarit Bhargava) +- redhat/Makefile: Move NO_CONFIGCHECKS to Makefile.variables (Prarit Bhargava) +- redhat/Makefile: Move RHJOBS to Makefile.variables (Prarit Bhargava) +- redhat/Makefile: Move RHGIT* variables to Makefile.variables (Prarit Bhargava) +- redhat/Makefile: Move PREBUILD_GIT_ONLY to Makefile.variables (Prarit Bhargava) +- redhat/Makefile: Move BUILD to Makefile.variables (Prarit Bhargava) +- redhat/Makefile: Move BUILD_FLAGS to Makefile.variables. (Prarit Bhargava) +- redhat/Makefile: Move BUILD_PROFILE to Makefile.variables (Prarit Bhargava) +- redhat/Makefile: Move BUILD_TARGET and BUILD_SCRATCH_TARGET to Makefile.variables (Prarit Bhargava) +- redhat/Makefile: Remove RHPRODUCT variable (Prarit Bhargava) +- redhat/Makefile: Cleanup DISTRO variable (Prarit Bhargava) +- redhat/Makefile: Move HEAD to Makefile.variables. (Prarit Bhargava) +- redhat: Combine Makefile and Makefile.common (Prarit Bhargava) +- redhat/koji/Makefile: Decouple koji Makefile from Makefile.common (Prarit Bhargava) +- Set CONFIG_SND_SOC_SOF_MT8195 for Fedora and turn on VDPA_SIM_BLOCK (Justin M. Forbes) +- Add asus_wmi_sensors modules to filters for Fedora (Justin M. Forbes) +- redhat: spec: trigger dracut when modules are installed separately (Jan Stancek) +- Last of the Fedora 5.17 configs initial pass (Justin M. Forbes) +- redhat/Makefile: Silence dist-clean-configs output (Prarit Bhargava) +- Fedora 5.17 config updates (Justin M. Forbes) +- Setting CONFIG_I2C_SMBUS to "m" for ark (Gopal Tiwari) +- Print arch with process_configs errors (Justin M. Forbes) +- Pass RHJOBS to process_configs for dist-configs-check as well (Justin M. Forbes) +- redhat/configs/process_configs.sh: Fix issue with old error files (Prarit Bhargava) +- redhat/configs/build_configs.sh: Parallelize execution (Prarit Bhargava) +- redhat/configs/build_configs.sh: Provide better messages (Prarit Bhargava) +- redhat/configs/build_configs.sh: Create unique output files (Prarit Bhargava) +- redhat/configs/build_configs.sh: Add local variables (Prarit Bhargava) +- redhat/configs/process_configs.sh: Parallelize execution (Prarit Bhargava) +- redhat/configs/process_configs.sh: Provide better messages (Prarit Bhargava) +- redhat/configs/process_configs.sh: Create unique output files (Prarit Bhargava) +- redhat/configs/process_configs.sh: Add processing config function (Prarit Bhargava) +- redhat: Unify genspec.sh and kernel.spec variable names (Prarit Bhargava) +- redhat/genspec.sh: Remove options and use Makefile variables (Prarit Bhargava) +- Add rebase note for 5.17 on Fedora stable (Justin M. Forbes) +- More Fedora config updates for 5.17 (Justin M. Forbes) +- redhat/configs: Disable CONFIG_MACINTOSH_DRIVERS in RHEL. (Prarit Bhargava) +- redhat: Fix "make dist-release-finish" to use the correct NVR variables (Neal Gompa) [2053836] +- Build CROS_EC Modules (Jason Montleon) +- redhat: configs: change aarch64 default dma domain to lazy (Jerry Snitselaar) +- redhat: configs: disable ATM protocols (Davide Caratti) +- configs/fedora: Enable the interconnect SC7180 driver built-in (Enric Balletbo i Serra) +- configs: clean up CONFIG_PAGE_TABLE_ISOLATION files (Ondrej Mosnacek) +- redhat: configs: enable CONFIG_INTEL_PCH_THERMAL for RHEL x86 (David Arcari) +- redhat/Makefile: Fix dist-dump-variables target (Prarit Bhargava) +- redhat/configs: Enable DEV_DAX and DEV_DAX_PMEM modules on aarch64 for fedora (D Scott Phillips) +- redhat/configs: Enable CONFIG_TRANSPARENT_HUGEPAGE on aarch64 for fedora (D Scott Phillips) +- configs/process_configs.sh: Remove orig files (Prarit Bhargava) +- redhat: configs: Disable CONFIG_MPLS for s390x/zfcpdump (Guillaume Nault) +- Fedora 5.17 configs round 1 (Justin M. Forbes) +- redhat: configs: disable the surface platform (David Arcari) +- redhat: configs: Disable team driver (Hangbin Liu) [1945477] +- configs: enable LOGITECH_FF for RHEL/CentOS too (Benjamin Tissoires) +- redhat/configs: Disable CONFIG_SENSORS_NCT6683 in RHEL for arm/aarch64 (Dean Nelson) [2041186] +- redhat: fix make {distg-brew,distg-koji} (Andrea Claudi) +- [fedora] Turn on CONFIG_VIDEO_OV5693 for sensor support (Dave Olsthoorn) +- Cleanup 'disabled' config options for RHEL (Prarit Bhargava) +- redhat: move CONFIG_ARM64_MTE to aarch64 config directory (Herton R. Krzesinski) +- Change CONFIG_TEST_BPF to a module (Justin M. Forbes) +- Change CONFIG_TEST_BPF to module in pending MR coming for proper review (Justin M. Forbes) +- redhat/configs: Enable CONFIG_TEST_BPF (Viktor Malik) +- Enable KUNIT tests for testing (Nico Pache) +- Makefile: Check PKGRELEASE size on dist-brew targets (Prarit Bhargava) +- kernel.spec: Add glibc-static build requirement (Prarit Bhargava) +- Enable iSER on s390x (Stefan Schulze Frielinghaus) +- redhat/configs: Enable CONFIG_ACER_WIRELESS (Peter Georg) [2025985] +- kabi: Add kABI macros for enum type (Čestmír Kalina) [2024595] +- kabi: expand and clarify documentation of aux structs (Čestmír Kalina) [2024595] +- kabi: introduce RH_KABI_USE_AUX_PTR (Čestmír Kalina) [2024595] +- kabi: rename RH_KABI_SIZE_AND_EXTEND to AUX (Čestmír Kalina) [2024595] +- kabi: more consistent _RH_KABI_SIZE_AND_EXTEND (Čestmír Kalina) [2024595] +- kabi: use fixed field name for extended part (Čestmír Kalina) [2024595] +- kabi: fix dereference in RH_KABI_CHECK_EXT (Čestmír Kalina) [2024595] +- kabi: fix RH_KABI_SET_SIZE macro (Čestmír Kalina) [2024595] +- kabi: expand and clarify documentation (Čestmír Kalina) [2024595] +- kabi: make RH_KABI_USE replace any number of reserved fields (Čestmír Kalina) [2024595] +- kabi: rename RH_KABI_USE2 to RH_KABI_USE_SPLIT (Čestmír Kalina) [2024595] +- kabi: change RH_KABI_REPLACE2 to RH_KABI_REPLACE_SPLIT (Čestmír Kalina) [2024595] +- kabi: change RH_KABI_REPLACE_UNSAFE to RH_KABI_BROKEN_REPLACE (Čestmír Kalina) [2024595] +- kabi: introduce RH_KABI_ADD_MODIFIER (Čestmír Kalina) [2024595] +- kabi: Include kconfig.h (Čestmír Kalina) [2024595] +- kabi: macros for intentional kABI breakage (Čestmír Kalina) [2024595] +- kabi: fix the note about terminating semicolon (Čestmír Kalina) [2024595] +- kabi: introduce RH_KABI_HIDE_INCLUDE and RH_KABI_FAKE_INCLUDE (Čestmír Kalina) [2024595] +- spec: don't overwrite auto.conf with .config (Ondrej Mosnacek) +- New configs in drivers/crypto (Fedora Kernel Team) +- Add test_hash to the mod-internal.list (Justin M. Forbes) +- configs: disable CONFIG_CRAMFS (Abhi Das) [2041184] +- spec: speed up "cp -r" when it overwrites existing files. (Denys Vlasenko) +- redhat: use centos x509.genkey file if building under centos (Herton R. Krzesinski) +- Revert "[redhat] Generate a crashkernel.default for each kernel build" (Coiby Xu) +- spec: make linux-firmware weak(er) dependency (Jan Stancek) +- rtw89: enable new driver rtw89 and device RTK8852AE (Íñigo Huguet) +- Config consolidation into common (Justin M. Forbes) +- Add packaged but empty /lib/modules//systemtap/ (Justin M. Forbes) +- filter-modules.sh.rhel: Add ntc_thermistor to singlemods (Prarit Bhargava) +- Move CONFIG_SND_SOC_TLV320AIC31XX as it is now selected by CONFIG_SND_SOC_FSL_ASOC_CARD (Justin M. Forbes) +- Add dev_addr_lists_test to mod-internal.list (Justin M. Forbes) +- configs/fedora: Enable CONFIG_NFC_PN532_UART for use PN532 NFC module (Ziqian SUN (Zamir)) +- redhat: ignore ksamples and kselftests on the badfuncs rpminspect test (Herton R. Krzesinski) +- redhat: disable upstream check for rpminspect (Herton R. Krzesinski) +- redhat: switch the vsyscall config to CONFIG_LEGACY_VSYSCALL_XONLY=y (Herton R. Krzesinski) [1876977] +- redhat: configs: increase CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE (Rafael Aquini) +- move CONFIG_STRICT_SIGALTSTACK_SIZE to the appropriate directory (David Arcari) +- redhat/configs: Enable CONFIG_DM_MULTIPATH_IOA for fedora (Benjamin Marzinski) +- redhat/configs: Enable CONFIG_DM_MULTIPATH_HST (Benjamin Marzinski) [2000835] +- redhat: Pull in openssl-devel as a build dependency correctly (Neal Gompa) [2034670] +- redhat/configs: Migrate ZRAM_DEF_* configs to common/ (Neal Gompa) +- redhat/configs: Enable CONFIG_CRYPTO_ZSTD (Neal Gompa) [2032758] +- Turn CONFIG_DEVMEM back off for aarch64 (Justin M. Forbes) +- Clean up excess text in Fedora config files (Justin M. Forbes) +- Fedora config updates for 5.16 (Justin M. Forbes) +- redhat/configs: enable CONFIG_INPUT_KEYBOARD for AARCH64 (Vitaly Kuznetsov) +- Fedora configs for 5.16 pt 1 (Justin M. Forbes) +- redhat/configs: NFS: disable UDP, insecure enctypes (Benjamin Coddington) [1952863] +- Update rebase-notes with dracut 5.17 information (Justin M. Forbes) +- redhat/configs: Enable CONFIG_CRYPTO_BLAKE2B (Neal Gompa) [2031547] +- Enable CONFIG_BPF_SYSCALL for zfcpdump (Jiri Olsa) +- Enable CONFIG_CIFS_SMB_DIRECT for ARK (Ronnie Sahlberg) +- mt76: enable new device MT7921E in CentOs/RHEL (Íñigo Huguet) [2004821] +- Disable CONFIG_DEBUG_PREEMPT on normal builds (Phil Auld) +- redhat/configs: Enable CONFIG_PCI_P2PDMA for ark (Myron Stowe) +- pci.h: Fix static include (Prarit Bhargava) +- Enable CONFIG_VFIO_NOIOMMU for Fedora (Justin M. Forbes) +- redhat/configs: enable CONFIG_NTB_NETDEV for ark (John W. Linville) +- drivers/pci/pci-driver.c: Fix if/ifdef typo (Prarit Bhargava) +- common: arm64: ensure all the required arm64 errata are enabled (Peter Robinson) +- kernel/rh_taint.c: Update to new messaging (Prarit Bhargava) [2019377] +- redhat/configs: enable CONFIG_AMD_PTDMA for ark (John W. Linville) +- redhat/configs: enable CONFIG_RD_ZSTD for rhel (Tao Liu) [2020132] +- fedora: build TEE as a module for all arches (Peter Robinson) +- common: build TRUSTED_KEYS in everywhere (Peter Robinson) +- redhat: make Patchlist.changelog generation conditional (Herton R. Krzesinski) +- redhat/configs: Add two new CONFIGs (Prarit Bhargava) +- redhat/configs: Remove dead CONFIG files (Prarit Bhargava) +- redhat/configs/evaluate_configs: Add find dead configs option (Prarit Bhargava) +- Add more rebase notes for Fedora 5.16 (Justin M. Forbes) +- Fedora: Feature: Retire wireless Extensions (Peter Robinson) +- fedora: arm: some SoC enablement pieces (Peter Robinson) +- fedora: arm: enable PCIE_ROCKCHIP_DW for rk35xx series (Peter Robinson) +- fedora: enable RTW89 802.11 WiFi driver (Peter Robinson) +- fedora: arm: Enable DRM_PANEL_EDP (Peter Robinson) +- fedora: sound: enable new sound drivers (Peter Robinson) +- redhat/configs: unset KEXEC_SIG for s390x zfcpdump (Coiby Xu) +- spec: Keep .BTF section in modules (Jiri Olsa) +- Fix up PREEMPT configs (Justin M. Forbes) +- New configs in drivers/media (Fedora Kernel Team) +- New configs in drivers/net/ethernet/litex (Fedora Kernel Team) +- spec: add bpf_testmod.ko to kselftests/bpf (Viktor Malik) +- New configs in drivers/net/wwan (Fedora Kernel Team) +- New configs in drivers/i2c (Fedora Kernel Team) +- redhat/docs/index.rst: Add local build information. (Prarit Bhargava) +- Fix up preempt configs (Justin M. Forbes) +- Turn on CONFIG_HID_NINTENDO for controller support (Dave Olsthoorn) +- Fedora: Enable MediaTek bluetooth pieces (Peter Robinson) +- Add rebase notes to check for PCI patches (Justin M. Forbes) +- redhat: configs: move CONFIG_ACCESSIBILITY from fedora to common (John W. Linville) +- Filter updates for hid-playstation on Fedora (Justin M. Forbes) +- Enable CONFIG_VIRT_DRIVERS for ARK (Vitaly Kuznetsov) +- redhat/configs: Enable Nitro Enclaves on aarch64 (Vitaly Kuznetsov) +- Enable e1000 in rhel9 as unsupported (Ken Cox) [2002344] +- Turn on COMMON_CLK_AXG_AUDIO for Fedora rhbz 2020481 (Justin M. Forbes) +- Fix up fedora config options from mismatch (Justin M. Forbes) +- Add nct6775 to filter-modules.sh.rhel (Justin M. Forbes) +- Enable PREEMPT_DYNAMIC for all but s390x (Justin M. Forbes) +- Add memcpy_kunit to mod-internal.list (Justin M. Forbes) +- New configs in fs/ksmbd (Fedora Kernel Team) +- Add nct6775 to Fedora filter-modules.sh (Justin M. Forbes) +- New configs in fs/ntfs3 (Fedora Kernel Team) +- Make CONFIG_IOMMU_DEFAULT_DMA_STRICT default for all but x86 (Justin M. Forbes) +- redhat/configs: enable KEXEC_IMAGE_VERIFY_SIG for RHEL (Coiby Xu) +- redhat/configs: enable KEXEC_SIG for aarch64 RHEL (Coiby Xu) [1994858] +- Fix up fedora and pending configs for PREEMPT to end mismatch (Justin M. Forbes) +- Enable binder for fedora (Justin M. Forbes) +- redhat: configs: Update configs for vmware (Kamal Heib) +- Fedora configs for 5.15 (Justin M. Forbes) +- redhat/kernel.spec.template: don't hardcode gcov arches (Jan Stancek) +- redhat/configs: create a separate config for gcov options (Jan Stancek) +- Update documentation with FAQ and update frequency (Don Zickus) +- Document force pull option for mirroring (Don Zickus) +- Ignore the rhel9 kabi files (Don Zickus) +- Remove legacy elrdy cruft (Don Zickus) +- redhat/configs/evaluate_configs: walk cfgvariants line by line (Jan Stancek) +- redhat/configs/evaluate_configs: insert EMPTY tags at correct place (Jan Stancek) +- redhat: make dist-srpm-gcov add to BUILDOPTS (Jan Stancek) +- Build CONFIG_SPI_PXA2XX as a module on x86 (Justin M. Forbes) +- redhat/configs: enable CONFIG_BCMGENET as module (Joel Savitz) +- Fedora config updates (Justin M. Forbes) +- Enable CONFIG_FAIL_SUNRPC for debug builds (Justin M. Forbes) +- fedora: Disable fbdev drivers and use simpledrm instead (Javier Martinez Canillas) +- spec: Don't fail spec build if ksamples fails (Jiri Olsa) +- Enable CONFIG_QCOM_SCM for arm (Justin M. Forbes) +- redhat: Disable clang's integrated assembler on ppc64le and s390x (Tom Stellard) +- redhat/configs: enable CONFIG_IMA_WRITE_POLICY (Bruno Meneguele) +- Fix dist-srpm-gcov (Don Zickus) +- redhat: configs: add CONFIG_NTB and related items (John W. Linville) +- Add kfence_test to mod-internal.list (Justin M. Forbes) +- Enable KUNIT tests for redhat kernel-modules-internal (Nico Pache) +- redhat: add *-matched meta packages to rpminspect emptyrpm config (Herton R. Krzesinski) +- Use common config for NODES_SHIFT (Mark Salter) +- redhat: fix typo and make the output more silent for dist-git sync (Herton R. Krzesinski) +- Fedora NTFS config updates (Justin M. Forbes) +- Fedora 5.15 configs part 1 (Justin M. Forbes) +- Fix ordering in genspec args (Justin M. Forbes) +- redhat/configs: Enable Hyper-V guests on ARM64 (Vitaly Kuznetsov) [2007430] +- redhat: configs: Enable CONFIG_THINKPAD_LMI (Hans de Goede) +- redhat/docs: update Koji link to avoid redirect (Joel Savitz) +- redhat: add support for different profiles with dist*-brew (Herton R. Krzesinski) +- redhat: configs: Disable xtables and ipset (Phil Sutter) [1945179] +- redhat: Add mark_driver_deprecated() (Phil Sutter) [1945179] +- Change s390x CONFIG_NODES_SHIFT from 4 to 1 (Justin M. Forbes) +- Build CRYPTO_SHA3_*_S390 inline for s390 zfcpdump (Justin M. Forbes) +- redhat: move the DIST variable setting to Makefile.variables (Herton R. Krzesinski) +- redhat/kernel.spec.template: Cleanup source numbering (Prarit Bhargava) +- redhat/kernel.spec.template: Reorganize RHEL and Fedora specific files (Prarit Bhargava) +- redhat/kernel.spec.template: Add include_fedora and include_rhel variables (Prarit Bhargava) +- redhat/Makefile: Make kernel-local global (Prarit Bhargava) +- redhat/Makefile: Use flavors file (Prarit Bhargava) +- Turn on CONFIG_CPU_FREQ_GOV_SCHEDUTIL for x86 (Justin M. Forbes) +- redhat/configs: Remove CONFIG_INFINIBAND_I40IW (Kamal Heib) +- cleanup CONFIG_X86_PLATFORM_DRIVERS_INTEL (David Arcari) +- redhat: rename usage of .rhel8git.mk to .rhpkg.mk (Herton R. Krzesinski) +- Manually add pending items that need to be set due to mismatch (Justin M. Forbes) +- Clean up pending common (Justin M. Forbes) +- redhat/configs: Enable CONFIG_BLK_CGROUP_IOLATENCY & CONFIG_BLK_CGROUP_FC_APPID (Waiman Long) [2006813] +- redhat: remove kernel.changelog-8.99 file (Herton R. Krzesinski) +- redhat/configs: enable CONFIG_SQUASHFS_ZSTD which is already enabled in Fedora 34 (Tao Liu) [1998953] +- redhat: bump RHEL_MAJOR and add the changelog file for it (Herton R. Krzesinski) +- redhat: add documentation about the os-build rebase process (Herton R. Krzesinski) +- redhat/configs: enable SYSTEM_BLACKLIST_KEYRING which is already enabled in rhel8 and Fedora 34 (Coiby Xu) +- Build kernel-doc for Fedora (Justin M. Forbes) +- x86_64: Enable Elkhart Lake Quadrature Encoder Peripheral support (Prarit Bhargava) +- Update CONFIG_WERROR to disabled as it can cause issue with out of tree modules. (Justin M. Forbes) +- Fixup IOMMU configs in pending so that configs are sane again (Justin M. Forbes) +- Some initial Fedora config items for 5.15 (Justin M. Forbes) +- arm64: use common CONFIG_MAX_ZONEORDER for arm kernel (Mark Salter) +- Create Makefile.variables for a single point of configuration change (Justin M. Forbes) +- rpmspec: drop traceevent files instead of just excluding them from files list (Herton R. Krzesinski) [1967640] +- redhat/config: Enablement of CONFIG_PAPR_SCM for PowerPC (Gustavo Walbon) [1962936] +- Attempt to fix Intel PMT code (David Arcari) +- CI: Enable realtime branch testing (Veronika Kabatova) +- CI: Enable realtime checks for c9s and RHEL9 (Veronika Kabatova) +- ark: wireless: enable all rtw88 pcie wirless variants (Peter Robinson) +- wireless: rtw88: move debug options to common/debug (Peter Robinson) +- fedora: minor PTP clock driver cleanups (Peter Robinson) +- common: x86: enable VMware PTP support on ark (Peter Robinson) +- [scsi] megaraid_sas: re-add certain pci-ids (Tomas Henzl) +- Disable liquidio driver on ark/rhel (Herton R. Krzesinski) [1993393] +- More Fedora config updates (Justin M. Forbes) +- Fedora config updates for 5.14 (Justin M. Forbes) +- CI: Rename ARK CI pipeline type (Veronika Kabatova) +- CI: Finish up c9s config (Veronika Kabatova) +- CI: Update ppc64le config (Veronika Kabatova) +- CI: use more templates (Veronika Kabatova) +- Filter updates for aarch64 (Justin M. Forbes) +- increase CONFIG_NODES_SHIFT for aarch64 (Chris von Recklinghausen) [1890304] +- redhat: configs: Enable CONFIG_WIRELESS_HOTKEY (Hans de Goede) +- redhat/configs: Update CONFIG_NVRAM (Desnes A. Nunes do Rosario) [1988254] +- common: serial: build in SERIAL_8250_LPSS for x86 (Peter Robinson) +- powerpc: enable CONFIG_FUNCTION_PROFILER (Diego Domingos) [1831065] +- redhat/configs: Disable Soft-RoCE driver (Kamal Heib) +- redhat/configs/evaluate_configs: Update help output (Prarit Bhargava) +- redhat/configs: Double MAX_LOCKDEP_CHAINS (Justin M. Forbes) +- fedora: configs: Fix WM5102 Kconfig (Hans de Goede) +- powerpc: enable CONFIG_POWER9_CPU (Diego Domingos) [1876436] +- redhat/configs: Fix CONFIG_VIRTIO_IOMMU to 'y' on aarch64 (Eric Auger) [1972795] +- filter-modules.sh: add more sound modules to filter (Jaroslav Kysela) +- redhat/configs: sound configuration cleanups and updates (Jaroslav Kysela) +- common: Update for CXL (Compute Express Link) configs (Peter Robinson) +- redhat: configs: disable CRYPTO_SM modules (Herton R. Krzesinski) [1990040] +- Remove fedora version of the LOCKDEP_BITS, we should use common (Justin M. Forbes) +- Re-enable sermouse for x86 (rhbz 1974002) (Justin M. Forbes) +- Fedora 5.14 configs round 1 (Justin M. Forbes) +- redhat: add gating configuration for centos stream/rhel9 (Herton R. Krzesinski) +- x86: configs: Enable CONFIG_TEST_FPU for debug kernels (Vitaly Kuznetsov) [1988384] +- redhat/configs: Move CHACHA and POLY1305 to core kernel to allow BIG_KEYS=y (root) [1983298] +- kernel.spec: fix build of samples/bpf (Jiri Benc) +- Enable OSNOISE_TRACER and TIMERLAT_TRACER (Jerome Marchand) [1979379] +- rpmspec: switch iio and gpio tools to use tools_make (Herton R. Krzesinski) [1956988] +- configs/process_configs.sh: Handle config items with no help text (Patrick Talbert) +- fedora: sound config updates for 5.14 (Peter Robinson) +- fedora: Only enable FSI drivers on POWER platform (Peter Robinson) +- The CONFIG_RAW_DRIVER has been removed from upstream (Peter Robinson) +- fedora: updates for 5.14 with a few disables for common from pending (Peter Robinson) +- fedora: migrate from MFD_TPS68470 -> INTEL_SKL_INT3472 (Peter Robinson) +- fedora: Remove STAGING_GASKET_FRAMEWORK (Peter Robinson) +- Fedora: move DRM_VMWGFX configs from ark -> common (Peter Robinson) +- fedora: arm: disabled unused FB drivers (Peter Robinson) +- fedora: don't enable FB_VIRTUAL (Peter Robinson) +- redhat/configs: Double MAX_LOCKDEP_ENTRIES (Waiman Long) [1940075] +- rpmspec: fix verbose output on kernel-devel installation (Herton R. Krzesinski) [1981406] +- Build Fedora x86s kernels with bytcr-wm5102 (Marius Hoch) +- Deleted redhat/configs/fedora/generic/x86/CONFIG_FB_HYPERV (Patrick Lang) +- rpmspec: correct the ghost initramfs attributes (Herton R. Krzesinski) [1977056] +- rpmspec: amend removal of depmod created files to include modules.builtin.alias.bin (Herton R. Krzesinski) [1977056] +- configs: remove duplicate CONFIG_DRM_HYPERV file (Patrick Talbert) +- CI: use common code for merge and release (Don Zickus) +- rpmspec: add release string to kernel doc directory name (Jan Stancek) +- redhat/configs: Add CONFIG_INTEL_PMT_CRASHLOG (Michael Petlan) [1880486] +- redhat/configs: Add CONFIG_INTEL_PMT_TELEMETRY (Michael Petlan) [1880486] +- redhat/configs: Add CONFIG_MFD_INTEL_PMT (Michael Petlan) [1880486] +- redhat/configs: enable CONFIG_BLK_DEV_ZONED (Ming Lei) [1638087] +- Add --with clang_lto option to build the kernel with Link Time Optimizations (Tom Stellard) +- common: disable DVB_AV7110 and associated pieces (Peter Robinson) +- Fix fedora-only config updates (Don Zickus) +- Fedor config update for new option (Justin M. Forbes) +- redhat/configs: Enable stmmac NIC for x86_64 (Mark Salter) +- all: hyperv: use the DRM driver rather than FB (Peter Robinson) +- all: hyperv: unify the Microsoft HyperV configs (Peter Robinson) +- all: VMWare: clean up VMWare configs (Peter Robinson) +- Update CONFIG_ARM_FFA_TRANSPORT (Patrick Talbert) +- CI: Handle all mirrors (Veronika Kabatova) +- Turn on CONFIG_STACKTRACE for s390x zfpcdump kernels (Justin M. Forbes) +- arm64: switch ark kernel to 4K pagesize (Mark Salter) +- Disable AMIGA_PARTITION and KARMA_PARTITION (Prarit Bhargava) [1802694] +- all: unify and cleanup i2c TPM2 modules (Peter Robinson) +- redhat/configs: Set CONFIG_VIRTIO_IOMMU on aarch64 (Eric Auger) [1972795] +- redhat/configs: Disable CONFIG_RT_GROUP_SCHED in rhel config (Phil Auld) +- redhat/configs: enable KEXEC_SIG which is already enabled in RHEL8 for s390x and x86_64 (Coiby Xu) [1976835] +- rpmspec: do not BuildRequires bpftool on noarch (Herton R. Krzesinski) +- redhat/configs: disable {IMA,EVM}_LOAD_X509 (Bruno Meneguele) [1977529] +- redhat: add secureboot CA certificate to trusted kernel keyring (Bruno Meneguele) +- redhat/configs: enable IMA_ARCH_POLICY for aarch64 and s390x (Bruno Meneguele) +- redhat/configs: Enable CONFIG_MLXBF_GIGE on aarch64 (Alaa Hleihel) [1858599] +- common: enable STRICT_MODULE_RWX everywhere (Peter Robinson) +- COMMON_CLK_STM32MP157_SCMI is bool and selects COMMON_CLK_SCMI (Justin M. Forbes) +- kernel.spec: Add kernel{,-debug}-devel-matched meta packages (Timothée Ravier) +- Turn off with_selftests for Fedora (Justin M. Forbes) +- Don't build bpftool on Fedora (Justin M. Forbes) +- Fix location of syscall scripts for kernel-devel (Justin M. Forbes) +- fedora: arm: Enable some i.MX8 options (Peter Robinson) +- Enable Landlock for Fedora (Justin M. Forbes) +- Filter update for Fedora aarch64 (Justin M. Forbes) +- rpmspec: only build debug meta packages where we build debug ones (Herton R. Krzesinski) +- rpmspec: do not BuildRequires bpftool on nobuildarches (Herton R. Krzesinski) +- redhat/configs: Consolidate CONFIG_HMC_DRV in the common s390x folder (Thomas Huth) [1976270] +- redhat/configs: Consolidate CONFIG_EXPOLINE_OFF in the common folder (Thomas Huth) [1976270] +- redhat/configs: Move CONFIG_HW_RANDOM_S390 into the s390x/ subfolder (Thomas Huth) [1976270] +- redhat/configs: Disable CONFIG_HOTPLUG_PCI_SHPC in the Fedora settings (Thomas Huth) [1976270] +- redhat/configs: Remove the non-existent CONFIG_NO_BOOTMEM switch (Thomas Huth) [1976270] +- redhat/configs: Compile the virtio-console as a module on s390x (Thomas Huth) [1976270] +- redhat/configs: Enable CONFIG_S390_CCW_IOMMU and CONFIG_VFIO_CCW for ARK, too (Thomas Huth) [1976270] +- Revert "Merge branch 'ec_fips' into 'os-build'" (Vladis Dronov) [1947240] +- Fix typos in fedora filters (Justin M. Forbes) +- More filtering for Fedora (Justin M. Forbes) +- Fix Fedora module filtering for spi-altera-dfl (Justin M. Forbes) +- Fedora 5.13 config updates (Justin M. Forbes) +- fedora: cleanup TCG_TIS_I2C_CR50 (Peter Robinson) +- fedora: drop duplicate configs (Peter Robinson) +- More Fedora config updates for 5.13 (Justin M. Forbes) +- redhat/configs: Enable needed drivers for BlueField SoC on aarch64 (Alaa Hleihel) [1858592 1858594 1858596] +- redhat: Rename mod-blacklist.sh to mod-denylist.sh (Prarit Bhargava) +- redhat/configs: enable CONFIG_NET_ACT_MPLS (Marcelo Ricardo Leitner) +- configs: Enable CONFIG_DEBUG_KERNEL for zfcpdump (Jiri Olsa) +- kernel.spec: Add support to use vmlinux.h (Don Zickus) +- spec: Add vmlinux.h to kernel-devel package (Jiri Olsa) +- Turn off DRM_XEN_FRONTEND for Fedora as we had DRM_XEN off already (Justin M. Forbes) +- Fedora 5.13 config updates pt 3 (Justin M. Forbes) +- all: enable ath11k wireless modules (Peter Robinson) +- all: Enable WWAN and associated MHI bus pieces (Peter Robinson) +- spec: Enable sefltests rpm build (Jiri Olsa) +- spec: Allow bpf selftest/samples to fail (Jiri Olsa) +- kvm: Add kvm_stat.service file and kvm_stat logrotate config to the tools (Jiri Benc) +- kernel.spec: Add missing source files to kernel-selftests-internal (Jiri Benc) +- kernel.spec: selftests: add net/forwarding to TARGETS list (Jiri Benc) +- kernel.spec: selftests: add build requirement on libmnl-devel (Jiri Benc) +- kernel.spec: add action.o to kernel-selftests-internal (Jiri Benc) +- kernel.spec: avoid building bpftool repeatedly (Jiri Benc) +- kernel.spec: selftests require python3 (Jiri Benc) +- kernel.spec: skip selftests that failed to build (Jiri Benc) +- kernel.spec: fix installation of bpf selftests (Jiri Benc) +- redhat: fix samples and selftests make options (Jiri Benc) +- kernel.spec: enable mptcp selftests for kernel-selftests-internal (Jiri Benc) +- kernel.spec: Do not export shared objects from libexecdir to RPM Provides (Jiri Benc) +- kernel.spec: add missing dependency for the which package (Jiri Benc) +- kernel.spec: add netfilter selftests to kernel-selftests-internal (Jiri Benc) +- kernel.spec: move slabinfo and page_owner_sort debuginfo to tools-debuginfo (Jiri Benc) +- kernel.spec: package and ship VM tools (Jiri Benc) +- configs: enable CONFIG_PAGE_OWNER (Jiri Benc) +- kernel.spec: add coreutils (Jiri Benc) +- kernel.spec: add netdevsim driver selftests to kernel-selftests-internal (Jiri Benc) +- redhat/Makefile: Clean out the --without flags from the baseonly rule (Jiri Benc) +- kernel.spec: Stop building unnecessary rpms for baseonly builds (Jiri Benc) +- kernel.spec: disable more kabi switches for gcov build (Jiri Benc) +- kernel.spec: Rename kabi-dw base (Jiri Benc) +- kernel.spec: Fix error messages during build of zfcpdump kernel (Jiri Benc) +- kernel.spec: perf: remove bpf examples (Jiri Benc) +- kernel.spec: selftests should not depend on modules-internal (Jiri Benc) +- kernel.spec: build samples (Jiri Benc) +- kernel.spec: tools: sync missing options with RHEL 8 (Jiri Benc) +- redhat/configs: nftables: Enable extra flowtable symbols (Phil Sutter) +- redhat/configs: Sync netfilter options with RHEL8 (Phil Sutter) +- Fedora 5.13 config updates pt 2 (Justin M. Forbes) +- Move CONFIG_ARCH_INTEL_SOCFPGA up a level for Fedora (Justin M. Forbes) +- fedora: enable the Rockchip rk3399 pcie drivers (Peter Robinson) +- Fedora 5.13 config updates pt 1 (Justin M. Forbes) +- Fix version requirement from opencsd-devel buildreq (Justin M. Forbes) +- configs/ark/s390: set CONFIG_MARCH_Z14 and CONFIG_TUNE_Z15 (Philipp Rudo) [1876435] +- configs/common/s390: Clean up CONFIG_{MARCH,TUNE}_Z* (Philipp Rudo) +- configs/process_configs.sh: make use of dummy-tools (Philipp Rudo) +- configs/common: disable CONFIG_INIT_STACK_ALL_{PATTERN,ZERO} (Philipp Rudo) +- configs/common/aarch64: disable CONFIG_RELR (Philipp Rudo) +- redhat/config: enable STMICRO nic for RHEL (Mark Salter) +- redhat/configs: Enable ARCH_TEGRA on RHEL (Mark Salter) +- redhat/configs: enable IMA_KEXEC for supported arches (Bruno Meneguele) +- redhat/configs: enable INTEGRITY_SIGNATURE to all arches (Bruno Meneguele) +- configs: enable CONFIG_LEDS_BRIGHTNESS_HW_CHANGED (Benjamin Tissoires) +- RHEL: disable io_uring support (Jeff Moyer) [1964537] +- all: Changing CONFIG_UV_SYSFS to build uv_sysfs.ko as a loadable module. (Frank Ramsay) +- Enable NITRO_ENCLAVES on RHEL (Vitaly Kuznetsov) +- Update the Quick Start documentation (David Ward) +- redhat/configs: Set PVPANIC_MMIO for x86 and PVPANIC_PCI for aarch64 (Eric Auger) [1961178] +- bpf: Fix unprivileged_bpf_disabled setup (Jiri Olsa) +- Enable CONFIG_BPF_UNPRIV_DEFAULT_OFF (Jiri Olsa) +- configs/common/s390: disable CONFIG_QETH_{OSN,OSX} (Philipp Rudo) [1903201] +- nvme: nvme_mpath_init remove multipath check (Mike Snitzer) +- Make CRYPTO_EC also builtin (Simo Sorce) [1947240] +- Do not hard-code a default value for DIST (David Ward) +- Override %%{debugbuildsenabled} if the --with-release option is used (David Ward) +- Improve comments in SPEC file, and move some option tests and macros (David Ward) +- configs: enable CONFIG_EXFAT_FS (Pavel Reichl) [1943423] +- Revert s390x/zfcpdump part of a9d179c40281 and ecbfddd98621 (Vladis Dronov) +- Embed crypto algos, modes and templates needed in the FIPS mode (Vladis Dronov) [1947240] +- configs: Add and enable CONFIG_HYPERV_TESTING for debug kernels (Mohammed Gamal) +- configs: enable CONFIG_CMA on x86_64 in ARK (David Hildenbrand) [1945002] +- rpmspec: build debug-* meta-packages if debug builds are disabled (Herton R. Krzesinski) +- UIO: disable unused config options (Aristeu Rozanski) [1957819] +- ARK-config: Make amd_pinctrl module builtin (Hans de Goede) +- rpmspec: revert/drop content hash for kernel-headers (Herton R. Krzesinski) +- rpmspec: fix check that calls InitBuildVars (Herton R. Krzesinski) +- fedora: enable zonefs (Damien Le Moal) +- redhat: load specific ARCH keys to INTEGRITY_PLATFORM_KEYRING (Bruno Meneguele) +- redhat: enable INTEGRITY_TRUSTED_KEYRING across all variants (Bruno Meneguele) +- redhat: enable SYSTEM_BLACKLIST_KEYRING across all variants (Bruno Meneguele) +- redhat: enable INTEGRITY_ASYMMETRIC_KEYS across all variants (Bruno Meneguele) +- Remove unused boot loader specification files (David Ward) +- redhat/configs: Enable mlx5 IPsec and TLS offloads (Alaa Hleihel) [1869674 1957636] +- common: disable Apple Silicon generally (Peter Robinson) +- cleanup Intel's FPGA configs (Peter Robinson) +- common: move PTP KVM support from ark to common (Peter Robinson) +- Enable CONFIG_DRM_AMDGPU_USERPTR for everyone (Justin M. Forbes) +- redhat: add initial rpminspect configuration (Herton R. Krzesinski) +- fedora: arm updates for 5.13 (Peter Robinson) +- fedora: Enable WWAN and associated MHI bits (Peter Robinson) +- Update CONFIG_MODPROBE_PATH to /usr/sbin (Justin Forbes) +- Fedora set modprobe path (Justin M. Forbes) +- Keep sctp and l2tp modules in modules-extra (Don Zickus) +- Fix ppc64le cross build packaging (Don Zickus) +- Fedora: Make amd_pinctrl module builtin (Hans de Goede) +- Keep CONFIG_KASAN_HW_TAGS off for aarch64 debug configs (Justin M. Forbes) +- New configs in drivers/bus (Fedora Kernel Team) +- RHEL: Don't build KVM PR module on ppc64 (David Gibson) [1930649] +- Flip CONFIG_USB_ROLE_SWITCH from m to y (Justin M. Forbes) +- Set valid options for CONFIG_FW_LOADER_USER_HELPER (Justin M. Forbes) +- Clean up CONFIG_FB_MODE_HELPERS (Justin M. Forbes) +- Turn off CONFIG_VFIO for the s390x zfcpdump kernel (Justin M. Forbes) +- Delete unused CONFIG_SND_SOC_MAX98390 pending-common (Justin M. Forbes) +- Update pending-common configs, preparing to set correctly (Justin M. Forbes) +- Update fedora filters for surface (Justin M. Forbes) +- Build CONFIG_CRYPTO_ECDSA inline for s390x zfcpdump (Justin M. Forbes) +- Replace "flavour" where "variant" is meant instead (David Ward) +- Drop the %%{variant} macro and fix --with-vanilla (David Ward) +- Fix syntax of %%kernel_variant_files (David Ward) +- Change description of --without-vdso-install to fix typo (David Ward) +- Config updates to work around mismatches (Justin M. Forbes) +- CONFIG_SND_SOC_FSL_ASOC_CARD selects CONFIG_MFD_WM8994 now (Justin M. Forbes) +- wireguard: disable in FIPS mode (Hangbin Liu) [1940794] +- Enable mtdram for fedora (rhbz 1955916) (Justin M. Forbes) +- Remove reference to bpf-helpers man page (Justin M. Forbes) +- Fedora: enable more modules for surface devices (Dave Olsthoorn) +- Fix Fedora config mismatch for CONFIG_FSL_ENETC_IERB (Justin M. Forbes) +- hardlink is in /usr/bin/ now (Justin M. Forbes) +- Ensure CONFIG_KVM_BOOK3S_64_PR stays on in Fedora, even if it is turned off in RHEL (Justin M. Forbes) +- Set date in package release from repository commit, not system clock (David Ward) +- Use a better upstream tarball filename for snapshots (David Ward) +- Don't create empty pending-common files on pending-fedora commits (Don Zickus) +- nvme: decouple basic ANA log page re-read support from native multipathing (Mike Snitzer) +- nvme: allow local retry and proper failover for REQ_FAILFAST_TRANSPORT (Mike Snitzer) +- nvme: Return BLK_STS_TARGET if the DNR bit is set (Mike Snitzer) +- Add redhat/configs/pending-common/generic/s390x/zfcpdump/CONFIG_NETFS_SUPPORT (Justin M. Forbes) +- Create ark-latest branch last for CI scripts (Don Zickus) +- Replace /usr/libexec/platform-python with /usr/bin/python3 (David Ward) +- Turn off ADI_AXI_ADC and AD9467 which now require CONFIG_OF (Justin M. Forbes) +- Export ark infrastructure files (Don Zickus) +- docs: Update docs to reflect newer workflow. (Don Zickus) +- Use upstream/master for merge-base with fallback to master (Don Zickus) +- Fedora: Turn off the SND_INTEL_BYT_PREFER_SOF option (Hans de Goede) +- filter-modules.sh.fedora: clean up "netprots" (Paul Bolle) +- filter-modules.sh.fedora: clean up "scsidrvs" (Paul Bolle) +- filter-*.sh.fedora: clean up "ethdrvs" (Paul Bolle) +- filter-*.sh.fedora: clean up "driverdirs" (Paul Bolle) +- filter-*.sh.fedora: remove incorrect entries (Paul Bolle) +- filter-*.sh.fedora: clean up "singlemods" (Paul Bolle) +- filter-modules.sh.fedora: drop unused list "iiodrvs" (Paul Bolle) +- Update mod-internal to fix depmod issue (Nico Pache) +- Turn on CONFIG_VDPA_SIM_NET (rhbz 1942343) (Justin M. Forbes) +- New configs in drivers/power (Fedora Kernel Team) +- Turn on CONFIG_NOUVEAU_DEBUG_PUSH for debug configs (Justin M. Forbes) +- Turn off KFENCE sampling by default for Fedora (Justin M. Forbes) +- Fedora config updates round 2 (Justin M. Forbes) +- New configs in drivers/soc (Jeremy Cline) +- filter-modules.sh: Fix copy/paste error 'input' (Paul Bolle) +- Update module filtering for 5.12 kernels (Justin M. Forbes) +- Fix genlog.py to ensure that comments retain "%%" characters. (Mark Mielke) +- New configs in drivers/leds (Fedora Kernel Team) +- Limit CONFIG_USB_CDNS_SUPPORT to x86_64 and arm in Fedora (David Ward) +- Fedora: Enable CHARGER_GPIO on aarch64 too (Peter Robinson) +- Fedora config updates (Justin M. Forbes) +- configs: enable CONFIG_WIREGUARD in ARK (Hangbin Liu) [1613522] +- Remove duplicate configs acroos fedora, ark and common (Don Zickus) +- Combine duplicate configs across ark and fedora into common (Don Zickus) +- common/ark: cleanup and unify the parport configs (Peter Robinson) +- iommu/vt-d: enable INTEL_IDXD_SVM for both fedora and rhel (Jerry Snitselaar) +- REDHAT: coresight: etm4x: Disable coresight on HPE Apollo 70 (Jeremy Linton) +- configs/common/generic: disable CONFIG_SLAB_MERGE_DEFAULT (Rafael Aquini) +- Remove _legacy_common_support (Justin M. Forbes) +- redhat/mod-blacklist.sh: Fix floppy blacklisting (Hans de Goede) +- New configs in fs/pstore (CKI@GitLab) +- New configs in arch/powerpc (Fedora Kernel Team) +- configs: enable BPF LSM on Fedora and ARK (Ondrej Mosnacek) +- configs: clean up LSM configs (Ondrej Mosnacek) +- New configs in drivers/platform (CKI@GitLab) +- New configs in drivers/firmware (CKI@GitLab) +- New configs in drivers/mailbox (Fedora Kernel Team) +- New configs in drivers/net/phy (Justin M. Forbes) +- Update CONFIG_DM_MULTIPATH_IOA (Augusto Caringi) +- New configs in mm/Kconfig (CKI@GitLab) +- New configs in arch/powerpc (Jeremy Cline) +- New configs in arch/powerpc (Jeremy Cline) +- New configs in drivers/input (Fedora Kernel Team) +- New configs in net/bluetooth (Justin M. Forbes) +- New configs in drivers/clk (Fedora Kernel Team) +- New configs in init/Kconfig (Jeremy Cline) +- redhat: allow running fedora-configs and rh-configs targets outside of redhat/ (Herton R. Krzesinski) +- all: unify the disable of goldfish (android emulation platform) (Peter Robinson) +- common: minor cleanup/de-dupe of dma/dmabuf debug configs (Peter Robinson) +- common/ark: these drivers/arches were removed in 5.12 (Peter Robinson) +- Correct kernel-devel make prepare build for 5.12. (Paulo E. Castro) +- redhat: add initial support for centos stream dist-git sync on Makefiles (Herton R. Krzesinski) +- redhat/configs: Enable CONFIG_SCHED_STACK_END_CHECK for Fedora and ARK (Josh Poimboeuf) [1856174] +- CONFIG_VFIO now selects IOMMU_API instead of depending on it, causing several config mismatches for the zfcpdump kernel (Justin M. Forbes) +- Turn off weak-modules for Fedora (Justin M. Forbes) +- redhat: enable CONFIG_FW_LOADER_COMPRESS for ARK (Herton R. Krzesinski) [1939095] +- Fedora: filters: update to move dfl-emif to modules (Peter Robinson) +- drop duplicate DEVFREQ_GOV_SIMPLE_ONDEMAND config (Peter Robinson) +- efi: The EFI_VARS is legacy and now x86 only (Peter Robinson) +- common: enable RTC_SYSTOHC to supplement update_persistent_clock64 (Peter Robinson) +- generic: arm: enable SCMI for all options (Peter Robinson) +- fedora: the PCH_CAN driver is x86-32 only (Peter Robinson) +- common: disable legacy CAN device support (Peter Robinson) +- common: Enable Microchip MCP251x/MCP251xFD CAN controllers (Peter Robinson) +- common: Bosch MCAN support for Intel Elkhart Lake (Peter Robinson) +- common: enable CAN_PEAK_PCIEFD PCI-E driver (Peter Robinson) +- common: disable CAN_PEAK_PCIEC PCAN-ExpressCard (Peter Robinson) +- common: enable common CAN layer 2 protocols (Peter Robinson) +- ark: disable CAN_LEDS option (Peter Robinson) +- Fedora: Turn on SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC option (Hans de Goede) +- Fedora: enable modules for surface devices (Dave Olsthoorn) +- Turn on SND_SOC_INTEL_SOUNDWIRE_SOF_MACH for Fedora again (Justin M. Forbes) +- common: fix WM8804 codec dependencies (Peter Robinson) +- Build SERIO_SERPORT as a module (Peter Robinson) +- input: touchscreen: move ELO and Wacom serial touchscreens to x86 (Peter Robinson) +- Sync serio touchscreens for non x86 architectures to the same as ARK (Peter Robinson) +- Only enable SERIO_LIBPS2 on x86 (Peter Robinson) +- Only enable PC keyboard controller and associated keyboard on x86 (Peter Robinson) +- Generic: Mouse: Tweak generic serial mouse options (Peter Robinson) +- Only enable PS2 Mouse options on x86 (Peter Robinson) +- Disable bluetooth highspeed by default (Peter Robinson) +- Fedora: A few more general updates for 5.12 window (Peter Robinson) +- Fedora: Updates for 5.12 merge window (Peter Robinson) +- Fedora: remove dead options that were removed upstream (Peter Robinson) +- redhat: remove CONFIG_DRM_PANEL_XINGBANGDA_XBD599 (Herton R. Krzesinski) +- New configs in arch/powerpc (Fedora Kernel Team) +- Turn on CONFIG_PPC_QUEUED_SPINLOCKS as it is default upstream now (Justin M. Forbes) +- Update pending-common configs to address new upstream config deps (Justin M. Forbes) +- rpmspec: ship gpio-watch.debug in the proper debuginfo package (Herton R. Krzesinski) +- Removed description text as a comment confuses the config generation (Justin M. Forbes) +- New configs in drivers/dma-buf (Jeremy Cline) +- Fedora: ARMv7: build for 16 CPUs. (Peter Robinson) +- Fedora: only enable DEBUG_HIGHMEM on debug kernels (Peter Robinson) +- process_configs.sh: fix find/xargs data flow (Ondrej Mosnacek) +- Fedora config update (Justin M. Forbes) +- fedora: minor arm sound config updates (Peter Robinson) +- Fix trailing white space in redhat/configs/fedora/generic/CONFIG_SND_INTEL_BYT_PREFER_SOF (Justin M. Forbes) +- Add a redhat/rebase-notes.txt file (Hans de Goede) +- Turn on SND_INTEL_BYT_PREFER_SOF for Fedora (Hans de Goede) +- CI: Drop MR ID from the name variable (Veronika Kabatova) +- redhat: add DUP and kpatch certificates to system trusted keys for RHEL build (Herton R. Krzesinski) +- The comments in CONFIG_USB_RTL8153_ECM actually turn off CONFIG_USB_RTL8152 (Justin M. Forbes) +- Update CKI pipeline project (Veronika Kabatova) +- Turn off additional KASAN options for Fedora (Justin M. Forbes) +- Rename the master branch to rawhide for Fedora (Justin M. Forbes) +- Makefile targets for packit integration (Ben Crocker) +- Turn off KASAN for rawhide debug builds (Justin M. Forbes) +- New configs in arch/arm64 (Justin Forbes) +- Remove deprecated Intel MIC config options (Peter Robinson) +- redhat: replace inline awk script with genlog.py call (Herton R. Krzesinski) +- redhat: add genlog.py script (Herton R. Krzesinski) +- kernel.spec.template - fix use_vdso usage (Ben Crocker) +- redhat: remove remaining references of CONFIG_RH_DISABLE_DEPRECATED (Herton R. Krzesinski) +- Turn off vdso_install for ppc (Justin M. Forbes) +- Remove bpf-helpers.7 from bpftool package (Jiri Olsa) +- New configs in lib/Kconfig.debug (Fedora Kernel Team) +- Turn off CONFIG_VIRTIO_CONSOLE for s390x zfcpdump (Justin M. Forbes) +- New configs in drivers/clk (Justin M. Forbes) +- Keep VIRTIO_CONSOLE on s390x available. (Jakub Čajka) +- New configs in lib/Kconfig.debug (Jeremy Cline) +- Fedora 5.11 config updates part 4 (Justin M. Forbes) +- Fedora 5.11 config updates part 3 (Justin M. Forbes) +- Fedora 5.11 config updates part 2 (Justin M. Forbes) +- Update internal (test) module list from RHEL-8 (Joe Lawrence) [1915073] +- Fix USB_XHCI_PCI regression (Justin M. Forbes) +- fedora: fixes for ARMv7 build issue by disabling HIGHPTE (Peter Robinson) +- all: s390x: Increase CONFIG_PCI_NR_FUNCTIONS to 512 (#1888735) (Dan Horák) +- Fedora 5.11 configs pt 1 (Justin M. Forbes) +- redhat: avoid conflict with mod-blacklist.sh and released_kernel defined (Herton R. Krzesinski) +- redhat: handle certificate files conditionally as done for src.rpm (Herton R. Krzesinski) +- specfile: add %%{?_smp_mflags} to "make headers_install" in tools/testing/selftests (Denys Vlasenko) +- specfile: add %%{?_smp_mflags} to "make samples/bpf/" (Denys Vlasenko) +- Run MR testing in CKI pipeline (Veronika Kabatova) +- Reword comment (Nicolas Chauvet) +- Add with_cross_arm conditional (Nicolas Chauvet) +- Redefines __strip if with_cross (Nicolas Chauvet) +- fedora: only enable ACPI_CONFIGFS, ACPI_CUSTOM_METHOD in debug kernels (Peter Robinson) +- fedora: User the same EFI_CUSTOM_SSDT_OVERLAYS as ARK (Peter Robinson) +- all: all arches/kernels enable the same DMI options (Peter Robinson) +- all: move SENSORS_ACPI_POWER to common/generic (Peter Robinson) +- fedora: PCIE_HISI_ERR is already in common (Peter Robinson) +- all: all ACPI platforms enable ATA_ACPI so move it to common (Peter Robinson) +- all: x86: move shared x86 acpi config options to generic (Peter Robinson) +- All: x86: Move ACPI_VIDEO to common/x86 (Peter Robinson) +- All: x86: Enable ACPI_DPTF (Intel DPTF) (Peter Robinson) +- All: enable ACPI_BGRT for all ACPI platforms. (Peter Robinson) +- All: Only build ACPI_EC_DEBUGFS for debug kernels (Peter Robinson) +- All: Disable Intel Classmate PC ACPI_CMPC option (Peter Robinson) +- cleanup: ACPI_PROCFS_POWER was removed upstream (Peter Robinson) +- All: ACPI: De-dupe the ACPI options that are the same across ark/fedora on x86/arm (Peter Robinson) +- Enable the vkms module in Fedora (Jeremy Cline) +- Fedora: arm updates for 5.11 and general cross Fedora cleanups (Peter Robinson) +- Add gcc-c++ to BuildRequires (Justin M. Forbes) +- Update CONFIG_KASAN_HW_TAGS (Justin M. Forbes) +- fedora: arm: move generic power off/reset to all arm (Peter Robinson) +- fedora: ARMv7: build in DEVFREQ_GOV_SIMPLE_ONDEMAND until I work out why it's changed (Peter Robinson) +- fedora: cleanup joystick_adc (Peter Robinson) +- fedora: update some display options (Peter Robinson) +- fedora: arm: enable TI PRU options (Peter Robinson) +- fedora: arm: minor exynos plaform updates (Peter Robinson) +- arm: SoC: disable Toshiba Visconti SoC (Peter Robinson) +- common: disable ARCH_BCM4908 (NFC) (Peter Robinson) +- fedora: minor arm config updates (Peter Robinson) +- fedora: enable Tegra 234 SoC (Peter Robinson) +- fedora: arm: enable new Hikey 3xx options (Peter Robinson) +- Fedora: USB updates (Peter Robinson) +- fedora: enable the GNSS receiver subsystem (Peter Robinson) +- Remove POWER_AVS as no longer upstream (Peter Robinson) +- Cleanup RESET_RASPBERRYPI (Peter Robinson) +- Cleanup GPIO_CDEV_V1 options. (Peter Robinson) +- fedora: arm crypto updates (Peter Robinson) +- CONFIG_KASAN_HW_TAGS for aarch64 (Justin M. Forbes) +- Fedora: cleanup PCMCIA configs, move to x86 (Peter Robinson) +- New configs in drivers/rtc (Fedora Kernel Team) +- redhat/configs: Enable CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL (Josh Poimboeuf) [1856176] +- redhat/configs: Enable CONFIG_GCC_PLUGIN_STRUCTLEAK (Josh Poimboeuf) [1856176] +- redhat/configs: Enable CONFIG_GCC_PLUGINS on ARK (Josh Poimboeuf) [1856176] +- redhat/configs: Enable CONFIG_KASAN on Fedora (Josh Poimboeuf) [1856176] +- New configs in init/Kconfig (Fedora Kernel Team) +- build_configs.sh: Fix syntax flagged by shellcheck (Ben Crocker) +- genspec.sh: Fix syntax flagged by shellcheck (Ben Crocker) +- mod-blacklist.sh: Fix syntax flagged by shellcheck (Ben Crocker) +- Enable Speakup accessibility driver (Justin M. Forbes) +- New configs in init/Kconfig (Fedora Kernel Team) +- Fix fedora config mismatch due to dep changes (Justin M. Forbes) +- New configs in drivers/crypto (Jeremy Cline) +- Remove duplicate ENERGY_MODEL configs (Peter Robinson) +- This is selected by PCIE_QCOM so must match (Justin M. Forbes) +- drop unused BACKLIGHT_GENERIC (Peter Robinson) +- Remove cp instruction already handled in instruction below. (Paulo E. Castro) +- Add all the dependencies gleaned from running `make prepare` on a bloated devel kernel. (Paulo E. Castro) +- Add tools to path mangling script. (Paulo E. Castro) +- Remove duplicate cp statement which is also not specific to x86. (Paulo E. Castro) +- Correct orc_types failure whilst running `make prepare` https://bugzilla.redhat.com/show_bug.cgi?id=1882854 (Paulo E. Castro) +- redhat: ark: enable CONFIG_IKHEADERS (Jiri Olsa) +- Add missing '$' sign to (GIT) in redhat/Makefile (Augusto Caringi) +- Remove filterdiff and use native git instead (Don Zickus) +- New configs in net/sched (Justin M. Forbes) +- New configs in drivers/mfd (CKI@GitLab) +- New configs in drivers/mfd (Fedora Kernel Team) +- New configs in drivers/firmware (Fedora Kernel Team) +- Temporarily backout parallel xz script (Justin M. Forbes) +- redhat: explicitly disable CONFIG_IMA_APPRAISE_SIGNED_INIT (Bruno Meneguele) +- redhat: enable CONFIG_EVM_LOAD_X509 on ARK (Bruno Meneguele) +- redhat: enable CONFIG_EVM_ATTR_FSUUID on ARK (Bruno Meneguele) +- redhat: enable CONFIG_EVM in all arches and flavors (Bruno Meneguele) +- redhat: enable CONFIG_IMA_LOAD_X509 on ARK (Bruno Meneguele) +- redhat: set CONFIG_IMA_DEFAULT_HASH to SHA256 (Bruno Meneguele) +- redhat: enable CONFIG_IMA_SECURE_AND_OR_TRUSTED_BOOT (Bruno Meneguele) +- redhat: enable CONFIG_IMA_READ_POLICY on ARK (Bruno Meneguele) +- redhat: set default IMA template for all ARK arches (Bruno Meneguele) +- redhat: enable CONFIG_IMA_DEFAULT_HASH_SHA256 for all flavors (Bruno Meneguele) +- redhat: disable CONFIG_IMA_DEFAULT_HASH_SHA1 (Bruno Meneguele) +- redhat: enable CONFIG_IMA_ARCH_POLICY for ppc and x86 (Bruno Meneguele) +- redhat: enable CONFIG_IMA_APPRAISE_MODSIG (Bruno Meneguele) +- redhat: enable CONFIG_IMA_APPRAISE_BOOTPARAM (Bruno Meneguele) +- redhat: enable CONFIG_IMA_APPRAISE (Bruno Meneguele) +- redhat: enable CONFIG_INTEGRITY for aarch64 (Bruno Meneguele) +- kernel: Update some missing KASAN/KCSAN options (Jeremy Linton) +- kernel: Enable coresight on aarch64 (Jeremy Linton) +- Update CONFIG_INET6_ESPINTCP (Justin Forbes) +- New configs in net/ipv6 (Justin M. Forbes) +- fedora: move CONFIG_RTC_NVMEM options from ark to common (Peter Robinson) +- configs: Enable CONFIG_DEBUG_INFO_BTF (Don Zickus) +- fedora: some minor arm audio config tweaks (Peter Robinson) +- Ship xpad with default modules on Fedora and RHEL (Bastien Nocera) +- Fedora: Only enable legacy serial/game port joysticks on x86 (Peter Robinson) +- Fedora: Enable the options required for the Librem 5 Phone (Peter Robinson) +- Fedora config update (Justin M. Forbes) +- Fedora config change because CONFIG_FSL_DPAA2_ETH now selects CONFIG_FSL_XGMAC_MDIO (Justin M. Forbes) +- redhat: generic enable CONFIG_INET_MPTCP_DIAG (Davide Caratti) +- Fedora config update (Justin M. Forbes) +- Enable NANDSIM for Fedora (Justin M. Forbes) +- Re-enable CONFIG_ACPI_TABLE_UPGRADE for Fedora since upstream disables this if secureboot is active (Justin M. Forbes) +- Ath11k related config updates (Justin M. Forbes) +- Fedora config updates for ath11k (Justin M. Forbes) +- Turn on ATH11K for Fedora (Justin M. Forbes) +- redhat: enable CONFIG_INTEL_IOMMU_SVM (Jerry Snitselaar) +- More Fedora config fixes (Justin M. Forbes) +- Fedora 5.10 config updates (Justin M. Forbes) +- Fedora 5.10 configs round 1 (Justin M. Forbes) +- Fedora config updates (Justin M. Forbes) +- Allow kernel-tools to build without selftests (Don Zickus) +- Allow building of kernel-tools standalone (Don Zickus) +- redhat: ark: disable CONFIG_NET_ACT_CTINFO (Davide Caratti) +- redhat: ark: disable CONFIG_NET_SCH_TEQL (Davide Caratti) +- redhat: ark: disable CONFIG_NET_SCH_SFB (Davide Caratti) +- redhat: ark: disable CONFIG_NET_SCH_QFQ (Davide Caratti) +- redhat: ark: disable CONFIG_NET_SCH_PLUG (Davide Caratti) +- redhat: ark: disable CONFIG_NET_SCH_PIE (Davide Caratti) +- redhat: ark: disable CONFIG_NET_SCH_HHF (Davide Caratti) +- redhat: ark: disable CONFIG_NET_SCH_DSMARK (Davide Caratti) +- redhat: ark: disable CONFIG_NET_SCH_DRR (Davide Caratti) +- redhat: ark: disable CONFIG_NET_SCH_CODEL (Davide Caratti) +- redhat: ark: disable CONFIG_NET_SCH_CHOKE (Davide Caratti) +- redhat: ark: disable CONFIG_NET_SCH_CBQ (Davide Caratti) +- redhat: ark: disable CONFIG_NET_SCH_ATM (Davide Caratti) +- redhat: ark: disable CONFIG_NET_EMATCH and sub-targets (Davide Caratti) +- redhat: ark: disable CONFIG_NET_CLS_TCINDEX (Davide Caratti) +- redhat: ark: disable CONFIG_NET_CLS_RSVP6 (Davide Caratti) +- redhat: ark: disable CONFIG_NET_CLS_RSVP (Davide Caratti) +- redhat: ark: disable CONFIG_NET_CLS_ROUTE4 (Davide Caratti) +- redhat: ark: disable CONFIG_NET_CLS_BASIC (Davide Caratti) +- redhat: ark: disable CONFIG_NET_ACT_SKBMOD (Davide Caratti) +- redhat: ark: disable CONFIG_NET_ACT_SIMP (Davide Caratti) +- redhat: ark: disable CONFIG_NET_ACT_NAT (Davide Caratti) +- arm64/defconfig: Enable CONFIG_KEXEC_FILE (Bhupesh Sharma) [1821565] +- redhat/configs: Cleanup CONFIG_CRYPTO_SHA512 (Prarit Bhargava) +- New configs in drivers/mfd (Fedora Kernel Team) +- Fix LTO issues with kernel-tools (Don Zickus) +- Point pathfix to the new location for gen_compile_commands.py (Justin M. Forbes) +- configs: Disable CONFIG_SECURITY_SELINUX_DISABLE (Ondrej Mosnacek) +- [Automatic] Handle config dependency changes (Don Zickus) +- configs/iommu: Add config comment to empty CONFIG_SUN50I_IOMMU file (Jerry Snitselaar) +- New configs in kernel/trace (Fedora Kernel Team) +- Fix Fedora config locations (Justin M. Forbes) +- Fedora config updates (Justin M. Forbes) +- configs: enable CONFIG_CRYPTO_CTS=y so cts(cbc(aes)) is available in FIPS mode (Vladis Dronov) [1855161] +- Partial revert: Add master merge check (Don Zickus) +- Update Maintainers doc to reflect workflow changes (Don Zickus) +- WIP: redhat/docs: Update documentation for single branch workflow (Prarit Bhargava) +- Add CONFIG_ARM64_MTE which is not picked up by the config scripts for some reason (Justin M. Forbes) +- Disable Speakup synth DECEXT (Justin M. Forbes) +- Enable Speakup for Fedora since it is out of staging (Justin M. Forbes) +- Modify patchlist changelog output (Don Zickus) +- process_configs.sh: Fix syntax flagged by shellcheck (Ben Crocker) +- generate_all_configs.sh: Fix syntax flagged by shellcheck (Ben Crocker) +- redhat/self-test: Initial commit (Ben Crocker) +- arch/x86: Remove vendor specific CPU ID checks (Prarit Bhargava) +- redhat: Replace hardware.redhat.com link in Unsupported message (Prarit Bhargava) [1810301] +- x86: Fix compile issues with rh_check_supported() (Don Zickus) +- KEYS: Make use of platform keyring for module signature verify (Robert Holmes) +- Input: rmi4 - remove the need for artificial IRQ in case of HID (Benjamin Tissoires) +- ARM: tegra: usb no reset (Peter Robinson) +- arm: make CONFIG_HIGHPTE optional without CONFIG_EXPERT (Jon Masters) +- redhat: rh_kabi: deduplication friendly structs (Jiri Benc) +- redhat: rh_kabi add a comment with warning about RH_KABI_EXCLUDE usage (Jiri Benc) +- redhat: rh_kabi: introduce RH_KABI_EXTEND_WITH_SIZE (Jiri Benc) +- redhat: rh_kabi: Indirect EXTEND macros so nesting of other macros will resolve. (Don Dutile) +- redhat: rh_kabi: Fix RH_KABI_SET_SIZE to use dereference operator (Tony Camuso) +- redhat: rh_kabi: Add macros to size and extend structs (Prarit Bhargava) +- Removing Obsolete hba pci-ids from rhel8 (Dick Kennedy) [1572321] +- mptsas: pci-id table changes (Laura Abbott) +- mptsas: Taint kernel if mptsas is loaded (Laura Abbott) +- mptspi: pci-id table changes (Laura Abbott) +- qla2xxx: Remove PCI IDs of deprecated adapter (Jeremy Cline) +- be2iscsi: remove unsupported device IDs (Chris Leech) [1574502 1598366] +- mptspi: Taint kernel if mptspi is loaded (Laura Abbott) +- hpsa: remove old cciss-based smartarray pci ids (Joseph Szczypek) [1471185] +- qla4xxx: Remove deprecated PCI IDs from RHEL 8 (Chad Dupuis) [1518874] +- aacraid: Remove depreciated device and vendor PCI id's (Raghava Aditya Renukunta) [1495307] +- megaraid_sas: remove deprecated pci-ids (Tomas Henzl) [1509329] +- mpt*: remove certain deprecated pci-ids (Jeremy Cline) +- kernel: add SUPPORT_REMOVED kernel taint (Tomas Henzl) [1602033] +- Rename RH_DISABLE_DEPRECATED to RHEL_DIFFERENCES (Don Zickus) +- s390: Lock down the kernel when the IPL secure flag is set (Jeremy Cline) +- efi: Lock down the kernel if booted in secure boot mode (David Howells) +- efi: Add an EFI_SECURE_BOOT flag to indicate secure boot mode (David Howells) +- security: lockdown: expose a hook to lock the kernel down (Jeremy Cline) +- Make get_cert_list() use efi_status_to_str() to print error messages. (Peter Jones) +- Add efi_status_to_str() and rework efi_status_to_err(). (Peter Jones) +- Add support for deprecating processors (Laura Abbott) [1565717 1595918 1609604 1610493] +- arm: aarch64: Drop the EXPERT setting from ARM64_FORCE_52BIT (Jeremy Cline) +- iommu/arm-smmu: workaround DMA mode issues (Laura Abbott) +- rh_kabi: introduce RH_KABI_EXCLUDE (Jakub Racek) [1652256] +- ipmi: do not configure ipmi for HPE m400 (Laura Abbott) [1670017] +- kABI: Add generic kABI macros to use for kABI workarounds (Myron Stowe) [1546831] +- add pci_hw_vendor_status() (Maurizio Lombardi) [1590829] +- ahci: thunderx2: Fix for errata that affects stop engine (Robert Richter) [1563590] +- Vulcan: AHCI PCI bar fix for Broadcom Vulcan early silicon (Robert Richter) [1563590] +- bpf: set unprivileged_bpf_disabled to 1 by default, add a boot parameter (Eugene Syromiatnikov) [1561171] +- add Red Hat-specific taint flags (Eugene Syromiatnikov) [1559877] +- tags.sh: Ignore redhat/rpm (Jeremy Cline) +- put RHEL info into generated headers (Laura Abbott) [1663728] +- aarch64: acpi scan: Fix regression related to X-Gene UARTs (Mark Salter) [1519554] +- ACPI / irq: Workaround firmware issue on X-Gene based m400 (Mark Salter) [1519554] +- modules: add rhelversion MODULE_INFO tag (Laura Abbott) +- ACPI: APEI: arm64: Ignore broken HPE moonshot APEI support (Al Stone) [1518076] +- Add Red Hat tainting (Laura Abbott) [1565704 1652266] +- Introduce CONFIG_RH_DISABLE_DEPRECATED (Laura Abbott) +- Stop merging ark-patches for release (Don Zickus) +- Fix path location for ark-update-configs.sh (Don Zickus) +- Combine Red Hat patches into single patch (Don Zickus) +- New configs in drivers/misc (Jeremy Cline) +- New configs in drivers/net/wireless (Justin M. Forbes) +- New configs in drivers/phy (Fedora Kernel Team) +- New configs in drivers/tty (Fedora Kernel Team) +- Set SquashFS decompression options for all flavors to match RHEL (Bohdan Khomutskyi) +- configs: Enable CONFIG_ENERGY_MODEL (Phil Auld) +- New configs in drivers/pinctrl (Fedora Kernel Team) +- Update CONFIG_THERMAL_NETLINK (Justin Forbes) +- Separate merge-upstream and release stages (Don Zickus) +- Re-enable CONFIG_IR_SERIAL on Fedora (Prarit Bhargava) +- Create Patchlist.changelog file (Don Zickus) +- Filter out upstream commits from changelog (Don Zickus) +- Merge Upstream script fixes (Don Zickus) +- kernel.spec: Remove kernel-keys directory on rpm erase (Prarit Bhargava) +- Add mlx5_vdpa to module filter for Fedora (Justin M. Forbes) +- Add python3-sphinx_rtd_theme buildreq for docs (Justin M. Forbes) +- redhat/configs/process_configs.sh: Remove *.config.orig files (Prarit Bhargava) +- redhat/configs/process_configs.sh: Add process_configs_known_broken flag (Prarit Bhargava) +- redhat/Makefile: Fix '*-configs' targets (Prarit Bhargava) +- dist-merge-upstream: Checkout known branch for ci scripts (Don Zickus) +- kernel.spec: don't override upstream compiler flags for ppc64le (Dan Horák) +- Fedora config updates (Justin M. Forbes) +- Fedora confi gupdate (Justin M. Forbes) +- mod-sign.sh: Fix syntax flagged by shellcheck (Ben Crocker) +- Swap how ark-latest is built (Don Zickus) +- Add extra version bump to os-build branch (Don Zickus) +- dist-release: Avoid needless version bump. (Don Zickus) +- Add dist-fedora-release target (Don Zickus) +- Remove redundant code in dist-release (Don Zickus) +- Makefile.common rename TAG to _TAG (Don Zickus) +- Fedora config change (Justin M. Forbes) +- Fedora filter update (Justin M. Forbes) +- Config update for Fedora (Justin M. Forbes) +- enable PROTECTED_VIRTUALIZATION_GUEST for all s390x kernels (Dan Horák) +- redhat: ark: enable CONFIG_NET_SCH_TAPRIO (Davide Caratti) +- redhat: ark: enable CONFIG_NET_SCH_ETF (Davide Caratti) +- More Fedora config updates (Justin M. Forbes) +- New config deps (Justin M. Forbes) +- Fedora config updates (Justin M. Forbes) +- First half of config updates for Fedora (Justin M. Forbes) +- Updates for Fedora arm architectures for the 5.9 window (Peter Robinson) +- Merge 5.9 config changes from Peter Robinson (Justin M. Forbes) +- Add config options that only show up when we prep on arm (Justin M. Forbes) +- Config updates for Fedora (Justin M. Forbes) +- fedora: enable enery model (Peter Robinson) +- Use the configs/generic config for SND_HDA_INTEL everywhere (Peter Robinson) +- Enable ZSTD compression algorithm on all kernels (Peter Robinson) +- Enable ARM_SMCCC_SOC_ID on all aarch64 kernels (Peter Robinson) +- iio: enable LTR-559 light and proximity sensor (Peter Robinson) +- iio: chemical: enable some popular chemical and partical sensors (Peter Robinson) +- More mismatches (Justin M. Forbes) +- Fedora config change due to deps (Justin M. Forbes) +- CONFIG_SND_SOC_MAX98390 is now selected by SND_SOC_INTEL_DA7219_MAX98357A_GENERIC (Justin M. Forbes) +- Config change required for build part 2 (Justin M. Forbes) +- Config change required for build (Justin M. Forbes) +- Fedora config update (Justin M. Forbes) +- Add ability to sync upstream through Makefile (Don Zickus) +- Add master merge check (Don Zickus) +- Replace hardcoded values 'os-build' and project id with variables (Don Zickus) +- redhat/Makefile.common: Fix MARKER (Prarit Bhargava) +- gitattributes: Remove unnecesary export restrictions (Prarit Bhargava) +- Add new certs for dual signing with boothole (Justin M. Forbes) +- Update secureboot signing for dual keys (Justin M. Forbes) +- fedora: enable LEDS_SGM3140 for arm configs (Peter Robinson) +- Enable CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG (Justin M. Forbes) +- redhat/configs: Fix common CONFIGs (Prarit Bhargava) +- redhat/configs: General CONFIG cleanups (Prarit Bhargava) +- redhat/configs: Update & generalize evaluate_configs (Prarit Bhargava) +- fedora: arm: Update some meson config options (Peter Robinson) +- redhat/docs: Add Fedora RPM tagging date (Prarit Bhargava) +- Update config for renamed panel driver. (Peter Robinson) +- Enable SERIAL_SC16IS7XX for SPI interfaces (Peter Robinson) +- s390x-zfcpdump: Handle missing Module.symvers file (Don Zickus) +- Fedora config updates (Justin M. Forbes) +- redhat/configs: Add .tmp files to .gitignore (Prarit Bhargava) +- disable uncommon TCP congestion control algorithms (Davide Caratti) +- Add new bpf man pages (Justin M. Forbes) +- Add default option for CONFIG_ARM64_BTI_KERNEL to pending-common so that eln kernels build (Justin M. Forbes) +- redhat/Makefile: Add fedora-configs and rh-configs make targets (Prarit Bhargava) +- redhat/configs: Use SHA512 for module signing (Prarit Bhargava) +- genspec.sh: 'touch' empty Patchlist file for single tarball (Don Zickus) +- Fedora config update for rc1 (Justin M. Forbes) +- Fedora config updates (Justin M. Forbes) +- Fedora config updates (Justin M. Forbes) +- redhat/Makefile.common: fix RPMKSUBLEVEL condition (Ondrej Mosnacek) +- redhat/Makefile: silence KABI tar output (Ondrej Mosnacek) +- One more Fedora config update (Justin M. Forbes) +- Fedora config updates (Justin M. Forbes) +- Fix PATCHLEVEL for merge window (Justin M. Forbes) +- Change ark CONFIG_COMMON_CLK to yes, it is selected already by other options (Justin M. Forbes) +- Fedora config updates (Justin M. Forbes) +- Fedora config updates (Justin M. Forbes) +- Fedora config updates (Justin M. Forbes) +- More module filtering for Fedora (Justin M. Forbes) +- Update filters for rnbd in Fedora (Justin M. Forbes) +- Fedora config updates (Justin M. Forbes) +- Fix up module filtering for 5.8 (Justin M. Forbes) +- Fedora config updates (Justin M. Forbes) +- More Fedora config work (Justin M. Forbes) +- RTW88BE and CE have been extracted to their own modules (Justin M. Forbes) +- Set CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK for Fedora (Justin M. Forbes) +- Fedora config updates (Justin M. Forbes) +- Arm64 Use Branch Target Identification for kernel (Justin M. Forbes) +- Change value of CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE (Justin M. Forbes) +- Fedora config updates (Justin M. Forbes) +- Fix configs for Fedora (Justin M. Forbes) +- Add zero-commit to format-patch options (Justin M. Forbes) +- Copy Makefile.rhelver as a source file rather than a patch (Jeremy Cline) +- Move the sed to clear the patch templating outside of conditionals (Justin M. Forbes) +- Match template format in kernel.spec.template (Justin M. Forbes) +- Break out the Patches into individual files for dist-git (Justin M. Forbes) +- Break the Red Hat patch into individual commits (Jeremy Cline) +- Fix update_scripts.sh unselective pattern sub (David Howells) +- Add cec to the filter overrides (Justin M. Forbes) +- Add overrides to filter-modules.sh (Justin M. Forbes) +- redhat/configs: Enable CONFIG_SMC91X and disable CONFIG_SMC911X (Prarit Bhargava) [1722136] +- Include bpftool-struct_ops man page in the bpftool package (Jeremy Cline) +- Add sharedbuffer_configuration.py to the pathfix.py script (Jeremy Cline) +- Use __make macro instead of make (Tom Stellard) +- Sign off generated configuration patches (Jeremy Cline) +- Drop the static path configuration for the Sphinx docs (Jeremy Cline) +- redhat: Add dummy-module kernel module (Prarit Bhargava) +- redhat: enable CONFIG_LWTUNNEL_BPF (Jiri Benc) +- Remove typoed config file aarch64CONFIG_SM_GCC_8150 (Justin M. Forbes) +- Add Documentation back to kernel-devel as it has Kconfig now (Justin M. Forbes) +- Copy distro files rather than moving them (Jeremy Cline) +- kernel.spec: fix 'make scripts' for kernel-devel package (Brian Masney) +- Makefile: correct help text for dist-cross--rpms (Brian Masney) +- redhat/Makefile: Fix RHEL8 python warning (Prarit Bhargava) +- redhat: Change Makefile target names to dist- (Prarit Bhargava) +- configs: Disable Serial IR driver (Prarit Bhargava) +- Fix "multiple %%files for package kernel-tools" (Pablo Greco) +- Introduce a Sphinx documentation project (Jeremy Cline) +- Build ARK against ELN (Don Zickus) +- Drop the requirement to have a remote called linus (Jeremy Cline) +- Rename 'internal' branch to 'os-build' (Don Zickus) +- Only include open merge requests with "Include in Releases" label (Jeremy Cline) +- Package gpio-watch in kernel-tools (Jeremy Cline) +- Exit non-zero if the tag already exists for a release (Jeremy Cline) +- Adjust the changelog update script to not push anything (Jeremy Cline) +- Drop --target noarch from the rh-rpms make target (Jeremy Cline) +- Add a script to generate release tags and branches (Jeremy Cline) +- Set CONFIG_VDPA for fedora (Justin M. Forbes) +- Add a README to the dist-git repository (Jeremy Cline) +- Provide defaults in ark-rebase-patches.sh (Jeremy Cline) +- Default ark-rebase-patches.sh to not report issues (Jeremy Cline) +- Drop DIST from release commits and tags (Jeremy Cline) +- Place the buildid before the dist in the release (Jeremy Cline) +- Sync up with Fedora arm configuration prior to merging (Jeremy Cline) +- Disable CONFIG_PROTECTED_VIRTUALIZATION_GUEST for zfcpdump (Jeremy Cline) +- Add RHMAINTAINERS file and supporting conf (Don Zickus) +- Add a script to test if all commits are signed off (Jeremy Cline) +- Fix make rh-configs-arch (Don Zickus) +- Drop RH_FEDORA in favor of the now-merged RHEL_DIFFERENCES (Jeremy Cline) +- Sync up Fedora configs from the first week of the merge window (Jeremy Cline) +- Migrate blacklisting floppy.ko to mod-blacklist.sh (Don Zickus) +- kernel packaging: Combine mod-blacklist.sh and mod-extra-blacklist.sh (Don Zickus) +- kernel packaging: Fix extra namespace collision (Don Zickus) +- mod-extra.sh: Rename to mod-blacklist.sh (Don Zickus) +- mod-extra.sh: Make file generic (Don Zickus) +- Fix a painfully obvious YAML syntax error in .gitlab-ci.yml (Jeremy Cline) +- Add in armv7hl kernel header support (Don Zickus) +- Disable all BuildKernel commands when only building headers (Don Zickus) +- Drop any gitlab-ci patches from ark-patches (Jeremy Cline) +- Build the srpm for internal branch CI using the vanilla tree (Jeremy Cline) +- Pull in the latest ARM configurations for Fedora (Jeremy Cline) +- Fix xz memory usage issue (Neil Horman) +- Use ark-latest instead of master for update script (Jeremy Cline) +- Move the CI jobs back into the ARK repository (Jeremy Cline) +- Sync up ARK's Fedora config with the dist-git repository (Jeremy Cline) +- Pull in the latest configuration changes from Fedora (Jeremy Cline) +- configs: enable CONFIG_NET_SCH_CBS (Marcelo Ricardo Leitner) +- Drop configuration options in fedora/ that no longer exist (Jeremy Cline) +- Set RH_FEDORA for ARK and Fedora (Jeremy Cline) +- redhat/kernel.spec: Include the release in the kernel COPYING file (Jeremy Cline) +- redhat/kernel.spec: add scripts/jobserver-exec to py3_shbang_opts list (Jeremy Cline) +- redhat/kernel.spec: package bpftool-gen man page (Jeremy Cline) +- distgit-changelog: handle multiple y-stream BZ numbers (Bruno Meneguele) +- redhat/kernel.spec: remove all inline comments (Bruno Meneguele) +- redhat/genspec: awk unknown whitespace regex pattern (Bruno Meneguele) +- Improve the readability of gen_config_patches.sh (Jeremy Cline) +- Fix some awkward edge cases in gen_config_patches.sh (Jeremy Cline) +- Update the CI environment to use Fedora 31 (Jeremy Cline) +- redhat: drop whitespace from with_gcov macro (Jan Stancek) +- configs: Enable CONFIG_KEY_DH_OPERATIONS on ARK (Ondrej Mosnacek) +- configs: Adjust CONFIG_MPLS_ROUTING and CONFIG_MPLS_IPTUNNEL (Laura Abbott) +- New configs in lib/crypto (Jeremy Cline) +- New configs in drivers/char (Jeremy Cline) +- Turn on BLAKE2B for Fedora (Jeremy Cline) +- kernel.spec.template: Clean up stray *.h.s files (Laura Abbott) +- Build the SRPM in the CI job (Jeremy Cline) +- New configs in net/tls (Jeremy Cline) +- New configs in net/tipc (Jeremy Cline) +- New configs in lib/kunit (Jeremy Cline) +- Fix up released_kernel case (Laura Abbott) +- New configs in lib/Kconfig.debug (Jeremy Cline) +- New configs in drivers/ptp (Jeremy Cline) +- New configs in drivers/nvme (Jeremy Cline) +- New configs in drivers/net/phy (Jeremy Cline) +- New configs in arch/arm64 (Jeremy Cline) +- New configs in drivers/crypto (Jeremy Cline) +- New configs in crypto/Kconfig (Jeremy Cline) +- Add label so the Gitlab to email bridge ignores the changelog (Jeremy Cline) +- Temporarily switch TUNE_DEFAULT to y (Jeremy Cline) +- Run config test for merge requests and internal (Jeremy Cline) +- Add missing licensedir line (Laura Abbott) +- redhat/scripts: Remove redhat/scripts/rh_get_maintainer.pl (Prarit Bhargava) +- configs: Take CONFIG_DEFAULT_MMAP_MIN_ADDR from Fedra (Laura Abbott) +- configs: Turn off ISDN (Laura Abbott) +- Add a script to generate configuration patches (Laura Abbott) +- Introduce rh-configs-commit (Laura Abbott) +- kernel-packaging: Remove kernel files from kernel-modules-extra package (Prarit Bhargava) +- configs: Enable CONFIG_DEBUG_WX (Laura Abbott) +- configs: Disable wireless USB (Laura Abbott) +- Clean up some temporary config files (Laura Abbott) +- configs: New config in drivers/gpu for v5.4-rc1 (Jeremy Cline) +- configs: New config in arch/powerpc for v5.4-rc1 (Jeremy Cline) +- configs: New config in crypto for v5.4-rc1 (Jeremy Cline) +- configs: New config in drivers/usb for v5.4-rc1 (Jeremy Cline) +- AUTOMATIC: New configs (Jeremy Cline) +- Skip ksamples for bpf, they are broken (Jeremy Cline) +- configs: New config in fs/erofs for v5.4-rc1 (Jeremy Cline) +- configs: New config in mm for v5.4-rc1 (Jeremy Cline) +- configs: New config in drivers/md for v5.4-rc1 (Jeremy Cline) +- configs: New config in init for v5.4-rc1 (Jeremy Cline) +- configs: New config in fs/fuse for v5.4-rc1 (Jeremy Cline) +- merge.pl: Avoid comments but do not skip them (Don Zickus) +- configs: New config in drivers/net/ethernet/pensando for v5.4-rc1 (Jeremy Cline) +- Update a comment about what released kernel means (Laura Abbott) +- Provide both Fedora and RHEL files in the SRPM (Laura Abbott) +- kernel.spec.template: Trim EXTRAVERSION in the Makefile (Laura Abbott) +- kernel.spec.template: Add macros for building with nopatches (Laura Abbott) +- kernel.spec.template: Add some macros for Fedora differences (Laura Abbott) +- kernel.spec.template: Consolodate the options (Laura Abbott) +- configs: Add pending direcory to Fedora (Laura Abbott) +- kernel.spec.template: Don't run hardlink if rpm-ostree is in use (Laura Abbott) +- configs: New config in net/can for v5.4-rc1 (Jeremy Cline) +- configs: New config in drivers/net/phy for v5.4-rc1 (Jeremy Cline) +- configs: Increase x86_64 NR_UARTS to 64 (Prarit Bhargava) [1730649] +- configs: turn on ARM64_FORCE_52BIT for debug builds (Jeremy Cline) +- kernel.spec.template: Tweak the python3 mangling (Laura Abbott) +- kernel.spec.template: Add --with verbose option (Laura Abbott) +- kernel.spec.template: Switch to using %%install instead of %%__install (Laura Abbott) +- kernel.spec.template: Make the kernel.org URL https (Laura Abbott) +- kernel.spec.template: Update message about secure boot signing (Laura Abbott) +- kernel.spec.template: Move some with flags definitions up (Laura Abbott) +- kernel.spec.template: Update some BuildRequires (Laura Abbott) +- kernel.spec.template: Get rid of %%clean (Laura Abbott) +- configs: New config in drivers/char for v5.4-rc1 (Jeremy Cline) +- configs: New config in net/sched for v5.4-rc1 (Jeremy Cline) +- configs: New config in lib for v5.4-rc1 (Jeremy Cline) +- configs: New config in fs/verity for v5.4-rc1 (Jeremy Cline) +- configs: New config in arch/aarch64 for v5.4-rc4 (Jeremy Cline) +- configs: New config in arch/arm64 for v5.4-rc1 (Jeremy Cline) +- Flip off CONFIG_ARM64_VA_BITS_52 so the bundle that turns it on applies (Jeremy Cline) +- New configuration options for v5.4-rc4 (Jeremy Cline) +- Correctly name tarball for single tarball builds (Laura Abbott) +- configs: New config in drivers/pci for v5.4-rc1 (Jeremy Cline) +- Allow overriding the dist tag on the command line (Laura Abbott) +- Allow scratch branch target to be overridden (Laura Abbott) +- Remove long dead BUILD_DEFAULT_TARGET (Laura Abbott) +- Amend the changelog when rebasing (Laura Abbott) +- configs: New config in drivers/platform for v5.4-rc1 (Jeremy Cline) +- configs: New config in drivers/pinctrl for v5.4-rc1 (Jeremy Cline) +- configs: New config in drivers/net/wireless for v5.4-rc1 (Jeremy Cline) +- configs: New config in drivers/net/ethernet/mellanox for v5.4-rc1 (Jeremy Cline) +- configs: New config in drivers/net/can for v5.4-rc1 (Jeremy Cline) +- configs: New config in drivers/hid for v5.4-rc1 (Jeremy Cline) +- configs: New config in drivers/dma-buf for v5.4-rc1 (Jeremy Cline) +- configs: New config in drivers/crypto for v5.4-rc1 (Jeremy Cline) +- configs: New config in arch/s390 for v5.4-rc1 (Jeremy Cline) +- configs: New config in block for v5.4-rc1 (Jeremy Cline) +- configs: New config in drivers/cpuidle for v5.4-rc1 (Jeremy Cline) +- redhat: configs: Split CONFIG_CRYPTO_SHA512 (Laura Abbott) +- redhat: Set Fedora options (Laura Abbott) +- Set CRYPTO_SHA3_*_S390 to builtin on zfcpdump (Jeremy Cline) +- configs: New config in drivers/edac for v5.4-rc1 (Jeremy Cline) +- configs: New config in drivers/firmware for v5.4-rc1 (Jeremy Cline) +- configs: New config in drivers/hwmon for v5.4-rc1 (Jeremy Cline) +- configs: New config in drivers/iio for v5.4-rc1 (Jeremy Cline) +- configs: New config in drivers/mmc for v5.4-rc1 (Jeremy Cline) +- configs: New config in drivers/tty for v5.4-rc1 (Jeremy Cline) +- configs: New config in arch/s390 for v5.4-rc1 (Jeremy Cline) +- configs: New config in drivers/bus for v5.4-rc1 (Jeremy Cline) +- Add option to allow mismatched configs on the command line (Laura Abbott) +- configs: New config in drivers/crypto for v5.4-rc1 (Jeremy Cline) +- configs: New config in sound/pci for v5.4-rc1 (Jeremy Cline) +- configs: New config in sound/soc for v5.4-rc1 (Jeremy Cline) +- gitlab: Add CI job for packaging scripts (Major Hayden) +- Speed up CI with CKI image (Major Hayden) +- Disable e1000 driver in ARK (Neil Horman) +- configs: Fix the pending default for CONFIG_ARM64_VA_BITS_52 (Jeremy Cline) +- configs: Turn on OPTIMIZE_INLINING for everything (Jeremy Cline) +- configs: Set valid pending defaults for CRYPTO_ESSIV (Jeremy Cline) +- Add an initial CI configuration for the internal branch (Jeremy Cline) +- New drop of configuration options for v5.4-rc1 (Jeremy Cline) +- New drop of configuration options for v5.4-rc1 (Jeremy Cline) +- Pull the RHEL version defines out of the Makefile (Jeremy Cline) +- Sync up the ARK build scripts (Jeremy Cline) +- Sync up the Fedora Rawhide configs (Jeremy Cline) +- Sync up the ARK config files (Jeremy Cline) +- configs: Adjust CONFIG_FORCE_MAX_ZONEORDER for Fedora (Laura Abbott) +- configs: Add README for some other arches (Laura Abbott) +- configs: Sync up Fedora configs (Laura Abbott) +- [initial commit] Add structure for building with git (Laura Abbott) +- [initial commit] Add Red Hat variables in the top level makefile (Laura Abbott) +- [initial commit] Red Hat gitignore and attributes (Laura Abbott) +- [initial commit] Add changelog (Laura Abbott) +- [initial commit] Add makefile (Laura Abbott) +- [initial commit] Add files for generating the kernel.spec (Laura Abbott) +- [initial commit] Add rpm directory (Laura Abbott) +- [initial commit] Add files for packaging (Laura Abbott) +- [initial commit] Add kabi files (Laura Abbott) +- [initial commit] Add scripts (Laura Abbott) +- [initial commit] Add configs (Laura Abbott) +- [initial commit] Add Makefiles (Laura Abbott) +- Linux v6.12.0-0.rc0.adfc3ded5c33 +Resolves: RHEL-23931, RHEL-26170, RHEL-32110, RHEL-32895, RHEL-32987, RHEL-36646, RHEL-36647, RHEL-40251, RHEL-40411, RHEL-40937, RHEL-41231, RHEL-43425, RHEL-43556, RHEL-49398, RHEL-51896, RHEL-52629, RHEL-54183, RHEL-56069, rhbz#1471185, rhbz#1495307, rhbz#1509329, rhbz#1518076, rhbz#1518874, rhbz#1519554, rhbz#1546831, rhbz#1559877, rhbz#1561171, rhbz#1563590, rhbz#1565704, rhbz#1565717, rhbz#1572321, rhbz#1574502, rhbz#1590829, rhbz#1595918, rhbz#1598366, rhbz#1602033, rhbz#1609604, rhbz#1610493, rhbz#1613522, rhbz#1638087, rhbz#1652256, rhbz#1652266, rhbz#1663728, rhbz#1670017, rhbz#1722136, rhbz#1730649, rhbz#1802694, rhbz#1810301, rhbz#1821565, rhbz#1831065, rhbz#1855161, rhbz#1856174, rhbz#1856176, rhbz#1858592, rhbz#1858594, rhbz#1858596, rhbz#1858599, rhbz#1869674, rhbz#1871130, rhbz#1876435, rhbz#1876436, rhbz#1876977, rhbz#1877192, rhbz#1880486, rhbz#1890304, rhbz#1903201, rhbz#1915073, rhbz#1915290, rhbz#1930649, rhbz#1939095, rhbz#1940075, rhbz#1940794, rhbz#1943423, rhbz#1945002, rhbz#1945179, rhbz#1945477, rhbz#1947240, rhbz#1948340, rhbz#1952426, rhbz#1952863, rhbz#1953486, rhbz#1956988, rhbz#1957210, rhbz#1957219, rhbz#1957305, rhbz#1957636, rhbz#1957819, rhbz#1961178, rhbz#1962936, rhbz#1964537, rhbz#1967640, rhbz#1972795, rhbz#1976270, rhbz#1976835, rhbz#1976877, rhbz#1976884, rhbz#1977056, rhbz#1977529, rhbz#1978539, rhbz#1979379, rhbz#1981406, rhbz#1983298, rhbz#1986223, rhbz#1988254, rhbz#1988384, rhbz#1990040, rhbz#1993393, rhbz#1994858, rhbz#1998953, rhbz#2000835, rhbz#2002344, rhbz#2004233, rhbz#2004821, rhbz#2006813, rhbz#2007430, rhbz#2012226, rhbz#2014492, rhbz#2019377, rhbz#2020132, rhbz#2022578, rhbz#2023782, rhbz#2024595, rhbz#2025985, rhbz#2026319, rhbz#2027506, rhbz#2031547, rhbz#2032758, rhbz#2034670, rhbz#2038999, rhbz#2040643, rhbz#2041184, rhbz#2041186, rhbz#2041365, rhbz#2041990, rhbz#2042240, rhbz#2042241, rhbz#2043141, rhbz#2044155, rhbz#2053836, rhbz#2054579, rhbz#2062054, rhbz#2062909, rhbz#2071969, rhbz#2089765, rhbz#2115876, rhbz#2120968, rhbz#2122595, rhbz#2140017, rhbz#2142658, rhbz#2149273, rhbz#2153073, rhbz#2166911, rhbz#2188441, rhbz#2208834, rhbz#2216678, rhbz#2227793, rhbz#2231407, rhbz#2233269 diff --git a/ciq/kernel.spec.template b/ciq/kernel.spec.template new file mode 100644 index 0000000000000..6ca7feb9c33da --- /dev/null +++ b/ciq/kernel.spec.template @@ -0,0 +1,4290 @@ +# All Global changes to build and install go here. +# Per the below section about __spec_install_pre, any rpm +# environment changes that affect %%install need to go +# here before the %%install macro is pre-built. + +# Disable frame pointers +%undefine _include_frame_pointers + +# Disable LTO in userspace packages. +%global _lto_cflags %{nil} + +# Option to enable compiling with clang instead of gcc. +%bcond_with toolchain_clang + +%if %{with toolchain_clang} +%global toolchain clang +%endif + +# Compile the kernel with LTO (only supported when building with clang). +%bcond_with clang_lto + +%if %{with clang_lto} && %{without toolchain_clang} +{error:clang_lto requires --with toolchain_clang} +%endif + +# RPM macros strip everything in BUILDROOT, either with __strip +# or find-debuginfo.sh. Make use of __spec_install_post override +# and save/restore binaries we want to package as unstripped. +%define buildroot_unstripped %{_builddir}/root_unstripped +%define buildroot_save_unstripped() \ +(cd %{buildroot}; cp -rav --parents -t %{buildroot_unstripped}/ %1 || true) \ +%{nil} +%define __restore_unstripped_root_post \ + echo "Restoring unstripped artefacts %{buildroot_unstripped} -> %{buildroot}" \ + cp -rav %{buildroot_unstripped}/. %{buildroot}/ \ +%{nil} + +# The kernel's %%install section is special +# Normally the %%install section starts by cleaning up the BUILD_ROOT +# like so: +# +# %%__spec_install_pre %%{___build_pre}\ +# [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "${RPM_BUILD_ROOT}"\ +# mkdir -p `dirname "$RPM_BUILD_ROOT"`\ +# mkdir "$RPM_BUILD_ROOT"\ +# %%{nil} +# +# But because of kernel variants, the %%build section, specifically +# BuildKernel(), moves each variant to its final destination as the +# variant is built. This violates the expectation of the %%install +# section. As a result we snapshot the current env variables and +# purposely leave out the removal section. All global wide changes +# should be added above this line otherwise the %%install section +# will not see them. +%global __spec_install_pre %{___build_pre} + +# Replace '-' with '_' where needed so that variants can use '-' in +# their name. +%define uname_suffix() %{lua: + local flavour = rpm.expand('%{?1:+%{1}}') + flavour = flavour:gsub('-', '_') + if flavour ~= '' then + print(flavour) + end +} + +# This returns the main kernel tied to a debug variant. For example, +# kernel-debug is the debug version of kernel, so we return an empty +# string. However, kernel-64k-debug is the debug version of kernel-64k, +# in this case we need to return "64k", and so on. This is used in +# macros below where we need this for some uname based requires. +%define uname_variant() %{lua: + local flavour = rpm.expand('%{?1:%{1}}') + _, _, main, sub = flavour:find("(%w+)-(.*)") + if main then + print("+" .. main) + end +} + + +# At the time of this writing (2019-03), RHEL8 packages use w2.xzdio +# compression for rpms (xz, level 2). +# Kernel has several large (hundreds of mbytes) rpms, they take ~5 mins +# to compress by single-threaded xz. Switch to threaded compression, +# and from level 2 to 3 to keep compressed sizes close to "w2" results. +# +# NB: if default compression in /usr/lib/rpm/redhat/macros ever changes, +# this one might need tweaking (e.g. if default changes to w3.xzdio, +# change below to w4T.xzdio): +# +# This is disabled on i686 as it triggers oom errors + +%ifnarch i686 +%define _binary_payload w3T.xzdio +%endif + +Summary: The Linux kernel +%if 0%{?fedora} +%define secure_boot_arch x86_64 +%else +%define secure_boot_arch x86_64 aarch64 s390x ppc64le +%endif + +# Signing for secure boot authentication +%ifarch %{secure_boot_arch} +%global signkernel 1 +%else +%global signkernel 0 +%endif + +# Sign modules on all arches +%global signmodules 1 + +# Compress modules only for architectures that build modules +%ifarch noarch +%global zipmodules 0 +%else +%global zipmodules 1 +%endif + +# Default compression algorithm +%global compression xz +%global compression_flags --compress +%global compext xz + +%if 0%{?fedora} +%define primary_target fedora +%else +%define primary_target rocky +%endif + +# +# genspec.sh variables +# + +# kernel package name +%global package_name %%SPECPACKAGE_NAME%% +%global gemini %%SPECGEMINI%% +# Include Fedora files +%global include_fedora %%SPECINCLUDE_FEDORA_FILES%% +# Include RHEL files +%global include_rhel %%SPECINCLUDE_RHEL_FILES%% +# Include RT files +%global include_rt %%SPECINCLUDE_RT_FILES%% +# Include Automotive files +%global include_automotive %%SPECINCLUDE_AUTOMOTIVE_FILES%% +# Include Rocky files +%global include_rocky %%SPECINCLUDE_ROCKY_FILES%% +# Provide Patchlist.changelog file +%global patchlist_changelog %%SPECPATCHLIST_CHANGELOG%% +# Set released_kernel to 1 when the upstream source tarball contains a +# kernel release. (This includes prepatch or "rc" releases.) +# Set released_kernel to 0 when the upstream source tarball contains an +# unreleased kernel development snapshot. +%global released_kernel %%SPECRELEASED_KERNEL%% +# Set debugbuildsenabled to 1 to build separate base and debug kernels +# (on supported architectures). The kernel-debug-* subpackages will +# contain the debug kernel. +# Set debugbuildsenabled to 0 to not build a separate debug kernel, but +# to build the base kernel using the debug configuration. (Specifying +# the --with-release option overrides this setting.) +%define debugbuildsenabled 1 +%%SPECBUILDID%% +%define specrpmversion %%SPECRPMVERSION%% +%define specversion %%SPECVERSION%% +%define patchversion %%SPECKVERSION%%.%%SPECKPATCHLEVEL%% +%define pkgrelease %%SPECBUILD%% +%define kversion %%SPECKVERSION%% +%define tarfile_release %%SPECTARFILE_RELEASE%% +# This is needed to do merge window version magic +%define patchlevel %%SPECKPATCHLEVEL%% +# This allows pkg_release to have configurable %%{?dist} tag +%define specrelease %%SPECRELEASE%% +# This defines the kabi tarball version +%define kabiversion %%SPECKABIVERSION%% + +# If this variable is set to 1, a bpf selftests build failure will cause a +# fatal kernel package build error +%define selftests_must_build %%SPECSELFTESTS_MUST_BUILD%% + +# +# End of genspec.sh variables +# + +%define pkg_release %{specrelease} + +# libexec dir is not used by the linker, so the shared object there +# should not be exported to RPM provides +%global __provides_exclude_from ^%{_libexecdir}/kselftests + +# The following build options are (mostly) enabled by default, but may become +# enabled/disabled by later architecture-specific checks. +# Where disabled by default, they can be enabled by using --with in the +# rpmbuild command, or by forcing these values to 1. +# Where enabled by default, they can be disabled by using --without in +# the rpmbuild command, or by forcing these values to 0. +# +# standard kernel +%define with_up %{?_without_up: 0} %{?!_without_up: 1} +# build the base variants +%define with_base %{?_without_base: 0} %{?!_without_base: 1} +# build also debug variants +%define with_debug %{?_without_debug: 0} %{?!_without_debug: 1} +# kernel-zfcpdump (s390 specific kernel for zfcpdump) +%define with_zfcpdump %{?_without_zfcpdump: 0} %{?!_without_zfcpdump: 1} +# kernel-16k (aarch64 kernel with 16K page_size) +%define with_arm64_16k %{?_with_arm64_16k: 1} %{?!_with_arm64_16k: 0} +# kernel-64k (aarch64 kernel with 64K page_size) +%define with_arm64_64k %{?_without_arm64_64k: 0} %{?!_without_arm64_64k: 1} +# kernel-rt (x86_64 and aarch64 only PREEMPT_RT enabled kernel) +%define with_realtime %{?_without_realtime: 0} %{?!_without_realtime: 1} +# kernel-automotive (x86_64 and aarch64 with PREEMPT_RT enabled - currently off by default) +%define with_automotive %{?_with_automotive: 1} %{?!_with_automotive: 0} + +# Supported variants +# with_base with_debug with_gcov +# up X X X +# zfcpdump X X +# arm64_16k X X X +# arm64_64k X X X +# realtime X X X +# automotive X X X + +# kernel-doc +%define with_doc %{?_without_doc: 0} %{?!_without_doc: 1} +# kernel-headers +%define with_headers %{?_without_headers: 0} %{?!_without_headers: 1} +%define with_cross_headers %{?_without_cross_headers: 0} %{?!_without_cross_headers: 1} +# perf +%define with_perf %{?_without_perf: 0} %{?!_without_perf: 1} +# libperf +%define with_libperf %{?_without_libperf: 0} %{?!_without_libperf: 1} +# tools +%define with_tools %{?_without_tools: 0} %{?!_without_tools: 1} +# kernel-debuginfo +%define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 1} +# kernel-abi-stablelists +%define with_kernel_abi_stablelists %{?_without_kernel_abi_stablelists: 0} %{?!_without_kernel_abi_stablelists: 1} +# internal samples and selftests +%define with_selftests %{?_without_selftests: 0} %{?!_without_selftests: 1} +# +# Additional options for user-friendly one-off kernel building: +# +# Only build the base kernel (--with baseonly): +%define with_baseonly %{?_with_baseonly: 1} %{?!_with_baseonly: 0} +# Only build the debug variants (--with dbgonly): +%define with_dbgonly %{?_with_dbgonly: 1} %{?!_with_dbgonly: 0} +# Only build the realtime kernel (--with rtonly): +%define with_rtonly %{?_with_rtonly: 1} %{?!_with_rtonly: 0} +# Only build the automotive kernel (--with automotiveonly):% +%define with_automotiveonly %{?_with_automotiveonly: 1} %{?!_with_automotiveonly: 0} +# Control whether we perform a compat. check against published ABI. +%define with_kabichk %{?_without_kabichk: 0} %{?!_without_kabichk: 1} +# Temporarily disable kabi checks until RC. +%define with_kabichk 0 +# Control whether we perform a compat. check against DUP ABI. +%define with_kabidupchk %{?_with_kabidupchk: 1} %{?!_with_kabidupchk: 0} +# +# Control whether to run an extensive DWARF based kABI check. +# Note that this option needs to have baseline setup in SOURCE300. +%define with_kabidwchk %{?_without_kabidwchk: 0} %{?!_without_kabidwchk: 1} +%define with_kabidw_base %{?_with_kabidw_base: 1} %{?!_with_kabidw_base: 0} +# +# Control whether to install the vdso directories. +%define with_vdso_install %{?_without_vdso_install: 0} %{?!_without_vdso_install: 1} +# +# should we do C=1 builds with sparse +%define with_sparse %{?_with_sparse: 1} %{?!_with_sparse: 0} +# +# Cross compile requested? +%define with_cross %{?_with_cross: 1} %{?!_with_cross: 0} +# +# build a release kernel on rawhide +%define with_release %{?_with_release: 1} %{?!_with_release: 0} + +# verbose build, i.e. no silent rules and V=1 +%define with_verbose %{?_with_verbose: 1} %{?!_with_verbose: 0} + +# +# check for mismatched config options +%define with_configchecks %{?_without_configchecks: 0} %{?!_without_configchecks: 1} + +# +# gcov support +%define with_gcov %{?_with_gcov:1}%{?!_with_gcov:0} + +# +# ipa_clone support +%define with_ipaclones %{?_without_ipaclones: 0} %{?!_without_ipaclones: 1} + +# Want to build a vanilla kernel build without any non-upstream patches? +%define with_vanilla %{?_with_vanilla: 1} %{?!_with_vanilla: 0} + +%ifarch x86_64 aarch64 riscv64 +%define with_efiuki %{?_without_efiuki: 0} %{?!_without_efiuki: 1} +%else +%define with_efiuki 0 +%endif +%define with_realtime 0 +%if 0%{?fedora} +# Kernel headers are being split out into a separate package +%define with_headers 0 +%define with_cross_headers 0 +# no ipa_clone for now +%define with_ipaclones 0 +# no stablelist +%define with_kernel_abi_stablelists 0 +%define with_arm64_64k 0 +%define with_realtime 0 +%define with_automotive 0 +%endif + +%if %{with_verbose} +%define make_opts V=1 +%else +%define make_opts -s +%endif + +%if %{with toolchain_clang} +%ifarch s390x ppc64le +%global llvm_ias 0 +%else +%global llvm_ias 1 +%endif +%global clang_make_opts HOSTCC=clang CC=clang LLVM_IAS=%{llvm_ias} +%if %{with clang_lto} +# LLVM=1 enables use of all LLVM tools. +%global clang_make_opts %{clang_make_opts} LLVM=1 +%endif +%global make_opts %{make_opts} %{clang_make_opts} +# clang does not support the -fdump-ipa-clones option +%global with_ipaclones 0 +%endif + +# turn off debug kernel and kabichk for gcov builds +%if %{with_gcov} +%define with_debug 0 +%define with_kabichk 0 +%define with_kabidupchk 0 +%define with_kabidwchk 0 +%define with_kabidw_base 0 +%define with_kernel_abi_stablelists 0 +%endif + +# turn off kABI DWARF-based check if we're generating the base dataset +%if %{with_kabidw_base} +%define with_kabidwchk 0 +%endif + +# kpatch_kcflags are extra compiler flags applied to base kernel +# -fdump-ipa-clones is enabled only for base kernels on selected arches +%if %{with_ipaclones} +%ifarch x86_64 ppc64le +%define kpatch_kcflags -fdump-ipa-clones +%else +%define with_ipaclones 0 +%endif +%endif + +%define make_target bzImage +%define image_install_path boot + +%define KVERREL %{specversion}-%{release}.%{_target_cpu} +%define KVERREL_RE %(echo %KVERREL | sed 's/+/[+]/g') +%define hdrarch %_target_cpu +%define asmarch %_target_cpu + +%if 0%{!?nopatches:1} +%define nopatches 0 +%endif + +%if %{with_vanilla} +%define nopatches 1 +%endif + +%if %{with_release} +%define debugbuildsenabled 1 +%endif + +%if !%{with_debuginfo} +%define _enable_debug_packages 0 +%endif +%define debuginfodir /usr/lib/debug +# Needed because we override almost everything involving build-ids +# and debuginfo generation. Currently we rely on the old alldebug setting. +%global _build_id_links alldebug + +# if requested, only build base kernel +%if %{with_baseonly} +%define with_debug 0 +%define with_realtime 0 +%define with_vdso_install 0 +%define with_perf 0 +%define with_libperf 0 +%define with_tools 0 +%define with_kernel_abi_stablelists 0 +%define with_selftests 0 +%define with_ipaclones 0 +%endif + +# if requested, only build debug kernel +%if %{with_dbgonly} +%define with_base 0 +%define with_vdso_install 0 +%define with_perf 0 +%define with_libperf 0 +%define with_tools 0 +%define with_kernel_abi_stablelists 0 +%define with_selftests 0 +%define with_ipaclones 0 +%endif + +# if requested, only build realtime kernel +%if %{with_rtonly} +%define with_realtime 1 +%define with_automotive 0 +%define with_up 0 +%define with_debug 0 +%define with_debuginfo 0 +%define with_vdso_install 0 +%define with_perf 0 +%define with_libperf 0 +%define with_tools 0 +%define with_kernel_abi_stablelists 0 +%define with_selftests 0 +%define with_ipaclones 0 +%define with_headers 0 +%define with_efiuki 0 +%define with_zfcpdump 0 +%define with_arm64_16k 0 +%define with_arm64_64k 0 +%endif + +# if requested, only build automotive kernel +%if %{with_automotiveonly} +%define with_automotive 1 +%define with_realtime 0 +%define with_up 0 +%define with_debug 0 +%define with_debuginfo 0 +%define with_vdso_install 0 +%define with_selftests 1 +%endif + +# RT and Automotive kernels are only built on x86_64 and aarch64 +%ifnarch x86_64 aarch64 +%define with_realtime 0 +%define with_automotive 0 +%endif + +%if %{with_automotive} +# overrides compression algorithms for automotive +%global compression zstd +%global compression_flags --rm +%global compext zst + +# automotive does not support the following variants +%define with_realtime 0 +%define with_arm64_16k 0 +%define with_arm64_64k 0 +%define with_efiuki 0 +%define with_doc 0 +%define with_headers 0 +%define with_cross_headers 0 +%define with_perf 0 +%define with_libperf 0 +%define with_tools 0 +%define with_kabichk 0 +%define with_kernel_abi_stablelists 0 +%define with_kabidw_base 0 +%define with_ipaclones 0 +%endif + + +%if %{zipmodules} +%global zipsed -e 's/\.ko$/\.ko.%compext/' +# for parallel xz processes, replace with 1 to go back to single process +%endif + +# turn off kABI DUP check and DWARF-based check if kABI check is disabled +%if !%{with_kabichk} +%define with_kabidupchk 0 +%define with_kabidwchk 0 +%endif + +%if %{with_vdso_install} +%define use_vdso 1 +%endif + +%ifnarch noarch +%define with_kernel_abi_stablelists 0 +%endif + +# Overrides for generic default options + +# only package docs noarch +%ifnarch noarch +%define with_doc 0 +%define doc_build_fail true +%endif + +%if 0%{?fedora} +# don't do debug builds on anything but aarch64 and x86_64 +%ifnarch aarch64 x86_64 +%define with_debug 0 +%endif +%endif + +%define all_configs %{name}-%{specrpmversion}-*.config + +# don't build noarch kernels or headers (duh) +%ifarch noarch +%define with_up 0 +%define with_realtime 0 +%define with_automotive 0 +%define with_headers 0 +%define with_cross_headers 0 +%define with_tools 0 +%define with_perf 0 +%define with_libperf 0 +%define with_selftests 0 +%define with_debug 0 +%endif + +# sparse blows up on ppc +%ifnarch ppc64le +%define with_sparse 0 +%endif + +# zfcpdump mechanism is s390 only +%ifnarch s390x +%define with_zfcpdump 0 +%endif + +# 16k and 64k variants only for aarch64 +%ifnarch aarch64 +%define with_arm64_16k 0 +%define with_arm64_64k 0 +%endif + +%if 0%{?fedora} +# This is not for Fedora +%define with_zfcpdump 0 +%endif + +# Per-arch tweaks + +%ifarch i686 +%define asmarch x86 +%define hdrarch i386 +%define kernel_image arch/x86/boot/bzImage +%endif + +%ifarch x86_64 +%define asmarch x86 +%define kernel_image arch/x86/boot/bzImage +%endif + +%ifarch ppc64le +%define asmarch powerpc +%define hdrarch powerpc +%define make_target vmlinux +%define kernel_image vmlinux +%define kernel_image_elf 1 +%define use_vdso 0 +%endif + +%ifarch s390x +%define asmarch s390 +%define hdrarch s390 +%define kernel_image arch/s390/boot/bzImage +%define vmlinux_decompressor arch/s390/boot/vmlinux +%endif + +%ifarch aarch64 +%define asmarch arm64 +%define hdrarch arm64 +%define make_target vmlinuz.efi +%define kernel_image arch/arm64/boot/vmlinuz.efi +%endif + +%ifarch riscv64 +%define asmarch riscv +%define hdrarch riscv +%define make_target vmlinuz.efi +%define kernel_image arch/riscv/boot/vmlinuz.efi +%endif + +# Should make listnewconfig fail if there's config options +# printed out? +%if %{nopatches} +%define with_configchecks 0 +%endif + +# To temporarily exclude an architecture from being built, add it to +# %%nobuildarches. Do _NOT_ use the ExclusiveArch: line, because if we +# don't build kernel-headers then the new build system will no longer let +# us use the previous build of that package -- it'll just be completely AWOL. +# Which is a BadThing(tm). + +# We only build kernel-headers on the following... +%if 0%{?fedora} +%define nobuildarches i386 +%else +%define nobuildarches i386 i686 +%endif + +%ifarch %nobuildarches +# disable BuildKernel commands +%define with_up 0 +%define with_debug 0 +%define with_zfcpdump 0 +%define with_arm64_16k 0 +%define with_arm64_64k 0 +%define with_realtime 0 +%define with_automotive 0 + +%define with_debuginfo 0 +%define with_perf 0 +%define with_libperf 0 +%define with_tools 0 +%define with_selftests 0 +%define _enable_debug_packages 0 +%endif + +# Architectures we build tools/cpupower on +%if 0%{?fedora} +%define cpupowerarchs %{ix86} x86_64 ppc64le aarch64 +%else +%define cpupowerarchs i686 x86_64 ppc64le aarch64 +%endif + +# Architectures we build kernel livepatching selftests on +%define klptestarches x86_64 ppc64le s390x + +%if 0%{?use_vdso} +%define _use_vdso 1 +%else +%define _use_vdso 0 +%endif + +# If build of debug packages is disabled, we need to know if we want to create +# meta debug packages or not, after we define with_debug for all specific cases +# above. So this must be at the end here, after all cases of with_debug or not. +%define with_debug_meta 0 +%if !%{debugbuildsenabled} +%if %{with_debug} +%define with_debug_meta 1 +%endif +%define with_debug 0 +%endif + +# short-hand for "are we building base/non-debug variants of ...?" +%if %{with_up} && %{with_base} +%define with_up_base 1 +%else +%define with_up_base 0 +%endif +%if %{with_realtime} && %{with_base} +%define with_realtime_base 1 +%else +%define with_realtime_base 0 +%endif +%if %{with_automotive} && %{with_base} +%define with_automotive_base 1 +%else +%define with_automotive_base 0 +%endif +%if %{with_arm64_16k} && %{with_base} +%define with_arm64_16k_base 1 +%else +%define with_arm64_16k_base 0 +%endif +%if %{with_arm64_64k} && %{with_base} +%define with_arm64_64k_base 1 +%else +%define with_arm64_64k_base 0 +%endif + +# +# Packages that need to be installed before the kernel is, because the %%post +# scripts use them. +# +%define kernel_prereq coreutils, systemd >= 203-2, /usr/bin/kernel-install +%define initrd_prereq dracut >= 027 + + +Name: %{package_name} +License: ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-2-Clause) AND ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-3-Clause) AND ((GPL-2.0-only WITH Linux-syscall-note) OR CDDL-1.0) AND ((GPL-2.0-only WITH Linux-syscall-note) OR Linux-OpenIB) AND ((GPL-2.0-only WITH Linux-syscall-note) OR MIT) AND ((GPL-2.0-or-later WITH Linux-syscall-note) OR BSD-3-Clause) AND ((GPL-2.0-or-later WITH Linux-syscall-note) OR MIT) AND 0BSD AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0) AND BSD-3-Clause AND BSD-3-Clause-Clear AND CC0-1.0 AND GFDL-1.1-no-invariants-or-later AND GPL-1.0-or-later AND (GPL-1.0-or-later OR BSD-3-Clause) AND (GPL-1.0-or-later WITH Linux-syscall-note) AND GPL-2.0-only AND (GPL-2.0-only OR Apache-2.0) AND (GPL-2.0-only OR BSD-2-Clause) AND (GPL-2.0-only OR BSD-3-Clause) AND (GPL-2.0-only OR CDDL-1.0) AND (GPL-2.0-only OR GFDL-1.1-no-invariants-or-later) AND (GPL-2.0-only OR GFDL-1.2-no-invariants-only) AND (GPL-2.0-only WITH Linux-syscall-note) AND GPL-2.0-or-later AND (GPL-2.0-or-later OR BSD-2-Clause) AND (GPL-2.0-or-later OR BSD-3-Clause) AND (GPL-2.0-or-later OR CC-BY-4.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH Linux-syscall-note) AND ISC AND LGPL-2.0-or-later AND (LGPL-2.0-or-later OR BSD-2-Clause) AND (LGPL-2.0-or-later WITH Linux-syscall-note) AND LGPL-2.1-only AND (LGPL-2.1-only OR BSD-2-Clause) AND (LGPL-2.1-only WITH Linux-syscall-note) AND LGPL-2.1-or-later AND (LGPL-2.1-or-later WITH Linux-syscall-note) AND (Linux-OpenIB OR GPL-2.0-only) AND (Linux-OpenIB OR GPL-2.0-only OR BSD-2-Clause) AND Linux-man-pages-copyleft AND MIT AND (MIT OR Apache-2.0) AND (MIT OR GPL-2.0-only) AND (MIT OR GPL-2.0-or-later) AND (MIT OR LGPL-2.1-only) AND (MPL-1.1 OR GPL-2.0-only) AND (X11 OR GPL-2.0-only) AND (X11 OR GPL-2.0-or-later) AND Zlib AND (copyleft-next-0.3.1 OR GPL-2.0-or-later) +URL: https://www.kernel.org/ +Version: %{specrpmversion} +Release: %{pkg_release} +# DO NOT CHANGE THE 'ExclusiveArch' LINE TO TEMPORARILY EXCLUDE AN ARCHITECTURE BUILD. +# SET %%nobuildarches (ABOVE) INSTEAD +%if 0%{?fedora} +ExclusiveArch: noarch x86_64 s390x aarch64 ppc64le riscv64 +%else +ExclusiveArch: noarch i386 i686 x86_64 s390x aarch64 ppc64le +%endif +ExclusiveOS: Linux +%ifnarch %{nobuildarches} +Requires: kernel-core-uname-r = %{KVERREL} +Requires: kernel-modules-uname-r = %{KVERREL} +Requires: kernel-modules-core-uname-r = %{KVERREL} +Provides: installonlypkg(kernel) +%endif + + +# +# List the packages used during the kernel build +# +BuildRequires: kmod, bash, coreutils, tar, git-core, which +BuildRequires: bzip2, xz, findutils, m4, perl-interpreter, perl-Carp, perl-devel, perl-generators, make, diffutils, gawk, %compression +BuildRequires: gcc, binutils, redhat-rpm-config, hmaccalc, bison, flex, gcc-c++ +%if 0%{?fedora} +BuildRequires: rust, rust-src, bindgen +%endif +BuildRequires: net-tools, hostname, bc, elfutils-devel +BuildRequires: dwarves +BuildRequires: python3 +BuildRequires: python3-devel +BuildRequires: python3-pyyaml +BuildRequires: kernel-rpm-macros +# glibc-static is required for a consistent build environment (specifically +# CONFIG_CC_CAN_LINK_STATIC=y). +BuildRequires: glibc-static +%if %{with_headers} || %{with_cross_headers} +BuildRequires: rsync +%endif +%if %{with_doc} +BuildRequires: xmlto, asciidoc, python3-sphinx, python3-sphinx_rtd_theme +%endif +%if %{with_sparse} +BuildRequires: sparse +%endif +%if %{with_perf} +BuildRequires: zlib-devel binutils-devel newt-devel perl(ExtUtils::Embed) bison flex xz-devel +BuildRequires: audit-libs-devel python3-setuptools +BuildRequires: java-devel +BuildRequires: libbpf-devel >= 0.6.0-1 +BuildRequires: libbabeltrace-devel +BuildRequires: libtraceevent-devel +%ifnarch s390x +BuildRequires: numactl-devel +%endif +%ifarch aarch64 +BuildRequires: opencsd-devel >= 1.0.0 +%endif +%endif +%if %{with_tools} +BuildRequires: python3-docutils +BuildRequires: gettext ncurses-devel +BuildRequires: libcap-devel libcap-ng-devel +# The following are rtla requirements +BuildRequires: python3-docutils +BuildRequires: libtraceevent-devel +BuildRequires: libtracefs-devel + +%ifnarch s390x +BuildRequires: pciutils-devel +%endif +%ifarch i686 x86_64 +BuildRequires: libnl3-devel +%endif +%endif +%if %{with_tools} || %{signmodules} || %{signkernel} +BuildRequires: openssl-devel +%endif +%if %{with_selftests} +BuildRequires: clang llvm-devel fuse-devel zlib-devel binutils-devel +%ifarch x86_64 riscv64 +BuildRequires: lld +%endif +BuildRequires: libcap-devel libcap-ng-devel rsync libmnl-devel +BuildRequires: numactl-devel +%endif +BuildConflicts: rhbuildsys(DiskFree) < 500Mb +%if %{with_debuginfo} +BuildRequires: rpm-build, elfutils +BuildConflicts: rpm < 4.13.0.1-19 +BuildConflicts: dwarves < 1.13 +# Most of these should be enabled after more investigation +%undefine _include_minidebuginfo +%undefine _find_debuginfo_dwz_opts +%undefine _unique_build_ids +%undefine _unique_debug_names +%undefine _unique_debug_srcs +%undefine _debugsource_packages +%undefine _debuginfo_subpackages + +# Remove -q option below to provide 'extracting debug info' messages +%global _find_debuginfo_opts -r -q + +%global _missing_build_ids_terminate_build 1 +%global _no_recompute_build_ids 1 +%endif +%if %{with_kabidwchk} || %{with_kabidw_base} +BuildRequires: kabi-dw +%endif + +%if %{signkernel}%{signmodules} +BuildRequires: openssl +%if %{signkernel} +# ELN uses Fedora signing process, so exclude +%if 0%{?rhel}%{?centos} && !0%{?eln} +BuildRequires: system-sb-certs +%endif +%ifarch x86_64 aarch64 riscv64 +BuildRequires: nss-tools +BuildRequires: pesign >= 0.10-4 +%endif +%endif +%endif + +%if %{with_cross} +BuildRequires: binutils-%{_build_arch}-linux-gnu, gcc-%{_build_arch}-linux-gnu +%define cross_opts CROSS_COMPILE=%{_build_arch}-linux-gnu- +%define __strip %{_build_arch}-linux-gnu-strip +%endif + +# These below are required to build man pages +%if %{with_perf} +BuildRequires: xmlto +%endif +%if %{with_perf} || %{with_tools} +BuildRequires: asciidoc +%endif + +%if %{with toolchain_clang} +BuildRequires: clang +%endif + +%if %{with clang_lto} +BuildRequires: llvm +BuildRequires: lld +%endif + +%if %{with_efiuki} +BuildRequires: dracut +# For dracut UEFI uki binaries +BuildRequires: binutils +# For the initrd +BuildRequires: lvm2 +BuildRequires: systemd-boot-unsigned +# For systemd-stub and systemd-pcrphase +BuildRequires: systemd-udev >= 252-1 +# For UKI kernel cmdline addons +BuildRequires: systemd-ukify +# For TPM operations in UKI initramfs +BuildRequires: tpm2-tools +# For UKI sb cert +%if 0%{?rhel}%{?centos} && !0%{?eln} +%if 0%{?centos} +BuildRequires: centos-sb-certs >= 9.0-23 +%else +BuildRequires: redhat-sb-certs >= 9.4-0.1 +%endif +%endif +%endif + +# Because this is the kernel, it's hard to get a single upstream URL +# to represent the base without needing to do a bunch of patching. This +# tarball is generated from a src-git tree. If you want to see the +# exact git commit you can run +# +# xzcat -qq ${TARBALL} | git get-tar-commit-id +Source0: linux-%{tarfile_release}.tar.xz + +Source1: Makefile.rhelver +Source2: kernel.changelog + +Source10: redhatsecurebootca5.cer +Source13: redhatsecureboot501.cer + +Source8000: ciq_sbsign.macros +Source8001: ciq_sb_ca.der +Source8002: ciq_sb_kernel.crt +Source8003: ciq_sb_kernel_driver.der +Source8004: ciq_sb_kernel_kpatch.der +Source8005: ciq_sb_kernel_aarch64.crt +Source8006: ciq_sb_kernel_driver_aarch64.der +Source8007: ciq_sb_kernel_kpatch_aarch64.der +Source8008: ciq_sb_uki.crt +Source8009: ciq_sb_uki_aarch64.crt + +%if %{signkernel} +# Name of the packaged file containing signing key +%ifarch ppc64le +%define signing_key_filename kernel-signing-ppc.cer +%endif +%ifarch s390x +%define signing_key_filename kernel-signing-s390.cer +%endif + +# pesign macro expects to see these cert file names, see: +# https://github.com/rhboot/pesign/blob/main/src/pesign-rpmbuild-helper.in#L216 +%if 0%{?fedora}%{?eln} +%define pesign_name_0 redhatsecureboot501 +%define secureboot_ca_0 %{SOURCE10} +%define secureboot_key_0 %{SOURCE13} +%endif + +# RHEL/centos certs come from system-sb-certs +%if 0%{?rhel} && !0%{?eln} +%define secureboot_ca_0 %{_datadir}/pki/sb-certs/secureboot-ca-%{_arch}.cer +%define secureboot_key_0 %{_datadir}/pki/sb-certs/secureboot-kernel-%{_arch}.cer + +%if 0%{?centos} +%define pesign_name_0 centossecureboot201 +%else +%ifarch x86_64 aarch64 +%define pesign_name_0 redhatsecureboot501 +%endif +%ifarch s390x +%define pesign_name_0 redhatsecureboot302 +%endif +%ifarch ppc64le +%define pesign_name_0 redhatsecureboot701 +%endif +%endif + +# CIQ Kernel +%if 0%{?pe_signing_certkeyslot:1} +# CIQ Kernel secure boot macros +%include %{SOURCE8000} + +# CIQ Kernel will override above with CIQ certs +%define secureboot_ca_0 %{SOURCE8001} +%ifarch x86_64 +%define pesign_name_0 ciq_sb_kernel +%define secureboot_key_0 %{SOURCE8002} +%define driver_cert %{SOURCE8003} +%define kpatch_cert %{SOURCE8004} +%endif +%ifarch aarch64 +%define pesign_name_0 ciq_sb_kernel_aarch64 +%define secureboot_key_0 %{SOURCE8005} +%define driver_cert %{SOURCE8006} +%define kpatch_cert %{SOURCE8007} +%endif + +# 0%{?pe_signing_certkeyslot:1} +%endif + +# rhel && !eln +%endif + +# signkernel +%endif + +Source20: mod-denylist.sh +Source21: mod-sign.sh +Source22: filtermods.py + +%define modsign_cmd %{SOURCE21} + +%if 0%{?include_rhel} +Source23: x509.genkey.rhel + +Source24: %{name}-aarch64-rhel.config +Source25: %{name}-aarch64-debug-rhel.config + +Source27: %{name}-ppc64le-rhel.config +Source28: %{name}-ppc64le-debug-rhel.config +Source29: %{name}-s390x-rhel.config +Source30: %{name}-s390x-debug-rhel.config +Source31: %{name}-s390x-zfcpdump-rhel.config +Source32: %{name}-x86_64-rhel.config +Source33: %{name}-x86_64-debug-rhel.config + +Source34: def_variants.yaml.rhel + +Source41: x509.genkey.centos +# ARM64 64K page-size kernel config +Source42: %{name}-aarch64-64k-rhel.config +Source43: %{name}-aarch64-64k-debug-rhel.config + +%endif + +%if 0%{?include_rocky} +Source1000: kernel-aarch64-64k.config +Source1001: kernel-aarch64-64k-debug.config +Source1002: kernel-aarch64.config +Source1003: kernel-aarch64-debug.config +Source1004: kernel-x86_64.config +Source1005: kernel-x86_64-debug.config +Source1006: partial-snip.config +Source1007: def_variants.yaml.rocky +%endif + +%if 0%{?include_fedora} +Source50: x509.genkey.fedora + +Source52: %{name}-aarch64-fedora.config +Source53: %{name}-aarch64-debug-fedora.config +Source54: %{name}-aarch64-16k-fedora.config +Source55: %{name}-aarch64-16k-debug-fedora.config +Source56: %{name}-ppc64le-fedora.config +Source57: %{name}-ppc64le-debug-fedora.config +Source58: %{name}-s390x-fedora.config +Source59: %{name}-s390x-debug-fedora.config +Source60: %{name}-x86_64-fedora.config +Source61: %{name}-x86_64-debug-fedora.config +Source700: %{name}-riscv64-fedora.config +Source701: %{name}-riscv64-debug-fedora.config + +Source62: def_variants.yaml.fedora +%endif + +Source80: generate_all_configs.sh +Source81: process_configs.sh + +Source86: dracut-virt.conf + +Source87: flavors + +Source151: uki_create_addons.py +Source152: uki_addons.json + +Source100: rheldup3.x509 +Source101: rhelkpatch1.x509 +Source102: nvidiagpuoot001.x509 +Source103: rhelimaca1.x509 +Source104: rhelima.x509 +Source105: rhelima_centos.x509 +Source106: fedoraimaca.x509 + +%if 0%{?fedora}%{?eln} +%define ima_ca_cert %{SOURCE106} +%endif + +%if 0%{?rhel} && !0%{?eln} +%define ima_ca_cert %{SOURCE103} +# rhel && !eln +%endif + +%if 0%{?centos} +%define ima_signing_cert %{SOURCE105} +%else +%define ima_signing_cert %{SOURCE104} +%endif + +%define ima_cert_name ima.cer + +Source200: check-kabi + +Source201: Module.kabi_aarch64 +Source202: Module.kabi_ppc64le +Source203: Module.kabi_s390x +Source204: Module.kabi_x86_64 +Source205: Module.kabi_riscv64 + +Source210: Module.kabi_dup_aarch64 +Source211: Module.kabi_dup_ppc64le +Source212: Module.kabi_dup_s390x +Source213: Module.kabi_dup_x86_64 +Source214: Module.kabi_dup_riscv64 + +Source300: kernel-abi-stablelists-%{kabiversion}.tar.xz +Source301: kernel-kabi-dw-%{kabiversion}.tar.xz + +%if 0%{include_rt} +%if 0%{include_rhel} +Source474: %{name}-aarch64-rt-rhel.config +Source475: %{name}-aarch64-rt-debug-rhel.config +Source476: %{name}-x86_64-rt-rhel.config +Source477: %{name}-x86_64-rt-debug-rhel.config +%endif +%if 0%{include_fedora} +Source478: %{name}-aarch64-rt-fedora.config +Source479: %{name}-aarch64-rt-debug-fedora.config +Source480: %{name}-x86_64-rt-fedora.config +Source481: %{name}-x86_64-rt-debug-fedora.config +Source482: %{name}-riscv64-rt-fedora.config +Source483: %{name}-riscv64-rt-debug-fedora.config +%endif +%endif + +%if %{include_automotive} +# automotive config files +Source484: %{name}-aarch64-automotive-rhel.config +Source485: %{name}-aarch64-automotive-debug-rhel.config +Source486: %{name}-x86_64-automotive-rhel.config +Source487: %{name}-x86_64-automotive-debug-rhel.config +%endif + + +# Sources for kernel-tools +Source2002: kvm_stat.logrotate + +# Some people enjoy building customized kernels from the dist-git in Fedora and +# use this to override configuration options. One day they may all use the +# source tree, but in the mean time we carry this to support the legacy workflow +Source3000: merge.py +Source3001: kernel-local +%if %{patchlist_changelog} +Source3002: Patchlist.changelog +%endif + +Source4000: README.rst +Source4001: rpminspect.yaml +Source4002: gating.yaml + +## Patches needed for building this package + +%if !%{nopatches} + +Patch1: patch-%{patchversion}-redhat.patch +%endif + +# empty final patch to facilitate testing of kernel patches +Patch999999: linux-kernel-test.patch + +# END OF PATCH DEFINITIONS + +%description +The kernel meta package + +# +# This macro does requires, provides, conflicts, obsoletes for a kernel package. +# %%kernel_reqprovconf [-o] +# It uses any kernel__conflicts and kernel__obsoletes +# macros defined above. +# +%define kernel_reqprovconf(o) \ +%if %{-o:0}%{!-o:1}\ +Provides: kernel = %{specversion}-%{pkg_release}\ +%endif\ +Provides: kernel-%{_target_cpu} = %{specrpmversion}-%{pkg_release}%{uname_suffix %{?1:+%{1}}}\ +Provides: kernel-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires(pre): %{kernel_prereq}\ +Requires(pre): %{initrd_prereq}\ +Requires(pre): ((linux-firmware >= 20150904-56.git6ebf5d57) if linux-firmware)\ +Recommends: linux-firmware\ +Requires(preun): systemd >= 200\ +%if 0%{?pe_signing_certkeyslot:1}\ +Requires: ciq-shim >= 15.8\ +%endif\ +Conflicts: xfsprogs < 4.3.0-1\ +Conflicts: xorg-x11-drv-vmmouse < 13.0.99\ +%{expand:%%{?kernel%{?1:_%{1}}_conflicts:Conflicts: %%{kernel%{?1:_%{1}}_conflicts}}}\ +%{expand:%%{?kernel%{?1:_%{1}}_obsoletes:Obsoletes: %%{kernel%{?1:_%{1}}_obsoletes}}}\ +%{expand:%%{?kernel%{?1:_%{1}}_provides:Provides: %%{kernel%{?1:_%{1}}_provides}}}\ +# We can't let RPM do the dependencies automatic because it'll then pick up\ +# a correct but undesirable perl dependency from the module headers which\ +# isn't required for the kernel proper to function\ +AutoReq: no\ +AutoProv: yes\ +%{nil} + + +%package doc +Summary: Various documentation bits found in the kernel source +Group: Documentation +%description doc +This package contains documentation files from the kernel +source. Various bits of information about the Linux kernel and the +device drivers shipped with it are documented in these files. + +You'll want to install this package if you need a reference to the +options that can be passed to Linux kernel modules at load time. + + +%package headers +Summary: Header files for the Linux kernel for use by glibc +Obsoletes: glibc-kernheaders < 3.0-46 +Provides: glibc-kernheaders = 3.0-46 +%if 0%{?gemini} +Provides: kernel-headers = %{specversion}-%{release} +Obsoletes: kernel-headers < %{specversion} +%endif +%description headers +Kernel-headers includes the C header files that specify the interface +between the Linux kernel and userspace libraries and programs. The +header files define structures and constants that are needed for +building most standard programs and are also needed for rebuilding the +glibc package. + +%package cross-headers +Summary: Header files for the Linux kernel for use by cross-glibc +%if 0%{?gemini} +Provides: kernel-cross-headers = %{specversion}-%{release} +Obsoletes: kernel-cross-headers < %{specversion} +%endif +%description cross-headers +Kernel-cross-headers includes the C header files that specify the interface +between the Linux kernel and userspace libraries and programs. The +header files define structures and constants that are needed for +building most standard programs and are also needed for rebuilding the +cross-glibc package. + +%package debuginfo-common-%{_target_cpu} +Summary: Kernel source files used by %{name}-debuginfo packages +Provides: installonlypkg(kernel) +%description debuginfo-common-%{_target_cpu} +This package is required by %{name}-debuginfo subpackages. +It provides the kernel source files common to all builds. + +%if %{with_perf} +%package -n perf +%if 0%{gemini} +Epoch: %{gemini} +%endif +Summary: Performance monitoring for the Linux kernel +Requires: bzip2 +%description -n perf +This package contains the perf tool, which enables performance monitoring +of the Linux kernel. + +%package -n perf-debuginfo +%if 0%{gemini} +Epoch: %{gemini} +%endif +Summary: Debug information for package perf +Requires: %{name}-debuginfo-common-%{_target_cpu} = %{specrpmversion}-%{release} +AutoReqProv: no +%description -n perf-debuginfo +This package provides debug information for the perf package. + +# Note that this pattern only works right to match the .build-id +# symlinks because of the trailing nonmatching alternation and +# the leading .*, because of find-debuginfo.sh's buggy handling +# of matching the pattern against the symlinks file. +%{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} + +%package -n python3-perf +%if 0%{gemini} +Epoch: %{gemini} +%endif +Summary: Python bindings for apps which will manipulate perf events +%description -n python3-perf +The python3-perf package contains a module that permits applications +written in the Python programming language to use the interface +to manipulate perf events. + +%package -n python3-perf-debuginfo +%if 0%{gemini} +Epoch: %{gemini} +%endif +Summary: Debug information for package perf python bindings +Requires: %{name}-debuginfo-common-%{_target_cpu} = %{specrpmversion}-%{release} +AutoReqProv: no +%description -n python3-perf-debuginfo +This package provides debug information for the perf python bindings. + +# the python_sitearch macro should already be defined from above +%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{python3_sitearch}/perf.*so(\.debug)?|XXX' -o python3-perf-debuginfo.list} + +# with_perf +%endif + +%if %{with_libperf} +%package -n libperf +Summary: The perf library from kernel source +%description -n libperf +This package contains the kernel source perf library. + +%package -n libperf-devel +Summary: Developement files for the perf library from kernel source +Requires: libperf = %{version}-%{release} +%description -n libperf-devel +This package includes libraries and header files needed for development +of applications which use perf library from kernel source. + +%package -n libperf-debuginfo +Summary: Debug information for package libperf +Group: Development/Debug +Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release} +AutoReqProv: no +%description -n libperf-debuginfo +This package provides debug information for the libperf package. + +# Note that this pattern only works right to match the .build-id +# symlinks because of the trailing nonmatching alternation and +# the leading .*, because of find-debuginfo.sh's buggy handling +# of matching the pattern against the symlinks file. +%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{_libdir}/libperf.so.*(\.debug)?|XXX' -o libperf-debuginfo.list} +# with_libperf +%endif + +%if %{with_tools} +%package -n %{package_name}-tools +Summary: Assortment of tools for the Linux kernel +%ifarch %{cpupowerarchs} +Provides: cpupowerutils = 1:009-0.6.p1 +Obsoletes: cpupowerutils < 1:009-0.6.p1 +Provides: cpufreq-utils = 1:009-0.6.p1 +Provides: cpufrequtils = 1:009-0.6.p1 +Obsoletes: cpufreq-utils < 1:009-0.6.p1 +Obsoletes: cpufrequtils < 1:009-0.6.p1 +Obsoletes: cpuspeed < 1:1.5-16 +Requires: %{package_name}-tools-libs = %{specrpmversion}-%{release} +%endif +%define __requires_exclude ^%{_bindir}/python +%description -n %{package_name}-tools +This package contains the tools/ directory from the kernel source +and the supporting documentation. + +%package -n %{package_name}-tools-libs +Summary: Libraries for the kernels-tools +%description -n %{package_name}-tools-libs +This package contains the libraries built from the tools/ directory +from the kernel source. + +%package -n %{package_name}-tools-libs-devel +Summary: Assortment of tools for the Linux kernel +Requires: %{package_name}-tools = %{version}-%{release} +%ifarch %{cpupowerarchs} +Provides: cpupowerutils-devel = 1:009-0.6.p1 +Obsoletes: cpupowerutils-devel < 1:009-0.6.p1 +%endif +Requires: %{package_name}-tools-libs = %{version}-%{release} +Provides: %{package_name}-tools-devel +%description -n %{package_name}-tools-libs-devel +This package contains the development files for the tools/ directory from +the kernel source. + +%package -n %{package_name}-tools-debuginfo +Summary: Debug information for package %{package_name}-tools +Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release} +AutoReqProv: no +%description -n %{package_name}-tools-debuginfo +This package provides debug information for package %{package_name}-tools. + +# Note that this pattern only works right to match the .build-id +# symlinks because of the trailing nonmatching alternation and +# the leading .*, because of find-debuginfo.sh's buggy handling +# of matching the pattern against the symlinks file. +%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{_bindir}/bootconfig(\.debug)?|.*%%{_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)?|.*%%{_sbindir}/intel_sdsi(\.debug)?|XXX' -o %{package_name}-tools-debuginfo.list} + +%package -n rtla +%if 0%{gemini} +Epoch: %{gemini} +%endif +Summary: Real-Time Linux Analysis tools +Requires: libtraceevent +Requires: libtracefs +%description -n rtla +The rtla meta-tool includes a set of commands that aims to analyze +the real-time properties of Linux. Instead of testing Linux as a black box, +rtla leverages kernel tracing capabilities to provide precise information +about the properties and root causes of unexpected results. + +%package -n rv +Summary: RV: Runtime Verification +%description -n rv +Runtime Verification (RV) is a lightweight (yet rigorous) method that +complements classical exhaustive verification techniques (such as model +checking and theorem proving) with a more practical approach for +complex systems. +The rv tool is the interface for a collection of monitors that aim +analysing the logical and timing behavior of Linux. + +# with_tools +%endif + +%if %{with_selftests} + +%package selftests-internal +Summary: Kernel samples and selftests +Requires: binutils, bpftool, iproute-tc, nmap-ncat, python3, fuse-libs, keyutils +%description selftests-internal +Kernel sample programs and selftests. + +# Note that this pattern only works right to match the .build-id +# symlinks because of the trailing nonmatching alternation and +# the leading .*, because of find-debuginfo.sh's buggy handling +# of matching the pattern against the symlinks file. +%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{_libexecdir}/(ksamples|kselftests)/.*|XXX' -o selftests-debuginfo.list} + +%define __requires_exclude ^liburandom_read.so.*$ + +# with_selftests +%endif + +%define kernel_gcov_package() \ +%package %{?1:%{1}-}gcov\ +Summary: gcov graph and source files for coverage data collection.\ +%description %{?1:%{1}-}gcov\ +%{?1:%{1}-}gcov includes the gcov graph and source files for gcov coverage collection.\ +%{nil} + +%package -n %{package_name}-abi-stablelists +Summary: The Red Hat Enterprise Linux kernel ABI symbol stablelists +AutoReqProv: no +%description -n %{package_name}-abi-stablelists +The kABI package contains information pertaining to the Red Hat Enterprise +Linux kernel ABI, including lists of kernel symbols that are needed by +external Linux kernel modules, and a yum plugin to aid enforcement. + +%if %{with_kabidw_base} +%package kernel-kabidw-base-internal +Summary: The baseline dataset for kABI verification using DWARF data +Group: System Environment/Kernel +AutoReqProv: no +%description kernel-kabidw-base-internal +The package contains data describing the current ABI of the Red Hat Enterprise +Linux kernel, suitable for the kabi-dw tool. +%endif + +# +# This macro creates a kernel--debuginfo package. +# %%kernel_debuginfo_package +# +# Explanation of the find_debuginfo_opts: We build multiple kernels (debug, +# rt, 64k etc.) so the regex filters those kernels appropriately. We also +# have to package several binaries as part of kernel-devel but getting +# unique build-ids is tricky for these userspace binaries. We don't really +# care about debugging those so we just filter those out and remove it. +%define kernel_debuginfo_package() \ +%package %{?1:%{1}-}debuginfo\ +Summary: Debug information for package %{name}%{?1:-%{1}}\ +Requires: %{name}-debuginfo-common-%{_target_cpu} = %{specrpmversion}-%{release}\ +Provides: %{name}%{?1:-%{1}}-debuginfo-%{_target_cpu} = %{specrpmversion}-%{release}\ +Provides: installonlypkg(kernel)\ +AutoReqProv: no\ +%description %{?1:%{1}-}debuginfo\ +This package provides debug information for package %{name}%{?1:-%{1}}.\ +This is required to use SystemTap with %{name}%{?1:-%{1}}-%{KVERREL}.\ +%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} --keep-section '.BTF' -p '.*\/usr\/src\/kernels/.*|XXX' -o ignored-debuginfo.list -p '/.*/%%{KVERREL_RE}%{?1:[+]%{1}}/.*|/.*%%{KVERREL_RE}%{?1:\+%{1}}(\.debug)?' -o debuginfo%{?1}.list}\ +%{nil} + +# +# This macro creates a kernel--devel package. +# %%kernel_devel_package [-m] +# +%define kernel_devel_package(m) \ +%package %{?1:%{1}-}devel\ +Summary: Development package for building kernel modules to match the %{?2:%{2} }kernel\ +Provides: kernel%{?1:-%{1}}-devel-%{_target_cpu} = %{specrpmversion}-%{release}\ +Provides: kernel-devel-%{_target_cpu} = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: kernel-devel-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Provides: installonlypkg(kernel)\ +AutoReqProv: no\ +Requires(pre): findutils\ +Requires: findutils\ +Requires: perl-interpreter\ +Requires: openssl-devel\ +Requires: elfutils-libelf-devel\ +Requires: bison\ +Requires: flex\ +Requires: make\ +Requires: gcc\ +%if %{-m:1}%{!-m:0}\ +Requires: kernel-devel-uname-r = %{KVERREL}%{uname_variant %{?1:%{1}}}\ +%endif\ +%description %{?1:%{1}-}devel\ +This package provides kernel headers and makefiles sufficient to build modules\ +against the %{?2:%{2} }kernel package.\ +%{nil} + +# +# This macro creates an empty kernel--devel-matched package that +# requires both the core and devel packages locked on the same version. +# %%kernel_devel_matched_package [-m] +# +%define kernel_devel_matched_package(m) \ +%package %{?1:%{1}-}devel-matched\ +Summary: Meta package to install matching core and devel packages for a given %{?2:%{2} }kernel\ +Requires: %{package_name}%{?1:-%{1}}-devel = %{specrpmversion}-%{release}\ +Requires: %{package_name}%{?1:-%{1}}-core = %{specrpmversion}-%{release}\ +%description %{?1:%{1}-}devel-matched\ +This meta package is used to install matching core and devel packages for a given %{?2:%{2} }kernel.\ +%{nil} + +# +# kernel--ipaclones-internal package +# +%define kernel_ipaclones_package() \ +%package %{?1:%{1}-}ipaclones-internal\ +Summary: *.ipa-clones files generated by -fdump-ipa-clones for kernel%{?1:-%{1}}\ +Group: System Environment/Kernel\ +AutoReqProv: no\ +%description %{?1:%{1}-}ipaclones-internal\ +This package provides *.ipa-clones files.\ +%{nil} + +# +# This macro creates a kernel--modules-internal package. +# %%kernel_modules_internal_package +# +%define kernel_modules_internal_package() \ +%package %{?1:%{1}-}modules-internal\ +Summary: Extra kernel modules to match the %{?2:%{2} }kernel\ +Group: System Environment/Kernel\ +Provides: kernel%{?1:-%{1}}-modules-internal-%{_target_cpu} = %{specrpmversion}-%{release}\ +Provides: kernel%{?1:-%{1}}-modules-internal-%{_target_cpu} = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: kernel%{?1:-%{1}}-modules-internal = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: installonlypkg(kernel-module)\ +Provides: kernel%{?1:-%{1}}-modules-internal-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +AutoReq: no\ +AutoProv: yes\ +%description %{?1:%{1}-}modules-internal\ +This package provides kernel modules for the %{?2:%{2} }kernel package for Red Hat internal usage.\ +%{nil} + +# +# This macro creates a kernel--modules-extra package. +# %%kernel_modules_extra_package [-m] +# +%define kernel_modules_extra_package(m) \ +%package %{?1:%{1}-}modules-extra\ +Summary: Extra kernel modules to match the %{?2:%{2} }kernel\ +Provides: kernel%{?1:-%{1}}-modules-extra-%{_target_cpu} = %{specrpmversion}-%{release}\ +Provides: kernel%{?1:-%{1}}-modules-extra-%{_target_cpu} = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: kernel%{?1:-%{1}}-modules-extra = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: installonlypkg(kernel-module)\ +Provides: kernel%{?1:-%{1}}-modules-extra-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +%if %{-m:1}%{!-m:0}\ +Requires: kernel-modules-extra-uname-r = %{KVERREL}%{uname_variant %{?1:+%{1}}}\ +%endif\ +AutoReq: no\ +AutoProv: yes\ +%description %{?1:%{1}-}modules-extra\ +This package provides less commonly used kernel modules for the %{?2:%{2} }kernel package.\ +%{nil} + +# +# This macro creates a kernel--modules package. +# %%kernel_modules_package [-m] +# +%define kernel_modules_package(m) \ +%package %{?1:%{1}-}modules\ +Summary: kernel modules to match the %{?2:%{2}-}core kernel\ +Provides: kernel%{?1:-%{1}}-modules-%{_target_cpu} = %{specrpmversion}-%{release}\ +Provides: kernel-modules-%{_target_cpu} = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: kernel-modules = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: installonlypkg(kernel-module)\ +Provides: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +%if %{-m:1}%{!-m:0}\ +Requires: kernel-modules-uname-r = %{KVERREL}%{uname_variant %{?1:+%{1}}}\ +%endif\ +AutoReq: no\ +AutoProv: yes\ +%description %{?1:%{1}-}modules\ +This package provides commonly used kernel modules for the %{?2:%{2}-}core kernel package.\ +%{nil} + +# +# This macro creates a kernel--modules-core package. +# %%kernel_modules_core_package [-m] +# +%define kernel_modules_core_package(m) \ +%package %{?1:%{1}-}modules-core\ +Summary: Core kernel modules to match the %{?2:%{2}-}core kernel\ +Provides: kernel%{?1:-%{1}}-modules-core-%{_target_cpu} = %{specrpmversion}-%{release}\ +Provides: kernel-modules-core-%{_target_cpu} = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: kernel-modules-core = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: installonlypkg(kernel-module)\ +Provides: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +%if %{-m:1}%{!-m:0}\ +Requires: kernel-modules-core-uname-r = %{KVERREL}%{uname_variant %{?1:+%{1}}}\ +%endif\ +AutoReq: no\ +AutoProv: yes\ +%description %{?1:%{1}-}modules-core\ +This package provides essential kernel modules for the %{?2:%{2}-}core kernel package.\ +%{nil} + +# +# this macro creates a kernel- meta package. +# %%kernel_meta_package +# +%define kernel_meta_package() \ +%package %{1}\ +summary: kernel meta-package for the %{1} kernel\ +Requires: kernel-%{1}-core-uname-r = %{KVERREL}%{uname_suffix %{1}}\ +Requires: kernel-%{1}-modules-uname-r = %{KVERREL}%{uname_suffix %{1}}\ +Requires: kernel-%{1}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{1}}\ +%if "%{1}" == "rt" || "%{1}" == "rt-debug"\ +Requires: realtime-setup\ +%endif\ +Provides: installonlypkg(kernel)\ +%description %{1}\ +The meta-package for the %{1} kernel\ +%{nil} + +%if %{with_realtime} +# +# this macro creates a kernel-rt--kvm package +# %%kernel_kvm_package +# +%define kernel_kvm_package() \ +%package %{?1:%{1}-}kvm\ +Summary: KVM modules for package kernel%{?1:-%{1}}\ +Group: System Environment/Kernel\ +Requires: kernel-uname-r = %{KVERREL}%{uname_suffix %{?1:%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Provides: installonlypkg(kernel-module)\ +Provides: kernel%{?1:-%{1}}-kvm-%{_target_cpu} = %{version}-%{release}\ +AutoReq: no\ +%description -n kernel%{?1:-%{1}}-kvm\ +This package provides KVM modules for package kernel%{?1:-%{1}}.\ +%{nil} +%endif + +# +# This macro creates a kernel- and its -devel and -debuginfo too. +# %%define variant_summary The Linux kernel compiled for +# %%kernel_variant_package [-n ] [-m] [-o] +# +%define kernel_variant_package(n:mo) \ +%package %{?1:%{1}-}core\ +Summary: %{variant_summary}\ +Provides: kernel-%{?1:%{1}-}core-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Provides: installonlypkg(kernel)\ +%if %{-m:1}%{!-m:0}\ +Requires: kernel-core-uname-r = %{KVERREL}%{uname_variant %{?1:+%{1}}}\ +Requires: kernel-%{?1:%{1}-}-modules-core-uname-r = %{KVERREL}%{uname_variant %{?1:+%{1}}}\ +%endif\ +%{expand:%%kernel_reqprovconf %{?1:%{1}} %{-o:%{-o}}}\ +%if %{?1:1} %{!?1:0} \ +%{expand:%%kernel_meta_package %{?1:%{1}}}\ +%endif\ +%{expand:%%kernel_devel_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}} %{-m:%{-m}}}\ +%{expand:%%kernel_devel_matched_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}} %{-m:%{-m}}}\ +%{expand:%%kernel_modules_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}} %{-m:%{-m}}}\ +%{expand:%%kernel_modules_core_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}} %{-m:%{-m}}}\ +%{expand:%%kernel_modules_extra_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}} %{-m:%{-m}}}\ +%if %{-m:0}%{!-m:1}\ +%{expand:%%kernel_modules_internal_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}}}\ +%if 0%{!?fedora:1}\ +%{expand:%%kernel_modules_partner_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}}}\ +%endif\ +%{expand:%%kernel_debuginfo_package %{?1:%{1}}}\ +%endif\ +%if "%{1}" == "rt" || "%{1}" == "rt-debug"\ +%{expand:%%kernel_kvm_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}}}\ +%else \ +%if %{with_efiuki}\ +%package %{?1:%{1}-}uki-virt\ +Summary: %{variant_summary} unified kernel image for virtual machines\ +Provides: installonlypkg(kernel)\ +Provides: kernel-%{?1:%{1}-}uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires(pre): %{kernel_prereq}\ +%if 0%{?rhel}\ +Requires(pre): systemd >= 252-31\ +%else \ +Requires(pre): systemd >= 254-1\ +%endif\ +%package %{?1:%{1}-}uki-virt-addons\ +Summary: %{variant_summary} unified kernel image addons for virtual machines\ +Provides: installonlypkg(kernel)\ +Requires: kernel%{?1:-%{1}}-uki-virt = %{specrpmversion}-%{release}\ +%if 0%{?rhel}\ +Requires(pre): systemd >= 252-31\ +%else \ +Requires(pre): systemd >= 254-1\ +%endif\ +%endif\ +%endif\ +%if %{with_gcov}\ +%{expand:%%kernel_gcov_package %{?1:%{1}}}\ +%endif\ +%{nil} + +# +# This macro creates a kernel--modules-partner package. +# %%kernel_modules_partner_package +# +%define kernel_modules_partner_package() \ +%package %{?1:%{1}-}modules-partner\ +Summary: Extra kernel modules to match the %{?2:%{2} }kernel\ +Group: System Environment/Kernel\ +Provides: kernel%{?1:-%{1}}-modules-partner-%{_target_cpu} = %{specrpmversion}-%{release}\ +Provides: kernel%{?1:-%{1}}-modules-partner-%{_target_cpu} = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: kernel%{?1:-%{1}}-modules-partner = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: installonlypkg(kernel-module)\ +Provides: kernel%{?1:-%{1}}-modules-partner-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +AutoReq: no\ +AutoProv: yes\ +%description %{?1:%{1}-}modules-partner\ +This package provides kernel modules for the %{?2:%{2} }kernel package for Red Hat partners usage.\ +%{nil} + +# Now, each variant package. +%if %{with_zfcpdump} +%define variant_summary The Linux kernel compiled for zfcpdump usage +%kernel_variant_package -o zfcpdump +%description zfcpdump-core +The kernel package contains the Linux kernel (vmlinuz) for use by the +zfcpdump infrastructure. +# with_zfcpdump +%endif + +%if %{with_arm64_16k_base} +%define variant_summary The Linux kernel compiled for 16k pagesize usage +%kernel_variant_package 16k +%description 16k-core +The kernel package contains a variant of the ARM64 Linux kernel using +a 16K page size. +%endif + +%if %{with_arm64_16k} && %{with_debug} +%define variant_summary The Linux kernel compiled with extra debugging enabled +%if !%{debugbuildsenabled} +%kernel_variant_package -m 16k-debug +%else +%kernel_variant_package 16k-debug +%endif +%description 16k-debug-core +The debug kernel package contains a variant of the ARM64 Linux kernel using +a 16K page size. +This variant of the kernel has numerous debugging options enabled. +It should only be installed when trying to gather additional information +on kernel bugs, as some of these options impact performance noticably. +%endif + +%if %{with_arm64_64k_base} +%define variant_summary The Linux kernel compiled for 64k pagesize usage +%kernel_variant_package 64k +%description 64k-core +The kernel package contains a variant of the ARM64 Linux kernel using +a 64K page size. +%endif + +%if %{with_arm64_64k} && %{with_debug} +%define variant_summary The Linux kernel compiled with extra debugging enabled +%if !%{debugbuildsenabled} +%kernel_variant_package -m 64k-debug +%else +%kernel_variant_package 64k-debug +%endif +%description 64k-debug-core +The debug kernel package contains a variant of the ARM64 Linux kernel using +a 64K page size. +This variant of the kernel has numerous debugging options enabled. +It should only be installed when trying to gather additional information +on kernel bugs, as some of these options impact performance noticably. +%endif + +%if %{with_debug} && %{with_realtime} +%define variant_summary The Linux PREEMPT_RT kernel compiled with extra debugging enabled +%kernel_variant_package rt-debug +%description rt-debug-core +The kernel package contains the Linux kernel (vmlinuz), the core of any +Linux operating system. The kernel handles the basic functions +of the operating system: memory allocation, process allocation, device +input and output, etc. + +This variant of the kernel has numerous debugging options enabled. +It should only be installed when trying to gather additional information +on kernel bugs, as some of these options impact performance noticably. +%endif + +%if %{with_realtime_base} +%define variant_summary The Linux kernel compiled with PREEMPT_RT enabled +%kernel_variant_package rt +%description rt-core +This package includes a version of the Linux kernel compiled with the +PREEMPT_RT real-time preemption support +%endif + +%if %{with_debug} && %{with_automotive} +%define variant_summary The Linux Automotive kernel compiled with extra debugging enabled +%kernel_variant_package automotive-debug +%description automotive-debug-core +The kernel package contains the Linux kernel (vmlinuz), the core of any +Linux operating system. The kernel handles the basic functions +of the operating system: memory allocation, process allocation, device +input and output, etc. + +This variant of the kernel has numerous debugging options enabled. +It should only be installed when trying to gather additional information +on kernel bugs, as some of these options impact performance noticably. +%endif + +%if %{with_automotive_base} +%define variant_summary The Linux kernel compiled with PREEMPT_RT enabled +%kernel_variant_package automotive +%description automotive-core +This package includes a version of the Linux kernel compiled with the +PREEMPT_RT real-time preemption support, targeted for Automotive platforms +%endif + +%if %{with_up} && %{with_debug} +%if !%{debugbuildsenabled} +%kernel_variant_package -m debug +%else +%kernel_variant_package debug +%endif +%description debug-core +The kernel package contains the Linux kernel (vmlinuz), the core of any +Linux operating system. The kernel handles the basic functions +of the operating system: memory allocation, process allocation, device +input and output, etc. + +This variant of the kernel has numerous debugging options enabled. +It should only be installed when trying to gather additional information +on kernel bugs, as some of these options impact performance noticably. +%endif + +%if %{with_up_base} +# And finally the main -core package + +%define variant_summary The Linux kernel +%kernel_variant_package +%description core +The kernel package contains the Linux kernel (vmlinuz), the core of any +Linux operating system. The kernel handles the basic functions +of the operating system: memory allocation, process allocation, device +input and output, etc. +%endif + +%if %{with_up} && %{with_debug} && %{with_efiuki} +%description debug-uki-virt +Prebuilt debug unified kernel image for virtual machines. + +%description debug-uki-virt-addons +Prebuilt debug unified kernel image addons for virtual machines. +%endif + +%if %{with_up_base} && %{with_efiuki} +%description uki-virt +Prebuilt default unified kernel image for virtual machines. + +%description uki-virt-addons +Prebuilt default unified kernel image addons for virtual machines. +%endif + +%if %{with_arm64_16k} && %{with_debug} && %{with_efiuki} +%description 16k-debug-uki-virt +Prebuilt 16k debug unified kernel image for virtual machines. + +%description 16k-debug-uki-virt-addons +Prebuilt 16k debug unified kernel image addons for virtual machines. +%endif + +%if %{with_arm64_16k_base} && %{with_efiuki} +%description 16k-uki-virt +Prebuilt 16k unified kernel image for virtual machines. + +%description 16k-uki-virt-addons +Prebuilt 16k unified kernel image addons for virtual machines. +%endif + +%if %{with_arm64_64k} && %{with_debug} && %{with_efiuki} +%description 64k-debug-uki-virt +Prebuilt 64k debug unified kernel image for virtual machines. + +%description 64k-debug-uki-virt-addons +Prebuilt 64k debug unified kernel image addons for virtual machines. +%endif + +%if %{with_arm64_64k_base} && %{with_efiuki} +%description 64k-uki-virt +Prebuilt 64k unified kernel image for virtual machines. + +%description 64k-uki-virt-addons +Prebuilt 64k unified kernel image addons for virtual machines. +%endif + +%if %{with_ipaclones} +%kernel_ipaclones_package +%endif + +%define log_msg() \ + { set +x; } 2>/dev/null \ + _log_msglineno=$(grep -n %{*} %{_specdir}/${RPM_PACKAGE_NAME}.spec | grep log_msg | cut -d":" -f1) \ + echo "kernel.spec:${_log_msglineno}: %{*}" \ + set -x + +%prep +%{log_msg "Start of prep stage"} + +%{log_msg "Sanity checks"} + +# do a few sanity-checks for --with *only builds +%if %{with_baseonly} +%if !%{with_up} +%{log_msg "Cannot build --with baseonly, up build is disabled"} +exit 1 +%endif +%endif + +# more sanity checking; do it quietly +if [ "%{patches}" != "%%{patches}" ] ; then + for patch in %{patches} ; do + if [ ! -f $patch ] ; then + %{log_msg "ERROR: Patch ${patch##/*/} listed in specfile but is missing"} + exit 1 + fi + done +fi 2>/dev/null + +patch_command='git --work-tree=. apply' +ApplyPatch() +{ + local patch=$1 + shift + if [ ! -f $RPM_SOURCE_DIR/$patch ]; then + exit 1 + fi + if ! grep -E "^Patch[0-9]+: $patch\$" %{_specdir}/${RPM_PACKAGE_NAME}.spec ; then + if [ "${patch:0:8}" != "patch-%{kversion}." ] ; then + %{log_msg "ERROR: Patch $patch not listed as a source patch in specfile"} + exit 1 + fi + fi 2>/dev/null + case "$patch" in + *.bz2) bunzip2 < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;; + *.gz) gunzip < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;; + *.xz) unxz < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;; + *) $patch_command ${1+"$@"} < "$RPM_SOURCE_DIR/$patch" ;; + esac +} + +# don't apply patch if it's empty +ApplyOptionalPatch() +{ + local patch=$1 + shift + %{log_msg "ApplyOptionalPatch: $1"} + if [ ! -f $RPM_SOURCE_DIR/$patch ]; then + exit 1 + fi + local C=$(wc -l $RPM_SOURCE_DIR/$patch | awk '{print $1}') + if [ "$C" -gt 9 ]; then + ApplyPatch $patch ${1+"$@"} + fi +} + +%{log_msg "Untar kernel tarball"} +%setup -q -n kernel-%{tarfile_release} -c +mv linux-%{tarfile_release} linux-%{KVERREL} + +cd linux-%{KVERREL} +cp -a %{SOURCE1} . + +%{log_msg "Start of patch applications"} +%if !%{nopatches} + +ApplyOptionalPatch patch-%{patchversion}-redhat.patch +%endif + +ApplyOptionalPatch linux-kernel-test.patch + +%{log_msg "End of patch applications"} +# END OF PATCH APPLICATIONS + +# Any further pre-build tree manipulations happen here. +%{log_msg "Pre-build tree manipulations"} +chmod +x scripts/checkpatch.pl +mv COPYING COPYING-%{specrpmversion}-%{release} + +# on linux-next prevent scripts/setlocalversion from mucking with our version numbers +rm -f localversion-next localversion-rt + +# Mangle /usr/bin/python shebangs to /usr/bin/python3 +# Mangle all Python shebangs to be Python 3 explicitly +# -p preserves timestamps +# -n prevents creating ~backup files +# -i specifies the interpreter for the shebang +# This fixes errors such as +# *** ERROR: ambiguous python shebang in /usr/bin/kvm_stat: #!/usr/bin/python. Change it to python3 (or python2) explicitly. +# We patch all sources below for which we got a report/error. +%{log_msg "Fixing Python shebangs..."} +%py3_shebang_fix \ + tools/kvm/kvm_stat/kvm_stat \ + scripts/show_delta \ + scripts/diffconfig \ + scripts/bloat-o-meter \ + scripts/jobserver-exec \ + tools \ + Documentation \ + scripts/clang-tools 2> /dev/null + +# only deal with configs if we are going to build for the arch +%ifnarch %nobuildarches + +if [ -L configs ]; then + rm -f configs +fi +mkdir configs +cd configs + +%{log_msg "Copy additional source files into buildroot"} +# Drop some necessary files from the source dir into the buildroot +cp $RPM_SOURCE_DIR/%{name}-*.config . +cp %{SOURCE80} . +# merge.py +cp %{SOURCE3000} . +# kernel-local - rename and copy for partial snippet config process +cp %{SOURCE3001} partial-kernel-local-snip.config +cp %{SOURCE3001} partial-kernel-local-debug-snip.config +for config in $RPM_SOURCE_DIR/kernel-*.config; do + arch=$(echo $config | sed -n 's/.*kernel-\(.*\)\.config/\1/p') + cp $config kernel-%{specversion}-$arch.config +done + + +# Collect custom defined config options +%{log_msg "Collect custom defined config options"} +PARTIAL_CONFIGS="" +%if %{with_gcov} +PARTIAL_CONFIGS="$PARTIAL_CONFIGS %{SOURCE70} %{SOURCE71}" +%endif +%if %{with toolchain_clang} +PARTIAL_CONFIGS="$PARTIAL_CONFIGS %{SOURCE72} %{SOURCE73}" +%endif +%if %{with clang_lto} +PARTIAL_CONFIGS="$PARTIAL_CONFIGS %{SOURCE74} %{SOURCE75} %{SOURCE76} %{SOURCE77}" +%endif +PARTIAL_CONFIGS="$PARTIAL_CONFIGS partial-kernel-local-snip.config partial-kernel-local-debug-snip.config" + +GetArch() +{ + case "$1" in + *aarch64*) echo "aarch64" ;; + *ppc64le*) echo "ppc64le" ;; + *s390x*) echo "s390x" ;; + *x86_64*) echo "x86_64" ;; + *riscv64*) echo "riscv64" ;; + # no arch, apply everywhere + *) echo "" ;; + esac +} + +# Merge in any user-provided local config option changes +%{log_msg "Merge in any user-provided local config option changes"} +%ifnarch %nobuildarches +for i in %{all_configs} +do + kern_arch="$(GetArch $i)" + kern_debug="$(echo $i | grep -q debug && echo "debug" || echo "")" + + for j in $PARTIAL_CONFIGS + do + part_arch="$(GetArch $j)" + part_debug="$(echo $j | grep -q debug && echo "debug" || echo "")" + + # empty arch means apply to all arches + if [ "$part_arch" == "" -o "$part_arch" == "$kern_arch" ] && [ "$part_debug" == "$kern_debug" ] + then + mv $i $i.tmp + ./merge.py $j $i.tmp > $i + fi + done + rm -f $i.tmp +done +%endif + +%if %{signkernel}%{signmodules} + +%if 0%{?rhel} + +%if 0%{?pe_signing_certkeyslot:1} + +# Add DUP and kpatch certificates to system trusted keys for Rocky Linux from CIQ +%{log_msg "Add DUP and kpatch certificates to system trusted keys for Rocky Linux from CIQ"} +openssl x509 -inform der -in %{driver_cert} -out ciqkerneldup1.pem +openssl x509 -inform der -in %{kpatch_cert} -out ciqkernelkpatch1.pem +openssl x509 -inform der -in %{SOURCE102} -out nvidiagpuoot001.pem +cat ciqkerneldup1.pem ciqkernelkpatch1.pem nvidiagpuoot001.pem > ../certs/ciqkernel.pem + +%else + +# Add DUP and kpatch certificates to system trusted keys for RHEL +%{log_msg "Add DUP and kpatch certificates to system trusted keys for RHEL"} +openssl x509 -inform der -in %{SOURCE100} -out rheldup3.pem +openssl x509 -inform der -in %{SOURCE101} -out rhelkpatch1.pem +openssl x509 -inform der -in %{SOURCE102} -out nvidiagpuoot001.pem +cat rheldup3.pem rhelkpatch1.pem nvidiagpuoot001.pem > ../certs/rhel.pem + +# 0%{?pe_signing_certkeyslot:1} +%endif + +%if %{signkernel} +%ifarch s390x ppc64le +openssl x509 -inform der -in %{secureboot_ca_0} -out secureboot.pem +cat secureboot.pem >> ../certs/rhel.pem +%endif +%endif + +# rhel +%endif + +openssl x509 -inform der -in %{ima_ca_cert} -out imaca.pem +cat imaca.pem >> ../certs/rhel.pem + +%if 0%{?pe_signing_certkeyslot:1} + +for i in *.config; do + sed -i 's@CONFIG_SYSTEM_TRUSTED_KEYS=""@CONFIG_SYSTEM_TRUSTED_KEYS="certs/ciqkernel.pem"@' $i +done + +%else + +for i in *.config; do + sed -i 's@CONFIG_SYSTEM_TRUSTED_KEYS=""@CONFIG_SYSTEM_TRUSTED_KEYS="certs/rhel.pem"@' $i +done + +# 0%{?pe_signing_certkeyslot:1} +%endif + +# signkernel signmodules +%endif + +# Adjust FIPS module name for RHEL +%if 0%{?rhel} +%{log_msg "Adjust FIPS module name for RHEL"} +for i in *.config; do + sed -i 's/CONFIG_CRYPTO_FIPS_NAME=.*/CONFIG_CRYPTO_FIPS_NAME="Red Hat Enterprise Linux %{rhel} - Kernel Cryptographic API"/' $i +done +%endif + +%{log_msg "Set process_configs.sh $OPTS"} +cp %{SOURCE81} . +OPTS="" +%if %{with_configchecks} + OPTS="$OPTS -w -n -c" +%endif +%if %{with clang_lto} +for opt in %{clang_make_opts}; do + OPTS="$OPTS -m $opt" +done +%endif +%{log_msg "Generate redhat configs"} +RHJOBS=$RPM_BUILD_NCPUS SPECPACKAGE_NAME=%{name} ./process_configs.sh $OPTS %{specrpmversion} + +# We may want to override files from the primary target in case of building +# against a flavour of it (eg. centos not rhel), thus override it here if +# necessary +update_scripts() { + TARGET="$1" + + for i in "$RPM_SOURCE_DIR"/*."$TARGET"; do + NEW=${i%."$TARGET"} + cp "$i" "$(basename "$NEW")" + done +} + +%{log_msg "Set scripts/SOURCES targets"} +update_target=rocky +if [ "%{primary_target}" == "rhel" ]; then +: # no-op to avoid empty if-fi error +%if 0%{?centos} + %{log_msg "Updating scripts/sources to centos version"} + update_target=centos +%endif +fi +update_scripts $update_target +%endif + +%{log_msg "End of kernel config"} +cd .. +# # End of Configs stuff + +# get rid of unwanted files resulting from patch fuzz +find . \( -name "*.orig" -o -name "*~" \) -delete >/dev/null + +# remove unnecessary SCM files +find . -name .gitignore -delete >/dev/null + +cd .. + +### +### build +### +%build +%{log_msg "Start of build stage"} + +%{log_msg "General arch build configuration"} +rm -rf %{buildroot_unstripped} || true +mkdir -p %{buildroot_unstripped} + +%if %{with_sparse} +%define sparse_mflags C=1 +%endif + +cp_vmlinux() +{ + eu-strip --remove-comment -o "$2" "$1" +} + +# Note we need to disable these flags for cross builds because the flags +# from redhat-rpm-config assume that host == target so target arch +# flags cause issues with the host compiler. +%if !%{with_cross} +%define build_hostcflags %{?build_cflags} +%define build_hostldflags %{?build_ldflags} +%endif + +%define make %{__make} %{?cross_opts} %{?make_opts} HOSTCFLAGS="%{?build_hostcflags}" HOSTLDFLAGS="%{?build_hostldflags}" + +InitBuildVars() { + %{log_msg "InitBuildVars for $1"} + + %{log_msg "InitBuildVars: Initialize build variables"} + # Initialize the kernel .config file and create some variables that are + # needed for the actual build process. + + Variant=$1 + + # Pick the right kernel config file + Config=%{name}-%{_target_cpu}${Variant:+-${Variant}}.config + DevelDir=/usr/src/kernels/%{KVERREL}${Variant:++${Variant}} + + KernelVer=%{specversion}-%{release}.%{_target_cpu}${Variant:++${Variant}} + + %{log_msg "InitBuildVars: Update Makefile"} + # make sure EXTRAVERSION says what we want it to say + # Trim the release if this is a CI build, since KERNELVERSION is limited to 64 characters + ShortRel=$(perl -e "print \"%{release}\" =~ s/\.pr\.[0-9A-Fa-f]{32}//r") + perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -${ShortRel}.%{_target_cpu}${Variant:++${Variant}}/" Makefile + + # if pre-rc1 devel kernel, must fix up PATCHLEVEL for our versioning scheme + # if we are post rc1 this should match anyway so this won't matter + perl -p -i -e 's/^PATCHLEVEL.*/PATCHLEVEL = %{patchlevel}/' Makefile + + %{log_msg "InitBuildVars: Copy files"} + %{make} %{?_smp_mflags} mrproper + cp configs/$Config .config + + # %if %{signkernel}%{signmodules} + # cp configs/x509.genkey certs/. + # %endif + +%if %{with_debuginfo} == 0 + sed -i 's/^\(CONFIG_DEBUG_INFO.*\)=y/# \1 is not set/' .config +%endif + + # need to use: Arch=`head -1 .config | cut -b 3-` + # however arch is currently missing in all our config +%if "%{_target_cpu}" == "aarch64" + Arch="arm64" +%else + Arch="%{_target_cpu}" +%endif + %{log_msg "InitBuildVars: USING ARCH=$Arch"} + + KCFLAGS="%{?kcflags}" + + # add kpatch flags for base kernel + %{log_msg "InitBuildVars: Configure KCFLAGS"} + if [ "$Variant" == "" ]; then + KCFLAGS="$KCFLAGS %{?kpatch_kcflags}" + fi +} + +BuildKernel() { + %{log_msg "BuildKernel for $4"} + MakeTarget=$1 + KernelImage=$2 + DoVDSO=$3 + Variant=$4 + InstallName=${5:-vmlinuz} + + %{log_msg "Setup variables"} + DoModules=1 + if [ "$Variant" = "zfcpdump" ]; then + DoModules=0 + fi + + # When the bootable image is just the ELF kernel, strip it. + # We already copy the unstripped file into the debuginfo package. + if [ "$KernelImage" = vmlinux ]; then + CopyKernel=cp_vmlinux + else + CopyKernel=cp + fi + +%if %{with_gcov} + %{log_msg "Setup build directories"} + # Make build directory unique for each variant, so that gcno symlinks + # are also unique for each variant. + if [ -n "$Variant" ]; then + ln -s $(pwd) ../linux-%{KVERREL}-${Variant} + fi + %{log_msg "GCOV - continuing build in: $(pwd)"} + pushd ../linux-%{KVERREL}${Variant:+-${Variant}} + pwd > ../kernel${Variant:+-${Variant}}-gcov.list +%endif + + %{log_msg "Calling InitBuildVars for $Variant"} + InitBuildVars $Variant + + %{log_msg "BUILDING A KERNEL FOR ${Variant} %{_target_cpu}..."} + + %{make} ARCH=$Arch olddefconfig >/dev/null + + %{log_msg "Setup build-ids"} + # This ensures build-ids are unique to allow parallel debuginfo + perl -p -i -e "s/^CONFIG_BUILD_SALT.*/CONFIG_BUILD_SALT=\"%{KVERREL}\"/" .config + %{make} ARCH=$Arch KCFLAGS="$KCFLAGS" WITH_GCOV="%{?with_gcov}" %{?_smp_mflags} $MakeTarget %{?sparse_mflags} %{?kernel_mflags} + if [ $DoModules -eq 1 ]; then + %{make} ARCH=$Arch KCFLAGS="$KCFLAGS" WITH_GCOV="%{?with_gcov}" %{?_smp_mflags} modules %{?sparse_mflags} || exit 1 + fi + + %{log_msg "Setup RPM_BUILD_ROOT directories"} + mkdir -p $RPM_BUILD_ROOT/%{image_install_path} + mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer + mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/systemtap +%if %{with_debuginfo} + mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/%{image_install_path} +%endif + +%ifarch aarch64 riscv64 + %{log_msg "Build dtb kernel"} + %{make} ARCH=$Arch dtbs INSTALL_DTBS_PATH=$RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer + %{make} ARCH=$Arch dtbs_install INSTALL_DTBS_PATH=$RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer + cp -r $RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer $RPM_BUILD_ROOT/lib/modules/$KernelVer/dtb + find arch/$Arch/boot/dts -name '*.dtb' -type f -delete +%endif + + %{log_msg "Cleanup temp btf files"} + # Remove large intermediate files we no longer need to save space + # (-f required for zfcpdump builds that do not enable BTF) + rm -f vmlinux.o .tmp_vmlinux.btf + + %{log_msg "Install files to RPM_BUILD_ROOT"} + + # Comment out specific config settings that may use resources not available + # to the end user so that the packaged config file can be easily reused with + # upstream make targets + %if %{signkernel}%{signmodules} + sed -i -e '/^CONFIG_SYSTEM_TRUSTED_KEYS/{ + i\# The kernel was built with + s/^/# / + a\# We are resetting this value to facilitate local builds + a\CONFIG_SYSTEM_TRUSTED_KEYS="" + }' .config + %endif + + # Start installing the results + install -m 644 .config $RPM_BUILD_ROOT/boot/config-$KernelVer + install -m 644 .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/config + install -m 644 System.map $RPM_BUILD_ROOT/boot/System.map-$KernelVer + install -m 644 System.map $RPM_BUILD_ROOT/lib/modules/$KernelVer/System.map + + %{log_msg "Create initrfamfs"} + # We estimate the size of the initramfs because rpm needs to take this size + # into consideration when performing disk space calculations. (See bz #530778) + dd if=/dev/zero of=$RPM_BUILD_ROOT/boot/initramfs-$KernelVer.img bs=1M count=20 + + if [ -f arch/$Arch/boot/zImage.stub ]; then + %{log_msg "Copy zImage.stub to RPM_BUILD_ROOT"} + cp arch/$Arch/boot/zImage.stub $RPM_BUILD_ROOT/%{image_install_path}/zImage.stub-$KernelVer || : + cp arch/$Arch/boot/zImage.stub $RPM_BUILD_ROOT/lib/modules/$KernelVer/zImage.stub-$KernelVer || : + fi + + %if %{signkernel} + %{log_msg "Copy kernel for signing"} + if [ "$KernelImage" = vmlinux ]; then + # We can't strip and sign $KernelImage in place, because + # we need to preserve original vmlinux for debuginfo. + # Use a copy for signing. + $CopyKernel $KernelImage $KernelImage.tosign + KernelImage=$KernelImage.tosign + CopyKernel=cp + fi + + SignImage=$KernelImage + + %ifarch x86_64 aarch64 + %{log_msg "Sign kernel image"} + %pesign -s -i $SignImage -o vmlinuz.signed -a %{secureboot_ca_0} -c %{secureboot_key_0} -n %{pesign_name_0} + %endif + %ifarch s390x ppc64le + if [ -x /usr/bin/rpm-sign ]; then + rpm-sign --key "%{pesign_name_0}" --lkmsign $SignImage --output vmlinuz.signed + elif [ "$DoModules" == "1" -a "%{signmodules}" == "1" ]; then + chmod +x scripts/sign-file + ./scripts/sign-file -p sha256 certs/signing_key.pem certs/signing_key.x509 $SignImage vmlinuz.signed + else + mv $SignImage vmlinuz.signed + fi + %endif + + if [ ! -s vmlinuz.signed ]; then + %{log_msg "pesigning failed"} + exit 1 + fi + mv vmlinuz.signed $SignImage + # signkernel + %endif + + %{log_msg "copy signed kernel"} + $CopyKernel $KernelImage \ + $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer + chmod 755 $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer + cp $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer $RPM_BUILD_ROOT/lib/modules/$KernelVer/$InstallName + + # hmac sign the kernel for FIPS + %{log_msg "hmac sign the kernel for FIPS"} + %{log_msg "Creating hmac file: $RPM_BUILD_ROOT/%{image_install_path}/.vmlinuz-$KernelVer.hmac"} + ls -l $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer + (cd $RPM_BUILD_ROOT/%{image_install_path} && sha512hmac $InstallName-$KernelVer) > $RPM_BUILD_ROOT/%{image_install_path}/.vmlinuz-$KernelVer.hmac; + cp $RPM_BUILD_ROOT/%{image_install_path}/.vmlinuz-$KernelVer.hmac $RPM_BUILD_ROOT/lib/modules/$KernelVer/.vmlinuz.hmac + + if [ $DoModules -eq 1 ]; then + %{log_msg "Install modules in RPM_BUILD_ROOT"} + # Override $(mod-fw) because we don't want it to install any firmware + # we'll get it from the linux-firmware package and we don't want conflicts + %{make} %{?_smp_mflags} ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT %{?_smp_mflags} modules_install KERNELRELEASE=$KernelVer mod-fw= + fi + +%if %{with_gcov} + %{log_msg "install gcov-needed files to $BUILDROOT/$BUILD/"} + # install gcov-needed files to $BUILDROOT/$BUILD/...: + # gcov_info->filename is absolute path + # gcno references to sources can use absolute paths (e.g. in out-of-tree builds) + # sysfs symlink targets (set up at compile time) use absolute paths to BUILD dir + find . \( -name '*.gcno' -o -name '*.[chS]' \) -exec install -D '{}' "$RPM_BUILD_ROOT/$(pwd)/{}" \; +%endif + + %{log_msg "Add VDSO files"} + # add an a noop %%defattr statement 'cause rpm doesn't like empty file list files + echo '%%defattr(-,-,-)' > ../kernel${Variant:+-${Variant}}-ldsoconf.list + if [ $DoVDSO -ne 0 ]; then + %{make} ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT vdso_install KERNELRELEASE=$KernelVer + if [ -s ldconfig-kernel.conf ]; then + install -D -m 444 ldconfig-kernel.conf \ + $RPM_BUILD_ROOT/etc/ld.so.conf.d/kernel-$KernelVer.conf + echo /etc/ld.so.conf.d/kernel-$KernelVer.conf >> ../kernel${Variant:+-${Variant}}-ldsoconf.list + fi + + rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/vdso/.build-id + fi + + %{log_msg "Save headers/makefiles, etc. for kernel-headers"} + # And save the headers/makefiles etc for building modules against + # + # This all looks scary, but the end result is supposed to be: + # * all arch relevant include/ files + # * all Makefile/Kconfig files + # * all script/ files + + rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/source + mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + (cd $RPM_BUILD_ROOT/lib/modules/$KernelVer ; ln -s build source) + # dirs for additional modules per module-init-tools, kbuild/modules.txt + mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/updates + mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/weak-updates + # CONFIG_KERNEL_HEADER_TEST generates some extra files in the process of + # testing so just delete + find . -name *.h.s -delete + # first copy everything + cp --parents `find -type f -name "Makefile*" -o -name "Kconfig*"` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + if [ ! -e Module.symvers ]; then + touch Module.symvers + fi + cp Module.symvers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp System.map $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + if [ -s Module.markers ]; then + cp Module.markers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + fi + + # create the kABI metadata for use in packaging + # NOTENOTE: the name symvers is used by the rpm backend + # NOTENOTE: to discover and run the /usr/lib/rpm/fileattrs/kabi.attr + # NOTENOTE: script which dynamically adds exported kernel symbol + # NOTENOTE: checksums to the rpm metadata provides list. + # NOTENOTE: if you change the symvers name, update the backend too + %{log_msg "GENERATING kernel ABI metadata"} + %compression --stdout %compression_flags < Module.symvers > $RPM_BUILD_ROOT/boot/symvers-$KernelVer.%compext + cp $RPM_BUILD_ROOT/boot/symvers-$KernelVer.%compext $RPM_BUILD_ROOT/lib/modules/$KernelVer/symvers.%compext + +%if %{with_kabichk} + %{log_msg "kABI checking is enabled in kernel SPEC file."} + chmod 0755 $RPM_SOURCE_DIR/check-kabi + if [ -e $RPM_SOURCE_DIR/Module.kabi_%{_target_cpu}$Variant ]; then + cp $RPM_SOURCE_DIR/Module.kabi_%{_target_cpu}$Variant $RPM_BUILD_ROOT/Module.kabi + $RPM_SOURCE_DIR/check-kabi -k $RPM_BUILD_ROOT/Module.kabi -s Module.symvers || exit 1 + # for now, don't keep it around. + rm $RPM_BUILD_ROOT/Module.kabi + else + %{log_msg "NOTE: Cannot find reference Module.kabi file."} + fi +%endif + +%if %{with_kabidupchk} + %{log_msg "kABI DUP checking is enabled in kernel SPEC file."} + if [ -e $RPM_SOURCE_DIR/Module.kabi_dup_%{_target_cpu}$Variant ]; then + cp $RPM_SOURCE_DIR/Module.kabi_dup_%{_target_cpu}$Variant $RPM_BUILD_ROOT/Module.kabi + $RPM_SOURCE_DIR/check-kabi -k $RPM_BUILD_ROOT/Module.kabi -s Module.symvers || exit 1 + # for now, don't keep it around. + rm $RPM_BUILD_ROOT/Module.kabi + else + %{log_msg "NOTE: Cannot find DUP reference Module.kabi file."} + fi +%endif + +%if %{with_kabidw_base} + # Don't build kabi base for debug kernels + if [ "$Variant" != "zfcpdump" -a "$Variant" != "debug" ]; then + mkdir -p $RPM_BUILD_ROOT/kabi-dwarf + tar -xvf %{SOURCE301} -C $RPM_BUILD_ROOT/kabi-dwarf + + mkdir -p $RPM_BUILD_ROOT/kabi-dwarf/stablelists + tar -xvf %{SOURCE300} -C $RPM_BUILD_ROOT/kabi-dwarf/stablelists + + %{log_msg "GENERATING DWARF-based kABI baseline dataset"} + chmod 0755 $RPM_BUILD_ROOT/kabi-dwarf/run_kabi-dw.sh + $RPM_BUILD_ROOT/kabi-dwarf/run_kabi-dw.sh generate \ + "$RPM_BUILD_ROOT/kabi-dwarf/stablelists/kabi-current/kabi_stablelist_%{_target_cpu}" \ + "$(pwd)" \ + "$RPM_BUILD_ROOT/kabidw-base/%{_target_cpu}${Variant:+.${Variant}}" || : + + rm -rf $RPM_BUILD_ROOT/kabi-dwarf + fi +%endif + +%if %{with_kabidwchk} + if [ "$Variant" != "zfcpdump" ]; then + mkdir -p $RPM_BUILD_ROOT/kabi-dwarf + tar -xvf %{SOURCE301} -C $RPM_BUILD_ROOT/kabi-dwarf + if [ -d "$RPM_BUILD_ROOT/kabi-dwarf/base/%{_target_cpu}${Variant:+.${Variant}}" ]; then + mkdir -p $RPM_BUILD_ROOT/kabi-dwarf/stablelists + tar -xvf %{SOURCE300} -C $RPM_BUILD_ROOT/kabi-dwarf/stablelists + + %{log_msg "GENERATING DWARF-based kABI dataset"} + chmod 0755 $RPM_BUILD_ROOT/kabi-dwarf/run_kabi-dw.sh + $RPM_BUILD_ROOT/kabi-dwarf/run_kabi-dw.sh generate \ + "$RPM_BUILD_ROOT/kabi-dwarf/stablelists/kabi-current/kabi_stablelist_%{_target_cpu}" \ + "$(pwd)" \ + "$RPM_BUILD_ROOT/kabi-dwarf/base/%{_target_cpu}${Variant:+.${Variant}}.tmp" || : + + %{log_msg "kABI DWARF-based comparison report"} + $RPM_BUILD_ROOT/kabi-dwarf/run_kabi-dw.sh compare \ + "$RPM_BUILD_ROOT/kabi-dwarf/base/%{_target_cpu}${Variant:+.${Variant}}" \ + "$RPM_BUILD_ROOT/kabi-dwarf/base/%{_target_cpu}${Variant:+.${Variant}}.tmp" || : + %{log_msg "End of kABI DWARF-based comparison report"} + else + %{log_msg "Baseline dataset for kABI DWARF-BASED comparison report not found"} + fi + + rm -rf $RPM_BUILD_ROOT/kabi-dwarf + fi +%endif + + %{log_msg "Cleanup Makefiles/Kconfig files"} + # then drop all but the needed Makefiles/Kconfig files + rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts + rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include + cp .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/tracing + rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/spdxcheck.py + +%ifarch s390x + # CONFIG_EXPOLINE_EXTERN=y produces arch/s390/lib/expoline/expoline.o + # which is needed during external module build. + %{log_msg "Copy expoline.o"} + if [ -f arch/s390/lib/expoline/expoline.o ]; then + cp -a --parents arch/s390/lib/expoline/expoline.o $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + fi +%endif + + %{log_msg "Copy additional files for make targets"} + # Files for 'make scripts' to succeed with kernel-devel. + mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/security/selinux/include + cp -a --parents security/selinux/include/classmap.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents security/selinux/include/initial_sid_to_string.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/tools/include/tools + cp -a --parents tools/include/tools/be_byteshift.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/include/tools/le_byteshift.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + + # Files for 'make prepare' to succeed with kernel-devel. + cp -a --parents tools/include/linux/compiler* $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/include/linux/types.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/build/Build.include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp --parents tools/build/fixdep.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp --parents tools/objtool/sync-check.sh $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/bpf/resolve_btfids $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + + cp --parents security/selinux/include/policycap_names.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp --parents security/selinux/include/policycap.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + + cp -a --parents tools/include/asm $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/include/asm-generic $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/include/linux $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/include/uapi/asm $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/include/uapi/asm-generic $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/include/uapi/linux $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/include/vdso $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp --parents tools/scripts/utilities.mak $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/lib/subcmd $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp --parents tools/lib/*.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp --parents tools/objtool/*.[ch] $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp --parents tools/objtool/Build $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp --parents tools/objtool/include/objtool/*.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/lib/bpf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp --parents tools/lib/bpf/Build $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + + if [ -f tools/objtool/objtool ]; then + cp -a tools/objtool/objtool $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/tools/objtool/ || : + fi + if [ -f tools/objtool/fixdep ]; then + cp -a tools/objtool/fixdep $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/tools/objtool/ || : + fi + if [ -d arch/$Arch/scripts ]; then + cp -a arch/$Arch/scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch} || : + fi + if [ -f arch/$Arch/*lds ]; then + cp -a arch/$Arch/*lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch}/ || : + fi + if [ -f arch/%{asmarch}/kernel/module.lds ]; then + cp -a --parents arch/%{asmarch}/kernel/module.lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + fi + find $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts \( -iname "*.o" -o -iname "*.cmd" \) -exec rm -f {} + +%ifarch ppc64le + cp -a --parents arch/powerpc/lib/crtsavres.[So] $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ +%endif + if [ -d arch/%{asmarch}/include ]; then + cp -a --parents arch/%{asmarch}/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + fi + if [ -d tools/arch/%{asmarch}/include ]; then + cp -a --parents tools/arch/%{asmarch}/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + fi +%ifarch aarch64 + # arch/arm64/include/asm/xen references arch/arm + cp -a --parents arch/arm/include/asm/xen $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + # arch/arm64/include/asm/opcodes.h references arch/arm + cp -a --parents arch/arm/include/asm/opcodes.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ +%endif + cp -a include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include + # Cross-reference from include/perf/events/sof.h + cp -a sound/soc/sof/sof-audio.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/sound/soc/sof +%ifarch i686 x86_64 + # files for 'make prepare' to succeed with kernel-devel + cp -a --parents arch/x86/entry/syscalls/syscall_32.tbl $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/entry/syscalls/syscall_64.tbl $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/tools/relocs_32.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/tools/relocs_64.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/tools/relocs.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/tools/relocs_common.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/tools/relocs.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/purgatory/purgatory.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/purgatory/stack.S $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/purgatory/setup-x86_64.S $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/purgatory/entry64.S $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/boot/string.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/boot/string.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/boot/ctype.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + + cp -a --parents scripts/syscalltbl.sh $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents scripts/syscallhdr.sh $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + + cp -a --parents tools/arch/x86/include/asm $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/arch/x86/include/uapi/asm $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/objtool/arch/x86/lib $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/arch/x86/lib/ $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/arch/x86/tools/gen-insn-attr-x86.awk $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/objtool/arch/x86/ $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + +%endif + %{log_msg "Clean up intermediate tools files"} + # Clean up intermediate tools files + find $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/tools \( -iname "*.o" -o -iname "*.cmd" \) -exec rm -f {} + + + # Make sure the Makefile, version.h, and auto.conf have a matching + # timestamp so that external modules can be built + touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Makefile \ + $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/generated/uapi/linux/version.h \ + $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/config/auto.conf + +%if %{with_debuginfo} + eu-readelf -n vmlinux | grep "Build ID" | awk '{print $NF}' > vmlinux.id + cp vmlinux.id $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/vmlinux.id + + %{log_msg "Copy additional files for kernel-debuginfo rpm"} + # + # save the vmlinux file for kernel debugging into the kernel-debuginfo rpm + # (use mv + symlink instead of cp to reduce disk space requirements) + # + mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer + mv vmlinux $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer + ln -s $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer/vmlinux vmlinux + if [ -n "%{?vmlinux_decompressor}" ]; then + eu-readelf -n %{vmlinux_decompressor} | grep "Build ID" | awk '{print $NF}' > vmlinux.decompressor.id + # Without build-id the build will fail. But for s390 the build-id + # wasn't added before 5.11. In case it is missing prefer not + # packaging the debuginfo over a build failure. + if [ -s vmlinux.decompressor.id ]; then + cp vmlinux.decompressor.id $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/vmlinux.decompressor.id + cp %{vmlinux_decompressor} $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer/vmlinux.decompressor + fi + fi + + # build and copy the vmlinux-gdb plugin files into kernel-debuginfo + %{make} ARCH=$Arch %{?_smp_mflags} scripts_gdb + cp -a --parents scripts/gdb/{,linux/}*.py $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer + # this should be a relative symlink (Kbuild creates an absolute one) + ln -s scripts/gdb/vmlinux-gdb.py $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer/vmlinux-gdb.py + %py_byte_compile %{python3} $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer/scripts/gdb +%endif + + %{log_msg "Create modnames"} + find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name "*.ko" -type f >modnames + + # mark modules executable so that strip-to-file can strip them + xargs --no-run-if-empty chmod u+x < modnames + + # Generate a list of modules for block and networking. + %{log_msg "Generate a list of modules for block and networking"} + grep -F /drivers/ modnames | xargs --no-run-if-empty nm -upA | + sed -n 's,^.*/\([^/]*\.ko\): *U \(.*\)$,\1 \2,p' > drivers.undef + + collect_modules_list() + { + sed -r -n -e "s/^([^ ]+) \\.?($2)\$/\\1/p" drivers.undef | + LC_ALL=C sort -u > $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1 + if [ ! -z "$3" ]; then + sed -r -e "/^($3)\$/d" -i $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1 + fi + } + + collect_modules_list networking \ + 'register_netdev|ieee80211_register_hw|usbnet_probe|phy_driver_register|rt(l_|2x00)(pci|usb)_probe|register_netdevice' + collect_modules_list block \ + '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' + collect_modules_list drm \ + 'drm_open|drm_init' + collect_modules_list modesetting \ + 'drm_crtc_init' + + %{log_msg "detect missing or incorrect license tags"} + # detect missing or incorrect license tags + ( find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name '*.ko' | xargs /sbin/modinfo -l | \ + grep -E -v 'GPL( v2)?$|Dual BSD/GPL$|Dual MPL/GPL$|GPL and additional rights$' ) && exit 1 + + + if [ $DoModules -eq 0 ]; then + %{log_msg "Create empty files for RPM packaging"} + # Ensure important files/directories exist to let the packaging succeed + echo '%%defattr(-,-,-)' > ../kernel${Variant:+-${Variant}}-modules-core.list + echo '%%defattr(-,-,-)' > ../kernel${Variant:+-${Variant}}-modules.list + echo '%%defattr(-,-,-)' > ../kernel${Variant:+-${Variant}}-modules-extra.list + echo '%%defattr(-,-,-)' > ../kernel${Variant:+-${Variant}}-modules-internal.list + echo '%%defattr(-,-,-)' > ../kernel${Variant:+-${Variant}}-modules-partner.list + mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/kernel + # Add files usually created by make modules, needed to prevent errors + # thrown by depmod during package installation + touch $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.order + touch $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.builtin + fi + + # Copy the System.map file for depmod to use + cp System.map $RPM_BUILD_ROOT/. + + if [[ "$Variant" == "rt" || "$Variant" == "rt-debug" || "$Variant" == "automotive" || "$Variant" == "automotive-debug" ]]; then + %{log_msg "Skipping efiuki build"} + else +%if %{with_efiuki} + %{log_msg "Setup the EFI UKI kernel"} + + # RHEL/CentOS specific .SBAT entries +%if 0%{?centos} + SBATsuffix="centos" +%else + SBATsuffix="rhel" +%endif + +%if 0%{?pe_uki_signing_certkeyslot:1} + SBAT=$(cat <<- EOF + linux,1,CIQ,linux,$KernelVer,mailto:secureboot@ciq.com + linux.$SBATsuffix,1,Red Hat,linux,$KernelVer,mailto:secalert@redhat.com + linux.ciq_rocky,1,CIQ,linux,$KernelVer,mailto:secureboot@ciq.com + kernel-uki-virt.$SBATsuffix,1,Red Hat,kernel-uki-virt,$KernelVer,mailto:secalert@redhat.com + kernel-uki-virt.ciq_rocky,1,CIQ,kernel-uki-virt,$kernelVer,mailto:secureboot@ciq.com + EOF + ) +%else + SBAT=$(cat <<- EOF + linux,1,Red Hat,linux,$KernelVer,mailto:secalert@redhat.com + linux.$SBATsuffix,1,Red Hat,linux,$KernelVer,mailto:secalert@redhat.com + kernel-uki-virt.$SBATsuffix,1,Red Hat,kernel-uki-virt,$KernelVer,mailto:secalert@redhat.com + EOF + ) +%endif + + KernelUnifiedImageDir="$RPM_BUILD_ROOT/lib/modules/$KernelVer" + KernelUnifiedImage="$KernelUnifiedImageDir/$InstallName-virt.efi" + + mkdir -p $KernelUnifiedImageDir + + dracut --conf=%{SOURCE86} \ + --confdir=$(mktemp -d) \ + --verbose \ + --kver "$KernelVer" \ + --kmoddir "$RPM_BUILD_ROOT/lib/modules/$KernelVer/" \ + --logfile=$(mktemp) \ + --uefi \ +%if 0%{?rhel} && !0%{?eln} + --sbat "$SBAT" \ +%endif + --kernel-image $(realpath $KernelImage) \ + --kernel-cmdline 'console=tty0 console=ttyS0' \ + $KernelUnifiedImage + + KernelAddonsDirOut="$KernelUnifiedImage.extra.d" + mkdir -p $KernelAddonsDirOut + python3 %{SOURCE151} %{SOURCE152} $KernelAddonsDirOut virt rocky %{_target_cpu} + +%if %{signkernel} + %{log_msg "Sign the EFI UKI kernel"} +%if 0%{?fedora}%{?eln} + %pesign -s -i $KernelUnifiedImage -o $KernelUnifiedImage.signed -a %{secureboot_ca_0} -c %{secureboot_key_0} -n %{pesign_name_0} +%else +%if 0%{?centos} + UKI_secureboot_name=centossecureboot204 +%else + UKI_secureboot_name=redhatsecureboot504 +%endif + + UKI_secureboot_cert=%{_datadir}/pki/sb-certs/secureboot-uki-virt-%{_arch}.cer + +# CIQ Kernel signing - override above +%if 0%{?pe_uki_signing_certkeyslot:1} +%ifarch x86_64 + UKI_secureboot_name=ciq_sb_uki + UKI_secureboot_cert=%{SOURCE8008} +%else + UKI_secureboot_name=ciq_sb_uki_aarch64 + UKI_secureboot_cert=%{SOURCE8009} +%endif + %pesign_uki -s -i $KernelUnifiedImage -o $KernelUnifiedImage.signed -a %{secureboot_ca_0} -c $UKI_secureboot_cert -n $UKI_secureboot_name +%else + %pesign -s -i $KernelUnifiedImage -o $KernelUnifiedImage.signed -a %{secureboot_ca_0} -c $UKI_secureboot_cert -n $UKI_secureboot_name + +# 0%{?pe_uki_siging_certkeyslot:1} +%endif + +# 0%{?fedora}%{?eln} +%endif + if [ ! -s $KernelUnifiedImage.signed ]; then + echo "pesigning failed" + exit 1 + fi + mv $KernelUnifiedImage.signed $KernelUnifiedImage + + for addon in "$KernelAddonsDirOut"/*; do + %pesign -s -i $addon -o $addon.signed -a %{secureboot_ca_0} -c %{secureboot_key_0} -n %{pesign_name_0} + rm -f $addon + mv $addon.signed $addon + done + +# signkernel +%endif + + # hmac sign the UKI for FIPS + KernelUnifiedImageHMAC="$KernelUnifiedImageDir/.$InstallName-virt.efi.hmac" + %{log_msg "hmac sign the UKI for FIPS"} + %{log_msg "Creating hmac file: $KernelUnifiedImageHMAC"} + (cd $KernelUnifiedImageDir && sha512hmac $InstallName-virt.efi) > $KernelUnifiedImageHMAC; + +# with_efiuki +%endif + : # in case of empty block + fi # "$Variant" == "rt" || "$Variant" == "rt-debug" || "$Variant" == "automotive" || "$Variant" == "automotive-debug" + + + # + # Generate the modules files lists + # + move_kmod_list() + { + local module_list="$1" + local subdir_name="$2" + + mkdir -p "$RPM_BUILD_ROOT/lib/modules/$KernelVer/$subdir_name" + + set +x + while read -r kmod; do + local target_file="$RPM_BUILD_ROOT/lib/modules/$KernelVer/$subdir_name/$kmod" + local target_dir="${target_file%/*}" + mkdir -p "$target_dir" + mv "$RPM_BUILD_ROOT/lib/modules/$KernelVer/kernel/$kmod" "$target_dir" + done < <(sed -e 's|^kernel/||' "$module_list") + set -x + } + + create_module_file_list() + { + # subdirectory within /lib/modules/$KernelVer where kmods should go + local module_subdir="$1" + # kmod list with relative paths produced by filtermods.py + local relative_kmod_list="$2" + # list with absolute paths to kmods and other files to be included + local absolute_file_list="$3" + # if 1, this adds also all kmod directories to absolute_file_list + local add_all_dirs="$4" + local run_mod_deny="$5" + + if [ "$module_subdir" != "kernel" ]; then + # move kmods into subdirs if needed (internal, partner, extra,..) + move_kmod_list $relative_kmod_list $module_subdir + fi + + # make kmod paths absolute + sed -e 's|^kernel/|/lib/modules/'$KernelVer'/'$module_subdir'/|' $relative_kmod_list > $absolute_file_list + + if [ "$run_mod_deny" -eq 1 ]; then + # run deny-mod script, this adds blacklist-* files to absolute_file_list + %{SOURCE20} "$RPM_BUILD_ROOT" lib/modules/$KernelVer $absolute_file_list + fi + +%if %{zipmodules} + # deny-mod script works with kmods as they are now (not compressed), + # but if they will be we need to add compext to all + sed -i %{?zipsed} $absolute_file_list +%endif + # add also dir for the case when there are no kmods + # "kernel" subdir is covered in %files section, skip it here + if [ "$module_subdir" != "kernel" ]; then + echo "%dir /lib/modules/$KernelVer/$module_subdir" >> $absolute_file_list + fi + + if [ "$add_all_dirs" -eq 1 ]; then + (cd $RPM_BUILD_ROOT; find lib/modules/$KernelVer/kernel -mindepth 1 -type d | sort -n) > ../module-dirs.list + sed -e 's|^lib|%dir /lib|' ../module-dirs.list >> $absolute_file_list + fi + } + + if [ $DoModules -eq 1 ]; then + # save modules.dep for debugging + cp $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.dep ../ + + %{log_msg "Create module list files for all kernel variants"} + variants_param="" + if [[ "$Variant" == "rt" || "$Variant" == "rt-debug" ]]; then + variants_param="-r rt" + fi + if [[ "$Variant" == "automotive" || "$Variant" == "automotive-debug" ]]; then + variants_param="-r automotive" + fi + # this creates ../modules-*.list output, where each kmod path is as it + # appears in modules.dep (relative to lib/modules/$KernelVer) + ret=0 + %{SOURCE22} -l "../filtermods-$KernelVer.log" sort -d $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.dep -c %{SOURCE1007} $variants_param -o .. || ret=$? + if [ $ret -ne 0 ]; then + echo "8< --- filtermods-$KernelVer.log ---" + cat "../filtermods-$KernelVer.log" + echo "--- filtermods-$KernelVer.log --- >8" + + echo "8< --- modules.dep ---" + cat $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.dep + echo "--- modules.dep --- >8" + exit 1 + fi + + create_module_file_list "kernel" ../modules-core.list ../kernel${Variant:+-${Variant}}-modules-core.list 1 0 + create_module_file_list "kernel" ../modules.list ../kernel${Variant:+-${Variant}}-modules.list 0 0 + create_module_file_list "internal" ../modules-internal.list ../kernel${Variant:+-${Variant}}-modules-internal.list 0 1 + create_module_file_list "kernel" ../modules-extra.list ../kernel${Variant:+-${Variant}}-modules-extra.list 0 1 + if [[ "$Variant" == "rt" || "$Variant" == "rt-debug" ]]; then + create_module_file_list "kvm" ../modules-rt-kvm.list ../kernel${Variant:+-${Variant}}-modules-rt-kvm.list 0 1 + fi +%if 0%{!?fedora:1} + create_module_file_list "partner" ../modules-partner.list ../kernel${Variant:+-${Variant}}-modules-partner.list 1 1 +%endif + fi # $DoModules -eq 1 + + remove_depmod_files() + { + # remove files that will be auto generated by depmod at rpm -i time + pushd $RPM_BUILD_ROOT/lib/modules/$KernelVer/ + # in case below list needs to be extended, remember to add a + # matching ghost entry in the files section as well + rm -f modules.{alias,alias.bin,builtin.alias.bin,builtin.bin} \ + modules.{dep,dep.bin,devname,softdep,symbols,symbols.bin,weakdep} + popd + } + + # Cleanup + %{log_msg "Cleanup build files"} + rm -f $RPM_BUILD_ROOT/System.map + %{log_msg "Remove depmod files"} + remove_depmod_files + +%if %{with_cross} + make -C $RPM_BUILD_ROOT/lib/modules/$KernelVer/build M=scripts clean + make -C $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/tools/bpf/resolve_btfids clean + sed -i 's/REBUILD_SCRIPTS_FOR_CROSS:=0/REBUILD_SCRIPTS_FOR_CROSS:=1/' $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Makefile +%endif + + # Move the devel headers out of the root file system + %{log_msg "Move the devel headers to RPM_BUILD_ROOT"} + mkdir -p $RPM_BUILD_ROOT/usr/src/kernels + mv $RPM_BUILD_ROOT/lib/modules/$KernelVer/build $RPM_BUILD_ROOT/$DevelDir + + # This is going to create a broken link during the build, but we don't use + # it after this point. We need the link to actually point to something + # when kernel-devel is installed, and a relative link doesn't work across + # the F17 UsrMove feature. + ln -sf $DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + +%if %{with_debuginfo} + # Generate vmlinux.h and put it to kernel-devel path + # zfcpdump build does not have btf anymore + if [ "$Variant" != "zfcpdump" ]; then + %{log_msg "Build the bootstrap bpftool to generate vmlinux.h"} + # Build the bootstrap bpftool to generate vmlinux.h + export BPFBOOTSTRAP_CFLAGS=$(echo "%{__global_compiler_flags}" | sed -r "s/\-specs=[^\ ]+\/redhat-annobin-cc1//") + export BPFBOOTSTRAP_LDFLAGS=$(echo "%{__global_ldflags}" | sed -r "s/\-specs=[^\ ]+\/redhat-annobin-cc1//") + CFLAGS="" LDFLAGS="" make EXTRA_CFLAGS="${BPFBOOTSTRAP_CFLAGS}" EXTRA_CXXFLAGS="${BPFBOOTSTRAP_CFLAGS}" EXTRA_LDFLAGS="${BPFBOOTSTRAP_LDFLAGS}" %{?make_opts} %{?clang_make_opts} V=1 -C tools/bpf/bpftool bootstrap + + tools/bpf/bpftool/bootstrap/bpftool btf dump file vmlinux format c > $RPM_BUILD_ROOT/$DevelDir/vmlinux.h + fi +%endif + + %{log_msg "Cleanup kernel-devel and kernel-debuginfo files"} + # prune junk from kernel-devel + find $RPM_BUILD_ROOT/usr/src/kernels -name ".*.cmd" -delete + # prune junk from kernel-debuginfo + find $RPM_BUILD_ROOT/usr/src/kernels -name "*.mod.c" -delete + + # Red Hat UEFI Secure Boot CA cert, which can be used to authenticate the kernel + %{log_msg "Install certs"} + mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer +%if %{signkernel} + install -m 0644 %{secureboot_ca_0} $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/kernel-signing-ca.cer + %ifarch s390x ppc64le + if [ -x /usr/bin/rpm-sign ]; then + install -m 0644 %{secureboot_key_0} $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/%{signing_key_filename} + fi + %endif +%endif + +%if 0%{?rhel} + # Red Hat IMA code-signing cert, which is used to authenticate package files + install -m 0644 %{ima_signing_cert} $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/%{ima_cert_name} +%endif + +%if %{signmodules} + if [ $DoModules -eq 1 ]; then + # Save the signing keys so we can sign the modules in __modsign_install_post + cp certs/signing_key.pem certs/signing_key.pem.sign${Variant:++${Variant}} + cp certs/signing_key.x509 certs/signing_key.x509.sign${Variant:++${Variant}} + %ifarch s390x ppc64le + if [ ! -x /usr/bin/rpm-sign ]; then + install -m 0644 certs/signing_key.x509.sign${Variant:++${Variant}} $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/kernel-signing-ca.cer + openssl x509 -in certs/signing_key.pem.sign${Variant:++${Variant}} -outform der -out $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/%{signing_key_filename} + chmod 0644 $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/%{signing_key_filename} + fi + %endif + fi +%endif + +%if %{with_ipaclones} + %{log_msg "install IPA clones"} + MAXPROCS=$(echo %{?_smp_mflags} | sed -n 's/-j\s*\([0-9]\+\)/\1/p') + if [ -z "$MAXPROCS" ]; then + MAXPROCS=1 + fi + if [ "$Variant" == "" ]; then + mkdir -p $RPM_BUILD_ROOT/$DevelDir-ipaclones + find . -name '*.ipa-clones' | xargs -i{} -r -n 1 -P $MAXPROCS install -m 644 -D "{}" "$RPM_BUILD_ROOT/$DevelDir-ipaclones/{}" + fi +%endif + +%if %{with_gcov} + popd +%endif +} + +### +# DO it... +### + +# prepare directories +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/boot +mkdir -p $RPM_BUILD_ROOT%{_libexecdir} + +cd linux-%{KVERREL} + +%if %{with_debug} +%if %{with_realtime} +BuildKernel %make_target %kernel_image %{_use_vdso} rt-debug +%endif + +%if %{with_automotive} +BuildKernel %make_target %kernel_image %{_use_vdso} automotive-debug +%endif + +%if %{with_arm64_16k} +BuildKernel %make_target %kernel_image %{_use_vdso} 16k-debug +%endif + +%if %{with_arm64_64k} +BuildKernel %make_target %kernel_image %{_use_vdso} 64k-debug +%endif + +%if %{with_up} +BuildKernel %make_target %kernel_image %{_use_vdso} debug +%endif +%endif + +%if %{with_zfcpdump} +BuildKernel %make_target %kernel_image %{_use_vdso} zfcpdump +%endif + +%if %{with_arm64_16k_base} +BuildKernel %make_target %kernel_image %{_use_vdso} 16k +%endif + +%if %{with_arm64_64k_base} +BuildKernel %make_target %kernel_image %{_use_vdso} 64k +%endif + +%if %{with_realtime_base} +BuildKernel %make_target %kernel_image %{_use_vdso} rt +%endif + +%if %{with_automotive_base} +BuildKernel %make_target %kernel_image %{_use_vdso} automotive +%endif + +%if %{with_up_base} +BuildKernel %make_target %kernel_image %{_use_vdso} +%endif + +%ifnarch noarch i686 %{nobuildarches} +%if !%{with_debug} && !%{with_zfcpdump} && !%{with_up} && !%{with_arm64_16k} && !%{with_arm64_64k} && !%{with_realtime} && !%{with_automotive} +# If only building the user space tools, then initialize the build environment +# and some variables so that the various userspace tools can be built. +%{log_msg "Initialize userspace tools build environment"} +InitBuildVars +# Some tests build also modules, and need Module.symvers +if ! [[ -e Module.symvers ]] && [[ -f $DevelDir/Module.symvers ]]; then + %{log_msg "Found Module.symvers in DevelDir, copying to ."} + cp "$DevelDir/Module.symvers" . +fi +%endif +%endif + +%ifarch aarch64 +%global perf_build_extra_opts CORESIGHT=1 +%endif +%global perf_make \ + %{__make} %{?make_opts} EXTRA_CFLAGS="${RPM_OPT_FLAGS}" EXTRA_CXXFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags} -Wl,-E" %{?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} +%if %{with_perf} +%{log_msg "Build perf"} +# perf +# make sure check-headers.sh is executable +chmod +x tools/perf/check-headers.sh +%{perf_make} DESTDIR=$RPM_BUILD_ROOT all +%endif + +%if %{with_libperf} +%global libperf_make \ + %{__make} %{?make_opts} EXTRA_CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" %{?cross_opts} -C tools/lib/perf V=1 + %{log_msg "build libperf"} +%{libperf_make} DESTDIR=$RPM_BUILD_ROOT +%endif + +%global tools_make \ + CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" EXTRA_CFLAGS="${RPM_OPT_FLAGS}" %{make} %{?make_opts} + +%if %{with_tools} +%ifarch %{cpupowerarchs} +# cpupower +# make sure version-gen.sh is executable. +chmod +x tools/power/cpupower/utils/version-gen.sh +%{log_msg "build cpupower"} +%{tools_make} %{?_smp_mflags} -C tools/power/cpupower CPUFREQ_BENCH=false DEBUG=false +%ifarch x86_64 + pushd tools/power/cpupower/debug/x86_64 + %{log_msg "build centrino-decode powernow-k8-decode"} + %{tools_make} %{?_smp_mflags} centrino-decode powernow-k8-decode + popd +%endif +%ifarch x86_64 + pushd tools/power/x86/x86_energy_perf_policy/ + %{log_msg "build x86_energy_perf_policy"} + %{tools_make} + popd + pushd tools/power/x86/turbostat + %{log_msg "build turbostat"} + %{tools_make} + popd + pushd tools/power/x86/intel-speed-select + %{log_msg "build intel-speed-select"} + %{tools_make} + popd + pushd tools/arch/x86/intel_sdsi + %{log_msg "build intel_sdsi"} + %{tools_make} CFLAGS="${RPM_OPT_FLAGS}" + popd +%endif +%endif +pushd tools/thermal/tmon/ +%{log_msg "build tmon"} +%{tools_make} +popd +pushd tools/bootconfig/ +%{log_msg "build bootconfig"} +%{tools_make} +popd +pushd tools/iio/ +%{log_msg "build iio"} +%{tools_make} +popd +pushd tools/gpio/ +%{log_msg "build gpio"} +%{tools_make} +popd +# build VM tools +pushd tools/mm/ +%{log_msg "build slabinfo page_owner_sort"} +%{tools_make} slabinfo page_owner_sort +popd +pushd tools/verification/rv/ +%{log_msg "build rv"} +%{tools_make} +popd +pushd tools/tracing/rtla +%{log_msg "build rtla"} +%{tools_make} +popd +%endif + +if [ -f $DevelDir/vmlinux.h ]; then + RPM_VMLINUX_H=$DevelDir/vmlinux.h +fi +echo "${RPM_VMLINUX_H}" > ../vmlinux_h_path + +%if %{with_selftests} +%{log_msg "start build selftests"} +# Unfortunately, samples/bpf/Makefile expects that the headers are installed +# in the source tree. We installed them previously to $RPM_BUILD_ROOT/usr +# but there's no way to tell the Makefile to take them from there. +%{log_msg "install headers for selftests"} +%{make} %{?_smp_mflags} headers_install + +# If we re building only tools without kernel, we need to generate config +# headers and prepare tree for modules building. The modules_prepare target +# will cover both. +if [ ! -f include/generated/autoconf.h ]; then + %{log_msg "modules_prepare for selftests"} + %{make} %{?_smp_mflags} modules_prepare +fi + +%{log_msg "build samples/bpf"} +%{make} %{?_smp_mflags} ARCH=$Arch V=1 M=samples/bpf/ VMLINUX_H="${RPM_VMLINUX_H}" || true + +pushd tools/testing/selftests +# We need to install here because we need to call make with ARCH set which +# doesn't seem possible to do in the install section. +%if %{selftests_must_build} + force_targets="FORCE_TARGETS=1" +%else + force_targets="" +%endif + +%{log_msg "main selftests compile"} +%{make} %{?_smp_mflags} ARCH=$Arch V=1 TARGETS="bpf cgroup mm net net/forwarding net/mptcp netfilter tc-testing memfd drivers/net/bonding iommu cachestat" SKIP_TARGETS="" $force_targets INSTALL_PATH=%{buildroot}%{_libexecdir}/kselftests VMLINUX_H="${RPM_VMLINUX_H}" install + +%ifarch %{klptestarches} + # kernel livepatching selftest test_modules will build against + # /lib/modules/$(shell uname -r)/build tree unless KDIR is set + export KDIR=$(realpath $(pwd)/../../..) + %{make} %{?_smp_mflags} ARCH=$Arch V=1 TARGETS="livepatch" SKIP_TARGETS="" $force_targets INSTALL_PATH=%{buildroot}%{_libexecdir}/kselftests VMLINUX_H="${RPM_VMLINUX_H}" install || true +%endif + +# 'make install' for bpf is broken and upstream refuses to fix it. +# Install the needed files manually. +%{log_msg "install selftests"} +for dir in bpf bpf/no_alu32 bpf/progs; do + # In ARK, the rpm build continues even if some of the selftests + # cannot be built. It's not always possible to build selftests, + # as upstream sometimes dependens on too new llvm version or has + # other issues. If something did not get built, just skip it. + test -d $dir || continue + mkdir -p %{buildroot}%{_libexecdir}/kselftests/$dir + find $dir -maxdepth 1 -type f \( -executable -o -name '*.py' -o -name settings -o \ + -name 'btf_dump_test_case_*.c' -o -name '*.ko' -o \ + -name '*.o' -exec sh -c 'readelf -h "{}" | grep -q "^ Machine:.*BPF"' \; \) -print0 | \ + xargs -0 cp -t %{buildroot}%{_libexecdir}/kselftests/$dir || true +done +%buildroot_save_unstripped "usr/libexec/kselftests/bpf/test_progs" +%buildroot_save_unstripped "usr/libexec/kselftests/bpf/test_progs-no_alu32" +popd +%{log_msg "end build selftests"} +%endif + +%if %{with_doc} +%{log_msg "start install docs"} +# Make the HTML pages. +%{log_msg "build html docs"} +%{__make} PYTHON=/usr/bin/python3 htmldocs || %{doc_build_fail} + +# sometimes non-world-readable files sneak into the kernel source tree +chmod -R a=rX Documentation +find Documentation -type d | xargs chmod u+w +%{log_msg "end install docs"} +%endif + +# Module signing (modsign) +# +# This must be run _after_ find-debuginfo.sh runs, otherwise that will strip +# the signature off of the modules. +# +# Don't sign modules for the zfcpdump variant as it is monolithic. + +%define __modsign_install_post \ + if [ "%{signmodules}" -eq "1" ]; then \ + %{log_msg "Signing kernel modules ..."} \ + modules_dirs="$(shopt -s nullglob; echo $RPM_BUILD_ROOT/lib/modules/%{KVERREL}*)" \ + for modules_dir in $modules_dirs; do \ + variant_suffix="${modules_dir#$RPM_BUILD_ROOT/lib/modules/%{KVERREL}}" \ + [ "$variant_suffix" == "+zfcpdump" ] && continue \ + %{log_msg "Signing modules for %{KVERREL}${variant_suffix}"} \ + %{modsign_cmd} certs/signing_key.pem.sign${variant_suffix} certs/signing_key.x509.sign${variant_suffix} $modules_dir/ \ + done \ + fi \ + if [ "%{zipmodules}" -eq "1" ]; then \ + %{log_msg "Compressing kernel modules ..."} \ + find $RPM_BUILD_ROOT/lib/modules/ -type f -name '*.ko' | xargs -n 16 -P${RPM_BUILD_NCPUS} -r %compression %compression_flags; \ + fi \ +%{nil} + +### +### Special hacks for debuginfo subpackages. +### + +# This macro is used by %%install, so we must redefine it before that. +%define debug_package %{nil} + +%if %{with_debuginfo} + +%ifnarch noarch %{nobuildarches} +%global __debug_package 1 +%files -f debugfiles.list debuginfo-common-%{_target_cpu} +%endif + +%endif + +# We don't want to package debuginfo for self-tests and samples but +# we have to delete them to avoid an error messages about unpackaged +# files. +# Delete the debuginfo for kernel-devel files +%define __remove_unwanted_dbginfo_install_post \ + if [ "%{with_selftests}" -ne "0" ]; then \ + rm -rf $RPM_BUILD_ROOT/usr/lib/debug/usr/libexec/ksamples; \ + rm -rf $RPM_BUILD_ROOT/usr/lib/debug/usr/libexec/kselftests; \ + fi \ + rm -rf $RPM_BUILD_ROOT/usr/lib/debug/usr/src; \ +%{nil} + +# +# Disgusting hack alert! We need to ensure we sign modules *after* all +# invocations of strip occur, which is in __debug_install_post if +# find-debuginfo.sh runs, and __os_install_post if not. +# +%define __spec_install_post \ + %{?__debug_package:%{__debug_install_post}}\ + %{__arch_install_post}\ + %{__os_install_post}\ + %{__remove_unwanted_dbginfo_install_post}\ + %{__restore_unstripped_root_post}\ + %{__modsign_install_post} + +### +### install +### + +%install + +cd linux-%{KVERREL} + +# re-define RPM_VMLINUX_H, because it doesn't carry over from %build +RPM_VMLINUX_H="$(cat ../vmlinux_h_path)" + +%if %{with_doc} +docdir=$RPM_BUILD_ROOT%{_datadir}/doc/kernel-doc-%{specversion}-%{pkgrelease} + +# copy the source over +mkdir -p $docdir +tar -h -f - --exclude=man --exclude='.*' -c Documentation | tar xf - -C $docdir +cat %{SOURCE2} | xz > $docdir/kernel.changelog.xz +chmod 0644 $docdir/kernel.changelog.xz + +# with_doc +%endif + +# We have to do the headers install before the tools install because the +# kernel headers_install will remove any header files in /usr/include that +# it doesn't install itself. + +%if %{with_headers} +# Install kernel headers +%{__make} ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_install + +find $RPM_BUILD_ROOT/usr/include \ + \( -name .install -o -name .check -o \ + -name ..install.cmd -o -name ..check.cmd \) -delete + +%endif + +%if %{with_cross_headers} +HDR_ARCH_LIST='arm64 powerpc s390 x86 riscv' +mkdir -p $RPM_BUILD_ROOT/usr/tmp-headers + +for arch in $HDR_ARCH_LIST; do + mkdir $RPM_BUILD_ROOT/usr/tmp-headers/arch-${arch} + %{__make} ARCH=${arch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr/tmp-headers/arch-${arch} headers_install +done + +find $RPM_BUILD_ROOT/usr/tmp-headers \ + \( -name .install -o -name .check -o \ + -name ..install.cmd -o -name ..check.cmd \) -delete + +# Copy all the architectures we care about to their respective asm directories +for arch in $HDR_ARCH_LIST ; do + mkdir -p $RPM_BUILD_ROOT/usr/${arch}-linux-gnu/include + mv $RPM_BUILD_ROOT/usr/tmp-headers/arch-${arch}/include/* $RPM_BUILD_ROOT/usr/${arch}-linux-gnu/include/ +done + +rm -rf $RPM_BUILD_ROOT/usr/tmp-headers +%endif + +%if %{with_kernel_abi_stablelists} +# kabi directory +INSTALL_KABI_PATH=$RPM_BUILD_ROOT/lib/modules/ +mkdir -p $INSTALL_KABI_PATH + +# install kabi releases directories +tar -xvf %{SOURCE300} -C $INSTALL_KABI_PATH +# with_kernel_abi_stablelists +%endif + +%if %{with_perf} +# perf tool binary and supporting scripts/binaries +%{perf_make} DESTDIR=$RPM_BUILD_ROOT lib=%{_lib} install-bin +# remove the 'trace' symlink. +rm -f %{buildroot}%{_bindir}/trace + +# For both of the below, yes, this should be using a macro but right now +# it's hard coded and we don't actually want it anyway right now. +# Whoever wants examples can fix it up! + +# remove examples +rm -rf %{buildroot}/usr/lib/perf/examples +rm -rf %{buildroot}/usr/lib/perf/include + +# python-perf extension +%{perf_make} DESTDIR=$RPM_BUILD_ROOT install-python_ext + +# perf man pages (note: implicit rpm magic compresses them later) +mkdir -p %{buildroot}/%{_mandir}/man1 +%{perf_make} DESTDIR=$RPM_BUILD_ROOT install-man + +# remove any tracevent files, eg. its plugins still gets built and installed, +# even if we build against system's libtracevent during perf build (by setting +# LIBTRACEEVENT_DYNAMIC=1 above in perf_make macro). Those files should already +# ship with libtraceevent package. +rm -rf %{buildroot}%{_libdir}/traceevent +%endif + +%if %{with_libperf} +%{libperf_make} DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{_libdir} install install_headers +# This is installed on some arches and we don't want to ship it +rm -rf %{buildroot}%{_libdir}/libperf.a +%endif + +%if %{with_tools} +%ifarch %{cpupowerarchs} +%{make} -C tools/power/cpupower DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} mandir=%{_mandir} CPUFREQ_BENCH=false install +%find_lang cpupower +mv cpupower.lang ../ +%ifarch x86_64 + pushd tools/power/cpupower/debug/x86_64 + install -m755 centrino-decode %{buildroot}%{_bindir}/centrino-decode + install -m755 powernow-k8-decode %{buildroot}%{_bindir}/powernow-k8-decode + popd +%endif +chmod 0755 %{buildroot}%{_libdir}/libcpupower.so* +%endif +%ifarch x86_64 + mkdir -p %{buildroot}%{_mandir}/man8 + pushd tools/power/x86/x86_energy_perf_policy + %{tools_make} DESTDIR=%{buildroot} install + popd + pushd tools/power/x86/turbostat + %{tools_make} DESTDIR=%{buildroot} install + popd + pushd tools/power/x86/intel-speed-select + %{tools_make} DESTDIR=%{buildroot} install + popd + pushd tools/arch/x86/intel_sdsi + %{tools_make} CFLAGS="${RPM_OPT_FLAGS}" DESTDIR=%{buildroot} install + popd +%endif +pushd tools/thermal/tmon +%{tools_make} INSTALL_ROOT=%{buildroot} install +popd +pushd tools/bootconfig +%{tools_make} DESTDIR=%{buildroot} install +popd +pushd tools/iio +%{tools_make} DESTDIR=%{buildroot} install +popd +pushd tools/gpio +%{tools_make} DESTDIR=%{buildroot} install +popd +install -m644 -D %{SOURCE2002} %{buildroot}%{_sysconfdir}/logrotate.d/kvm_stat +pushd tools/kvm/kvm_stat +%{__make} INSTALL_ROOT=%{buildroot} install-tools +%{__make} INSTALL_ROOT=%{buildroot} install-man +install -m644 -D kvm_stat.service %{buildroot}%{_unitdir}/kvm_stat.service +popd +# install VM tools +pushd tools/mm/ +install -m755 slabinfo %{buildroot}%{_bindir}/slabinfo +install -m755 page_owner_sort %{buildroot}%{_bindir}/page_owner_sort +popd +pushd tools/verification/rv/ +%{tools_make} DESTDIR=%{buildroot} install +popd +pushd tools/tracing/rtla/ +%{tools_make} DESTDIR=%{buildroot} install +rm -f %{buildroot}%{_bindir}/hwnoise +rm -f %{buildroot}%{_bindir}/osnoise +rm -f %{buildroot}%{_bindir}/timerlat +(cd %{buildroot} + + ln -sf rtla ./%{_bindir}/hwnoise + ln -sf rtla ./%{_bindir}/osnoise + ln -sf rtla ./%{_bindir}/timerlat +) +popd +%endif + +%if %{with_selftests} +pushd samples +install -d %{buildroot}%{_libexecdir}/ksamples +# install bpf samples +pushd bpf +install -d %{buildroot}%{_libexecdir}/ksamples/bpf +find -type f -executable -exec install -m755 {} %{buildroot}%{_libexecdir}/ksamples/bpf \; +install -m755 *.sh %{buildroot}%{_libexecdir}/ksamples/bpf +# test_lwt_bpf.sh compiles test_lwt_bpf.c when run; this works only from the +# kernel tree. Just remove it. +rm %{buildroot}%{_libexecdir}/ksamples/bpf/test_lwt_bpf.sh +install -m644 *_kern.o %{buildroot}%{_libexecdir}/ksamples/bpf || true +install -m644 tcp_bpf.readme %{buildroot}%{_libexecdir}/ksamples/bpf +popd +# install pktgen samples +pushd pktgen +install -d %{buildroot}%{_libexecdir}/ksamples/pktgen +find . -type f -executable -exec install -m755 {} %{buildroot}%{_libexecdir}/ksamples/pktgen/{} \; +find . -type f ! -executable -exec install -m644 {} %{buildroot}%{_libexecdir}/ksamples/pktgen/{} \; +popd +popd +# install mm selftests +pushd tools/testing/selftests/mm +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/mm/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/mm/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/mm/{} \; +popd +# install cgroup selftests +pushd tools/testing/selftests/cgroup +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/cgroup/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/cgroup/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/cgroup/{} \; +popd +# install drivers/net/mlxsw selftests +pushd tools/testing/selftests/drivers/net/mlxsw +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/drivers/net/mlxsw/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/drivers/net/mlxsw/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/drivers/net/mlxsw/{} \; +popd +# install drivers/net/netdevsim selftests +pushd tools/testing/selftests/drivers/net/netdevsim +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/drivers/net/netdevsim/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/drivers/net/netdevsim/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/drivers/net/netdevsim/{} \; +popd +# install drivers/net/bonding selftests +pushd tools/testing/selftests/drivers/net/bonding +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/drivers/net/bonding/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/drivers/net/bonding/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/drivers/net/bonding/{} \; +popd +# install net/forwarding selftests +pushd tools/testing/selftests/net/forwarding +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/net/forwarding/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/net/forwarding/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/net/forwarding/{} \; +popd +# install net/mptcp selftests +pushd tools/testing/selftests/net/mptcp +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/net/mptcp/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/net/mptcp/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/net/mptcp/{} \; +popd +# install tc-testing selftests +pushd tools/testing/selftests/tc-testing +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/tc-testing/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/tc-testing/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/tc-testing/{} \; +popd +# install livepatch selftests +pushd tools/testing/selftests/livepatch +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/livepatch/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/livepatch/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/livepatch/{} \; +popd +# install netfilter selftests +pushd tools/testing/selftests/netfilter +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/netfilter/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/netfilter/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/netfilter/{} \; +popd + +# install memfd selftests +pushd tools/testing/selftests/memfd +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/memfd/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/memfd/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/memfd/{} \; +popd +# install iommu selftests +pushd tools/testing/selftests/iommu +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/iommu/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/iommu/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/iommu/{} \; +popd +%endif + +### +### clean +### + +### +### scripts +### + +%if %{with_tools} +%post -n %{package_name}-tools-libs +/sbin/ldconfig + +%postun -n %{package_name}-tools-libs +/sbin/ldconfig +%endif + +# +# This macro defines a %%post script for a kernel*-devel package. +# %%kernel_devel_post [] +# Note we don't run hardlink if ostree is in use, as ostree is +# a far more sophisticated hardlink implementation. +# https://github.com/projectatomic/rpm-ostree/commit/58a79056a889be8814aa51f507b2c7a4dccee526 +# +# The deletion of *.hardlink-temporary files is a temporary workaround +# for this bug in the hardlink binary (fixed in util-linux 2.38): +# https://github.com/util-linux/util-linux/issues/1602 +# +%define kernel_devel_post() \ +%{expand:%%post %{?1:%{1}-}devel}\ +if [ -f /etc/sysconfig/kernel ]\ +then\ + . /etc/sysconfig/kernel || exit $?\ +fi\ +if [ "$HARDLINK" != "no" -a -x /usr/bin/hardlink -a ! -e /run/ostree-booted ] \ +then\ + (cd /usr/src/kernels/%{KVERREL}%{?1:+%{1}} &&\ + /usr/bin/find . -type f | while read f; do\ + hardlink -c /usr/src/kernels/*%{?dist}.*/$f $f > /dev/null\ + done;\ + /usr/bin/find /usr/src/kernels -type f -name '*.hardlink-temporary' -delete\ + )\ +fi\ +%if %{with_cross}\ + echo "Building scripts and resolve_btfids"\ + env --unset=ARCH make -C /usr/src/kernels/%{KVERREL}%{?1:+%{1}} prepare_after_cross\ +%endif\ +%{nil} + +# +# This macro defines a %%post script for a kernel*-modules-extra package. +# It also defines a %%postun script that does the same thing. +# %%kernel_modules_extra_post [] +# +%define kernel_modules_extra_post() \ +%{expand:%%post %{?1:%{1}-}modules-extra}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil}\ +%{expand:%%postun %{?1:%{1}-}modules-extra}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil} + +# +# This macro defines a %%post script for a kernel*-modules-internal package. +# It also defines a %%postun script that does the same thing. +# %%kernel_modules_internal_post [] +# +%define kernel_modules_internal_post() \ +%{expand:%%post %{?1:%{1}-}modules-internal}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil}\ +%{expand:%%postun %{?1:%{1}-}modules-internal}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil} + +# +# This macro defines a %%post script for a kernel*-modules-partner package. +# It also defines a %%postun script that does the same thing. +# %%kernel_modules_partner_post [] +# +%define kernel_modules_partner_post() \ +%{expand:%%post %{?1:%{1}-}modules-partner}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil}\ +%{expand:%%postun %{?1:%{1}-}modules-partner}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil} + +%if %{with_realtime} +# +# This macro defines a %%post script for a kernel*-kvm package. +# It also defines a %%postun script that does the same thing. +# %%kernel_kvm_post [] +# +%define kernel_kvm_post() \ +%{expand:%%post %{?1:%{1}-}kvm}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil}\ +%{expand:%%postun %{?1:%{1}-}kvm}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil} +%endif + +# +# This macro defines a %%post script for a kernel*-modules package. +# It also defines a %%postun script that does the same thing. +# %%kernel_modules_post [] +# +%define kernel_modules_post() \ +%{expand:%%post %{?1:%{1}-}modules}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +if [ ! -f %{_localstatedir}/lib/rpm-state/%{name}/installing_core_%{KVERREL}%{?1:+%{1}} ]; then\ + mkdir -p %{_localstatedir}/lib/rpm-state/%{name}\ + touch %{_localstatedir}/lib/rpm-state/%{name}/need_to_run_dracut_%{KVERREL}%{?1:+%{1}}\ +fi\ +%{nil}\ +%{expand:%%postun %{?1:%{1}-}modules}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil}\ +%{expand:%%posttrans %{?1:%{1}-}modules}\ +if [ -f %{_localstatedir}/lib/rpm-state/%{name}/need_to_run_dracut_%{KVERREL}%{?1:+%{1}} ]; then\ + rm -f %{_localstatedir}/lib/rpm-state/%{name}/need_to_run_dracut_%{KVERREL}%{?1:+%{1}}\ + echo "Running: dracut -f --kver %{KVERREL}%{?1:+%{1}}"\ + dracut -f --kver "%{KVERREL}%{?1:+%{1}}" || exit $?\ +fi\ +%{nil} + +# +# This macro defines a %%post script for a kernel*-modules-core package. +# %%kernel_modules_core_post [] +# +%define kernel_modules_core_post() \ +%{expand:%%posttrans %{?1:%{1}-}modules-core}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil} + +# This macro defines a %%posttrans script for a kernel package. +# %%kernel_variant_posttrans [-v ] [-u uki-suffix] +# More text can follow to go at the end of this variant's %%post. +# +%define kernel_variant_posttrans(v:u:) \ +%{expand:%%posttrans %{?-v:%{-v*}-}%{!?-u*:core}%{?-u*:uki-%{-u*}}}\ +%if 0%{!?fedora:1}\ +%if !%{with_automotive}\ +if [ -x %{_sbindir}/weak-modules ]\ +then\ + %{_sbindir}/weak-modules --add-kernel %{KVERREL}%{?-v:+%{-v*}} || exit $?\ +fi\ +%endif\ +%endif\ +rm -f %{_localstatedir}/lib/rpm-state/%{name}/installing_core_%{KVERREL}%{?-v:+%{-v*}}\ +/bin/kernel-install add %{KVERREL}%{?-v:+%{-v*}} /lib/modules/%{KVERREL}%{?-v:+%{-v*}}/vmlinuz%{?-u:-%{-u*}.efi} || exit $?\ +if [[ ! -e "/boot/symvers-%{KVERREL}%{?-v:+%{-v*}}.%compext" ]]; then\ + cp "/lib/modules/%{KVERREL}%{?-v:+%{-v*}}/symvers.%compext" "/boot/symvers-%{KVERREL}%{?-v:+%{-v*}}.%compext"\ + if command -v restorecon &>/dev/null; then\ + restorecon "/boot/symvers-%{KVERREL}%{?-v:+%{-v*}}.%compext"\ + fi\ +fi\ +%{nil} + +# +# This macro defines a %%post script for a kernel package and its devel package. +# %%kernel_variant_post [-v ] [-r ] +# More text can follow to go at the end of this variant's %%post. +# +%define kernel_variant_post(v:r:) \ +%{expand:%%kernel_devel_post %{?-v*}}\ +%{expand:%%kernel_modules_post %{?-v*}}\ +%{expand:%%kernel_modules_core_post %{?-v*}}\ +%{expand:%%kernel_modules_extra_post %{?-v*}}\ +%{expand:%%kernel_modules_internal_post %{?-v*}}\ +%if 0%{!?fedora:1}\ +%{expand:%%kernel_modules_partner_post %{?-v*}}\ +%endif\ +%{expand:%%kernel_variant_posttrans %{?-v*:-v %{-v*}}}\ +%{expand:%%post %{?-v*:%{-v*}-}core}\ +%{-r:\ +if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ] &&\ + [ -f /etc/sysconfig/kernel ]; then\ + /bin/sed -r -i -e 's/^DEFAULTKERNEL=%{-r*}$/DEFAULTKERNEL=kernel%{?-v:-%{-v*}}/' /etc/sysconfig/kernel || exit $?\ +fi}\ +mkdir -p %{_localstatedir}/lib/rpm-state/%{name}\ +touch %{_localstatedir}/lib/rpm-state/%{name}/installing_core_%{KVERREL}%{?-v:+%{-v*}}\ +%{nil} + +# +# This macro defines a %%preun script for a kernel package. +# %%kernel_variant_preun [-v ] -u [uki-suffix] +# +%define kernel_variant_preun(v:u:) \ +%{expand:%%preun %{?-v:%{-v*}-}%{!?-u*:core}%{?-u*:uki-%{-u*}}}\ +/bin/kernel-install remove %{KVERREL}%{?-v:+%{-v*}} || exit $?\ +%if !%{with_automotive}\ +if [ -x %{_sbindir}/weak-modules ]\ +then\ + %{_sbindir}/weak-modules --remove-kernel %{KVERREL}%{?-v:+%{-v*}} || exit $?\ +fi\ +%endif\ +%{nil} + +%if %{with_up_base} && %{with_efiuki} +%kernel_variant_posttrans -u virt +%kernel_variant_preun -u virt +%endif + +%if %{with_up_base} +%kernel_variant_preun +%kernel_variant_post +%endif + +%if %{with_zfcpdump} +%kernel_variant_preun -v zfcpdump +%kernel_variant_post -v zfcpdump +%endif + +%if %{with_up} && %{with_debug} && %{with_efiuki} +%kernel_variant_posttrans -v debug -u virt +%kernel_variant_preun -v debug -u virt +%endif + +%if %{with_up} && %{with_debug} +%kernel_variant_preun -v debug +%kernel_variant_post -v debug +%endif + +%if %{with_arm64_16k_base} +%kernel_variant_preun -v 16k +%kernel_variant_post -v 16k +%endif + +%if %{with_debug} && %{with_arm64_16k} +%kernel_variant_preun -v 16k-debug +%kernel_variant_post -v 16k-debug +%endif + +%if %{with_arm64_16k} && %{with_debug} && %{with_efiuki} +%kernel_variant_posttrans -v 16k-debug -u virt +%kernel_variant_preun -v 16k-debug -u virt +%endif + +%if %{with_arm64_16k_base} && %{with_efiuki} +%kernel_variant_posttrans -v 16k -u virt +%kernel_variant_preun -v 16k -u virt +%endif + +%if %{with_arm64_64k_base} +%kernel_variant_preun -v 64k +%kernel_variant_post -v 64k +%endif + +%if %{with_debug} && %{with_arm64_64k} +%kernel_variant_preun -v 64k-debug +%kernel_variant_post -v 64k-debug +%endif + +%if %{with_arm64_64k} && %{with_debug} && %{with_efiuki} +%kernel_variant_posttrans -v 64k-debug -u virt +%kernel_variant_preun -v 64k-debug -u virt +%endif + +%if %{with_arm64_64k_base} && %{with_efiuki} +%kernel_variant_posttrans -v 64k -u virt +%kernel_variant_preun -v 64k -u virt +%endif + +%if %{with_realtime_base} +%kernel_variant_preun -v rt +%kernel_variant_post -v rt -r kernel +%kernel_kvm_post rt +%endif + +%if %{with_automotive_base} +%kernel_variant_preun -v automotive +%kernel_variant_post -v automotive -r kernel +%endif + +%if %{with_realtime} && %{with_debug} +%kernel_variant_preun -v rt-debug +%kernel_variant_post -v rt-debug +%kernel_kvm_post rt-debug +%endif + +%if %{with_automotive} && %{with_debug} +%kernel_variant_preun -v automotive-debug +%kernel_variant_post -v automotive-debug +%endif + +### +### file lists +### + +%if %{with_headers} +%files headers +/usr/include/* +%exclude %{_includedir}/cpufreq.h +%endif + +%if %{with_cross_headers} +%files cross-headers +/usr/*-linux-gnu/include/* +%endif + +%if %{with_kernel_abi_stablelists} +%files -n %{package_name}-abi-stablelists +/lib/modules/kabi-* +%endif + +%if %{with_kabidw_base} +%ifarch x86_64 s390x ppc64 ppc64le aarch64 riscv64 +%files kernel-kabidw-base-internal +%defattr(-,root,root) +/kabidw-base/%{_target_cpu}/* +%endif +%endif + +# only some architecture builds need kernel-doc +%if %{with_doc} +%files doc +%defattr(-,root,root) +%{_datadir}/doc/kernel-doc-%{specversion}-%{pkgrelease}/Documentation/* +%dir %{_datadir}/doc/kernel-doc-%{specversion}-%{pkgrelease}/Documentation +%dir %{_datadir}/doc/kernel-doc-%{specversion}-%{pkgrelease} +%{_datadir}/doc/kernel-doc-%{specversion}-%{pkgrelease}/kernel.changelog.xz +%endif + +%if %{with_perf} +%files -n perf +%{_bindir}/perf +%{_libdir}/libperf-jvmti.so +%dir %{_libexecdir}/perf-core +%{_libexecdir}/perf-core/* +%{_datadir}/perf-core/* +%{_mandir}/man[1-8]/perf* +%{_sysconfdir}/bash_completion.d/perf +%doc linux-%{KVERREL}/tools/perf/Documentation/examples.txt +%{_docdir}/perf-tip/tips.txt +%{_includedir}/perf/perf_dlfilter.h + +%files -n python3-perf +%{python3_sitearch}/* + +%if %{with_debuginfo} +%files -f perf-debuginfo.list -n perf-debuginfo + +%files -f python3-perf-debuginfo.list -n python3-perf-debuginfo +%endif +# with_perf +%endif + +%if %{with_libperf} +%files -n libperf +%{_libdir}/libperf.so.0 +%{_libdir}/libperf.so.0.0.1 + +%files -n libperf-devel +%{_libdir}/libperf.so +%{_libdir}/pkgconfig/libperf.pc +%{_includedir}/internal/*.h +%{_includedir}/perf/bpf_perf.h +%{_includedir}/perf/core.h +%{_includedir}/perf/cpumap.h +%{_includedir}/perf/event.h +%{_includedir}/perf/evlist.h +%{_includedir}/perf/evsel.h +%{_includedir}/perf/mmap.h +%{_includedir}/perf/threadmap.h +%{_mandir}/man3/libperf.3.gz +%{_mandir}/man7/libperf-counting.7.gz +%{_mandir}/man7/libperf-sampling.7.gz +%{_docdir}/libperf/examples/sampling.c +%{_docdir}/libperf/examples/counting.c +%{_docdir}/libperf/html/libperf.html +%{_docdir}/libperf/html/libperf-counting.html +%{_docdir}/libperf/html/libperf-sampling.html + +%if %{with_debuginfo} +%files -f libperf-debuginfo.list -n libperf-debuginfo +%endif + +# with_libperf +%endif + + +%if %{with_tools} +%ifnarch %{cpupowerarchs} +%files -n %{package_name}-tools +%else +%files -n %{package_name}-tools -f cpupower.lang +%{_bindir}/cpupower +%{_datadir}/bash-completion/completions/cpupower +%ifarch x86_64 +%{_bindir}/centrino-decode +%{_bindir}/powernow-k8-decode +%endif +%{_mandir}/man[1-8]/cpupower* +%ifarch x86_64 +%{_bindir}/x86_energy_perf_policy +%{_mandir}/man8/x86_energy_perf_policy* +%{_bindir}/turbostat +%{_mandir}/man8/turbostat* +%{_bindir}/intel-speed-select +%{_sbindir}/intel_sdsi +%endif +# cpupowerarchs +%endif +%{_bindir}/tmon +%{_bindir}/bootconfig +%{_bindir}/iio_event_monitor +%{_bindir}/iio_generic_buffer +%{_bindir}/lsiio +%{_bindir}/lsgpio +%{_bindir}/gpio-hammer +%{_bindir}/gpio-event-mon +%{_bindir}/gpio-watch +%{_mandir}/man1/kvm_stat* +%{_bindir}/kvm_stat +%{_unitdir}/kvm_stat.service +%config(noreplace) %{_sysconfdir}/logrotate.d/kvm_stat +%{_bindir}/page_owner_sort +%{_bindir}/slabinfo + +%if %{with_debuginfo} +%files -f %{package_name}-tools-debuginfo.list -n %{package_name}-tools-debuginfo +%endif + +%ifarch %{cpupowerarchs} +%files -n %{package_name}-tools-libs +%{_libdir}/libcpupower.so.1 +%{_libdir}/libcpupower.so.0.0.1 + +%files -n %{package_name}-tools-libs-devel +%{_libdir}/libcpupower.so +%{_includedir}/cpufreq.h +%{_includedir}/cpuidle.h +%{_includedir}/powercap.h +%endif + +%files -n rtla +%{_bindir}/rtla +%{_bindir}/hwnoise +%{_bindir}/osnoise +%{_bindir}/timerlat +%{_mandir}/man1/rtla-hwnoise.1.gz +%{_mandir}/man1/rtla-osnoise-hist.1.gz +%{_mandir}/man1/rtla-osnoise-top.1.gz +%{_mandir}/man1/rtla-osnoise.1.gz +%{_mandir}/man1/rtla-timerlat-hist.1.gz +%{_mandir}/man1/rtla-timerlat-top.1.gz +%{_mandir}/man1/rtla-timerlat.1.gz +%{_mandir}/man1/rtla.1.gz + +%files -n rv +%{_bindir}/rv +%{_mandir}/man1/rv-list.1.gz +%{_mandir}/man1/rv-mon-wip.1.gz +%{_mandir}/man1/rv-mon-wwnr.1.gz +%{_mandir}/man1/rv-mon.1.gz +%{_mandir}/man1/rv.1.gz + +# with_tools +%endif + +%if %{with_selftests} +%files selftests-internal +%{_libexecdir}/ksamples +%{_libexecdir}/kselftests +%endif + +# empty meta-package +%if %{with_up_base} +%ifnarch %nobuildarches noarch +%files +%endif +%endif + +# This is %%{image_install_path} on an arch where that includes ELF files, +# or empty otherwise. +%define elf_image_install_path %{?kernel_image_elf:%{image_install_path}} + +# +# This macro defines the %%files sections for a kernel package +# and its devel and debuginfo packages. +# %%kernel_variant_files [-k vmlinux] +# +%define kernel_variant_files(k:) \ +%if %{2}\ +%{expand:%%files %{?1:-f kernel-%{?3:%{3}-}ldsoconf.list} %{?3:%{3}-}core}\ +%{!?_licensedir:%global license %%doc}\ +%%license linux-%{KVERREL}/COPYING-%{version}-%{release}\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/%{?-k:%{-k*}}%{!?-k:vmlinuz}\ +%ghost /%{image_install_path}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-%{KVERREL}%{?3:+%{3}}\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/.vmlinuz.hmac \ +%ghost /%{image_install_path}/.vmlinuz-%{KVERREL}%{?3:+%{3}}.hmac \ +%ifarch aarch64 riscv64\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/dtb \ +%ghost /%{image_install_path}/dtb-%{KVERREL}%{?3:+%{3}} \ +%endif\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/System.map\ +%ghost /boot/System.map-%{KVERREL}%{?3:+%{3}}\ +%dir /lib/modules\ +%dir /lib/modules/%{KVERREL}%{?3:+%{3}}\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/symvers.%compext\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/config\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.builtin*\ +%ghost %attr(0644, root, root) /boot/symvers-%{KVERREL}%{?3:+%{3}}.%compext\ +%ghost %attr(0600, root, root) /boot/initramfs-%{KVERREL}%{?3:+%{3}}.img\ +%ghost %attr(0644, root, root) /boot/config-%{KVERREL}%{?3:+%{3}}\ +%{expand:%%files -f kernel-%{?3:%{3}-}modules-core.list %{?3:%{3}-}modules-core}\ +%dir /lib/modules\ +%dir /lib/modules/%{KVERREL}%{?3:+%{3}}\ +%dir /lib/modules/%{KVERREL}%{?3:+%{3}}/kernel\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/build\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/source\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/updates\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/weak-updates\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/systemtap\ +%{_datadir}/doc/kernel-keys/%{KVERREL}%{?3:+%{3}}\ +%if %{1}\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/vdso\ +%endif\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.block\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.drm\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.modesetting\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.networking\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.order\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.alias\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.alias.bin\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.builtin.alias.bin\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.builtin.bin\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.dep\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.dep.bin\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.devname\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.softdep\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.symbols\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.symbols.bin\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.weakdep\ +%{expand:%%files -f kernel-%{?3:%{3}-}modules.list %{?3:%{3}-}modules}\ +%{expand:%%files %{?3:%{3}-}devel}\ +%defverify(not mtime)\ +/usr/src/kernels/%{KVERREL}%{?3:+%{3}}\ +%{expand:%%files %{?3:%{3}-}devel-matched}\ +%{expand:%%files -f kernel-%{?3:%{3}-}modules-extra.list %{?3:%{3}-}modules-extra}\ +%{expand:%%files -f kernel-%{?3:%{3}-}modules-internal.list %{?3:%{3}-}modules-internal}\ +%if 0%{!?fedora:1}\ +%{expand:%%files -f kernel-%{?3:%{3}-}modules-partner.list %{?3:%{3}-}modules-partner}\ +%endif\ +%if %{with_debuginfo}\ +%ifnarch noarch\ +%{expand:%%files -f debuginfo%{?3}.list %{?3:%{3}-}debuginfo}\ +%endif\ +%endif\ +%if "%{3}" == "rt" || "%{3}" == "rt-debug"\ +%{expand:%%files -f kernel-%{?3:%{3}-}modules-rt-kvm.list %{?3:%{3}-}kvm}\ +%else\ +%if %{with_efiuki}\ +%{expand:%%files %{?3:%{3}-}uki-virt}\ +%dir /lib/modules\ +%dir /lib/modules/%{KVERREL}%{?3:+%{3}}\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/System.map\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/symvers.%compext\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/config\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.builtin*\ +%attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-virt.efi\ +%attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/.%{?-k:%{-k*}}%{!?-k:vmlinuz}-virt.efi.hmac\ +%ghost /%{image_install_path}/efi/EFI/Linux/%{?-k:%{-k*}}%{!?-k:*}-%{KVERREL}%{?3:+%{3}}.efi\ +%{expand:%%files %{?3:%{3}-}uki-virt-addons}\ +%dir /lib/modules/%{KVERREL}%{?3:+%{3}}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-virt.efi.extra.d/ \ +/lib/modules/%{KVERREL}%{?3:+%{3}}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-virt.efi.extra.d/*.addon.efi\ +%endif\ +%endif\ +%if %{?3:1} %{!?3:0}\ +%{expand:%%files %{3}}\ +%endif\ +%if %{with_gcov}\ +%ifnarch %nobuildarches noarch\ +%{expand:%%files -f kernel-%{?3:%{3}-}gcov.list %{?3:%{3}-}gcov}\ +%endif\ +%endif\ +%endif\ +%{nil} + +%kernel_variant_files %{_use_vdso} %{with_up_base} +%if %{with_up} +%kernel_variant_files %{_use_vdso} %{with_debug} debug +%endif +%if %{with_arm64_16k} +%kernel_variant_files %{_use_vdso} %{with_debug} 16k-debug +%endif +%if %{with_arm64_64k} +%kernel_variant_files %{_use_vdso} %{with_debug} 64k-debug +%endif +%kernel_variant_files %{_use_vdso} %{with_realtime_base} rt +%if %{with_realtime} +%kernel_variant_files %{_use_vdso} %{with_debug} rt-debug +%endif +%kernel_variant_files %{_use_vdso} %{with_automotive_base} automotive +%if %{with_automotive} +%kernel_variant_files %{_use_vdso} %{with_debug} automotive-debug +%endif +%if %{with_debug_meta} +%files debug +%files debug-core +%files debug-devel +%files debug-devel-matched +%files debug-modules +%files debug-modules-core +%files debug-modules-extra +%if %{with_arm64_16k} +%files 16k-debug +%files 16k-debug-core +%files 16k-debug-devel +%files 16k-debug-devel-matched +%files 16k-debug-modules +%files 16k-debug-modules-extra +%endif +%if %{with_arm64_64k} +%files 64k-debug +%files 64k-debug-core +%files 64k-debug-devel +%files 64k-debug-devel-matched +%files 64k-debug-modules +%files 64k-debug-modules-extra +%endif +%endif +%kernel_variant_files %{_use_vdso} %{with_zfcpdump} zfcpdump +%kernel_variant_files %{_use_vdso} %{with_arm64_16k_base} 16k +%kernel_variant_files %{_use_vdso} %{with_arm64_64k_base} 64k + +%define kernel_variant_ipaclones(k:) \ +%if %{1}\ +%if %{with_ipaclones}\ +%{expand:%%files %{?2:%{2}-}ipaclones-internal}\ +%defattr(-,root,root)\ +%defverify(not mtime)\ +/usr/src/kernels/%{KVERREL}%{?2:+%{2}}-ipaclones\ +%endif\ +%endif\ +%{nil} + +%kernel_variant_ipaclones %{with_up_base} + +# plz don't put in a version string unless you're going to tag +# and build. +# +# +%changelog +%%SPECCHANGELOG%% + +### +# The following Emacs magic makes C-c C-e use UTC dates. +# Local Variables: +# rpm-change-log-uses-utc: t +# End: +### diff --git a/ciq/keys/fedoraimaca.x509 b/ciq/keys/fedoraimaca.x509 new file mode 100644 index 0000000000000..f75acb694daa9 Binary files /dev/null and b/ciq/keys/fedoraimaca.x509 differ diff --git a/ciq/keys/nvidiagpuoot001.x509 b/ciq/keys/nvidiagpuoot001.x509 new file mode 100644 index 0000000000000..de1b6016bc372 Binary files /dev/null and b/ciq/keys/nvidiagpuoot001.x509 differ diff --git a/ciq/keys/redhatsecureboot501.cer b/ciq/keys/redhatsecureboot501.cer new file mode 100644 index 0000000000000..dfa7afb4699f9 Binary files /dev/null and b/ciq/keys/redhatsecureboot501.cer differ diff --git a/ciq/keys/redhatsecurebootca5.cer b/ciq/keys/redhatsecurebootca5.cer new file mode 100644 index 0000000000000..dfb0284954861 Binary files /dev/null and b/ciq/keys/redhatsecurebootca5.cer differ diff --git a/ciq/keys/rheldup3.x509 b/ciq/keys/rheldup3.x509 new file mode 100644 index 0000000000000..5df3b4f30de16 Binary files /dev/null and b/ciq/keys/rheldup3.x509 differ diff --git a/ciq/keys/rhelima.x509 b/ciq/keys/rhelima.x509 new file mode 100644 index 0000000000000..a286bfb4dc393 Binary files /dev/null and b/ciq/keys/rhelima.x509 differ diff --git a/ciq/keys/rhelima_centos.x509 b/ciq/keys/rhelima_centos.x509 new file mode 100644 index 0000000000000..691678fabb588 Binary files /dev/null and b/ciq/keys/rhelima_centos.x509 differ diff --git a/ciq/keys/rhelimaca1.x509 b/ciq/keys/rhelimaca1.x509 new file mode 100644 index 0000000000000..b5501502d12a3 Binary files /dev/null and b/ciq/keys/rhelimaca1.x509 differ diff --git a/ciq/keys/rhelkpatch1.x509 b/ciq/keys/rhelkpatch1.x509 new file mode 100644 index 0000000000000..0c774ba73bd27 Binary files /dev/null and b/ciq/keys/rhelkpatch1.x509 differ diff --git a/ciq/keys/stub_key.priv b/ciq/keys/stub_key.priv new file mode 100644 index 0000000000000..07a03abe69935 --- /dev/null +++ b/ciq/keys/stub_key.priv @@ -0,0 +1,52 @@ +-----BEGIN PRIVATE KEY----- +MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQCq9HeRqe2cYffi +uJyB5dULE71GR0VgbeCY9yXda9/GkQ3BgXQdf0dkqyb/EkjnJ74k/NjAIHKJ+8hb +T2LHTKAQVLjVNj8WYAgAFIv1DQVxZNO+zz7wMmQZc/IDQ1iPdLBtNU70u/9fB/1U +DiEXdHGTxrMuCaTb2rgqcy/LRYtapRW3QV5P3uUgzN36JDH6ZIMo73H1GhEiDL5f +7t616qgG5kewf1VJdgMHZFTw1YuvVkO0iE63ErZt1tAqDaojN80KJkbD89Bqgo83 +YO+6dr9WHkAmAczCx0YOMI4AV01FLtjXhaa5N6D8vfZe5wVxWeYkgCKCyvFJGudk +Z3JghtFTRaUv0eIkuhxTPtrJ2sPpnpA3FjqZ7mvy9d0uX7A3r627Mx01cyelArU8 +sdy4y1Qzdn/Oz6hmKmk1D0w7v9/JTbowjZDKznN6iFsPhK7Hnm46hKpTDRkDJi1E +SvHfK2wjOhmrmnvE9RTembfcOFoAeUc3On/x+vIJAY9j7N8Mks2OUbzjvsHgKrsK +uVvGG958f8cNlqWNUJS9UyvGR7hJEbn6kg9UvU/MFB5qCZyAdZNm6Qo8RSh5f+ON +bre6pWV2PjxbrlOJz6WXZcAhLY4ZO8D32gkRjCerihr3CVG8mcNMIK1oFUbOXGke +xfWmjlBz5+BgwcprC8I6epXaUNKvUwIDAQABAoICAE1IZQFhu3wVwdUptf73Ip92 +Vft+XrugEIe2OtTlXm1Kx9gxqIdpMaItyVxILNLq4YehEm+Qe5crTsEQm0wTtMyN +MF2av1xjH1rB7x9hupMvjJXW5NH7RctH4iFdgZygmN1V2xLCJkkUuI4WMRmEV5AB +pKDsVS3aq6TtG68eCkh5Ft8YWwVqc1SnqLXbRQi4BZ8s1+yA0zv8XNfLibzdjwZH +diMw/SJPikD+N3QEZbhnHAZyFHuopvXyxXotYTu4jyXGdflBsHdl/E6BsP4vjoHk +/QTxjVqEcYQaqSc4UEM1UWvlDKDwqAN58PWoJIrApEzd7DwKeJee5Po71bYTXG82 +hXNtLrmyGZv7xAnf+56LQH5ztXNyJHPSoxgUXyWVUAM1hCCaW/FqAzoQ67CXUq0f +WbPjJfhCWXI3dTGFy6kb/8H2dtJhRmwnveVmJsmagDF00w8zH9ZwBXDVZe8u0sTV +moNWrSzaknRpvUakm0OK7YEI39vD/N44B+e01gCTORDpxZXSTz6cOwBlThGl2Nk/ +FePaDklohfuSKk5nSLEZUZBbS3pwo3piy4ct0z8ghgnjpC4MIJo63PFAkpt6MDla +MJW133b2KpZPkwceXfzAHY/Yi1oPPcqg0g+JlhrIoaPQLWHrzKvmO5MQTKCED1Ig +23SPuDr9yxFJAWHkHF4RAoIBAQDTfqOrIwq8F6UWtutNexOYCINLIzJydJLBzJGi +geJKd6G6UrhTsoW+fFXQUbAv7StQolpwO8IgG9lkY+EgwYD8+CGYLmSvCjsFjzk/ +1AtlHr/C5EpXCpKBQycDyJDm+gwViLhL0S4RsMWS2ccqTVtdKV/nup7aUZRcHbfl +Z0jDurps1ITsa4XeiyjbuvXvsuL8C6IL8G5wLUas67Fe8wNcOnSwJCWgbr3YLPXp +RGkRSNm/Js8E0zj2/UbGCovqICMcJvHzwTEVzm4ptYGM7fyMMSCNpK6OWm1W36TT +wjRJXRSxIBTuDfgLIbmavM2dU9U3EBqQHOlsWqQPTqXhBgLrAoIBAQDO7ezK+LpU +802RKx8+wMG2UUkLJXGzfiVpK/isN5sCkmMT9X4qCaisHziI9cb4vxGZxhi2eQLG +XMSwNaMeIJlZ/M6tjje0I0EQmXOS3sxsPavYUBiS8tqUyrlFaMaZzLEZzjJZQ58X +LCYf4p2HNgY4xNmk+KmhqZq8Ut6za+6fNyb+a2lAf3UhuJUbbnsqV8MGgBNqRNRw +IZxW01DAB090pu+y0/OIoVRpf3/ZS8mOxsR8DYb7GPrKhk+HTGWaJ0AM/fix6X+w +unYBoIJJ43UJZ+daHuAJFEejoi1/ZiywjNHUnxSrlbXzM+hfD4mawxIczQNUjb7Q +/lVuZEX0t9s5AoIBAGpLWaLnh7uk/pn98SEN3HkqviIDXJVdtWyljgRo1vyqR6RH +ctDOBp4IC3EZvT05K+3oyx9hSV2t4YKtGDbISjXZ17iOiJfYwnU22IUV42w9Gg+v +gRViAOPqhi9GnF0aCvy/rDCev1Kwz3vQ7GJ8YpDd/I+QocoD+laZsRUg5ddJf+y2 +mt/f4nZI5o4Y1wZTl/UpO5ZYjojemIjMJGceJ/AwiPkGEcsiHVQKtMU6VrwTKy0B +Kka4igbIoMtj/ZH7+OlrQWtLC4p0J7XavXPBII6tGjlWLUzqcc2ZtVOgZXsBxyaG +gz5p0uJ1Xr1Aau7JdX2pIFCR11dX7uCqnIAN72UCggEBAIDa87soy48eusyNF7XR +/k5zq5J/TKBDCzTEpuNG9QXS9lN1aYzv2tLj1iajNbWr9V/WVYk7LZksJ2a638pg +7l106ZZ1mwZXdarKg4ePqag1dw8KQWMwSyCgZGJubk1Tg2zYU832J9kcKtlsGkAa +SiGLoyPxnGAI50wiJn9/1GXcyDFh3XbGZ8AJ2v/r+lJRuCYSFwTzu33f0CTZDc2m +P7oaQeUPyvTn0VKojIpZgTehWrUND2LJGVKH9HoB/rrRejcc54KSLmt0kQtOUhOE +ylqDEzOxSj0dHccttDtC+s0tw3QtY4e9gEHjru2TFVMD6gF5QHukkJA/8B7/3fgX +jTECggEBAKS/d9wN3nemwwk7Y1pZmqTdoU0fBmnQn/xPHZGPQfw5hU/PTAjvm34g +xHJdVZmyGtv4ckxArlsHXfWCdkzgN59HNyKhc7PrH1gEYpNMOQi9MYg192PWawmg +xXoL/tAMWFJFOoft1LWqQzk0ivHH+tO+q8CkHDCbxjki5sU7iLT170tyN2Zz/QN8 +ZS2VjIcNO3lhARu4QUOSakGH6g9CHmjNupE1BxogwjTQZtvaLka4g4KXPjGBUn1Y +8IDbLJCE4Hdc4t4jsGdjYqj3an3PsfDdnD/Ic2ZjguLlxzgXXZpp47Xgv7/uhCSR +cHlSn65vyvc0FWMqHezPrikoUJD3V40= +-----END PRIVATE KEY----- diff --git a/ciq/keys/stub_key.x509 b/ciq/keys/stub_key.x509 new file mode 100644 index 0000000000000..eb9ee14d971a2 Binary files /dev/null and b/ciq/keys/stub_key.x509 differ diff --git a/ciq/koji/Makefile b/ciq/koji/Makefile new file mode 100644 index 0000000000000..d2555c1b506e9 --- /dev/null +++ b/ciq/koji/Makefile @@ -0,0 +1,38 @@ +###################################################################### +#This Makefile is here for the sole purpose of building an SRPM +#within the brew/koji build environment +# +#When Brew launches a build with a commit on the end of the brew uri, +#it runs the BuildSRPMFromSCM task first, which clones the requested +#git tree, resets to the requested commit, cd's to the directory, and runs +#'make sources'. That make target is responsible for creating an SRPM +#that the next brew task will then build. +# +#Other targets in this makefile +# +#notes: Responsible for pulling any note branches down from the origin +# +#buildid: This sets the BUILDID varible, which allows a brew scratch build +# To have a unique buildid as set by the developer. +# set it with - git notes --ref buildid -m ".buildid" HEAD +###################################################################### + +include ../Makefile.variables + +notes: + $(GIT) fetch --force origin refs/notes/*:refs/notes/* + +buildid: notes + $(eval BUILDID := $(shell git notes --ref buildid show HEAD || echo .test)) + +sources: buildid + echo $(BUILDID) > ../../localversion + $(MAKE) -C ../ dist-sources + mv -f ../rpm/SOURCES/* . + rm -f ./$(SPECPACKAGE_NAME).spec + mv ../rpm/SPECS/$(SPECPACKAGE_NAME).spec . + +test: buildid + echo $(BUILDID) + +PHONY = sources diff --git a/ciq/koji/kernel.spec b/ciq/koji/kernel.spec new file mode 100644 index 0000000000000..12f17a667b847 --- /dev/null +++ b/ciq/koji/kernel.spec @@ -0,0 +1,4 @@ +This is a dummy spec file. It will be replaced by the sources target of the +Makefile in this directory. That target will replace this file with the real +kernel.spec file in ../rpm/SPECS as generated by make -C ../ dist-sources + diff --git a/ciq/rebase-notes.txt b/ciq/rebase-notes.txt new file mode 100644 index 0000000000000..02d3d8ca455d6 --- /dev/null +++ b/ciq/rebase-notes.txt @@ -0,0 +1,7 @@ +Rebase notes for Fedora kernel rebases: + +6.x: Apply both patches for the simple drm nvidia work-around. From 6.1: + e020208cd83e397e47cf2b54c4471847ff09e2ee enable efifb for Nvidia + 811fe0e4dcfd86a0db5135d3bfef4936794efdb6 drivers/firmware: skip simpledrm if nvidia-drm.modeset=1 is set + +Fedora 37: 'systemd-boot-unsigned' build dependency needs to be dropped. diff --git a/ciq/release_targets b/ciq/release_targets new file mode 100644 index 0000000000000..da56afe66e3a6 --- /dev/null +++ b/ciq/release_targets @@ -0,0 +1,2 @@ +41 +40 diff --git a/ciq/rhdocs-README.md b/ciq/rhdocs-README.md new file mode 100644 index 0000000000000..efc4b2bb12585 --- /dev/null +++ b/ciq/rhdocs-README.md @@ -0,0 +1,24 @@ +# CentOS Documentation + +- [https://gitlab.com/redhat/centos-stream/src/kernel/documentation](https://gitlab.com/redhat/centos-stream/src/kernel/documentation) +- [https://redhat.gitlab.io/centos-stream/src/kernel/documentation/](https://redhat.gitlab.io/centos-stream/src/kernel/documentation/) + +The `rhdocs/` git-subtree has been effectively replaced by this file. + +Please visit the centos-stream documentation project linked above. + +## A quick PSA + +If you would like to replicate the previous "structure" of the rhdocs directory +within the CentOS docs repo, clone the docs project. +```bash +git clone https://gitlab.com/redhat/centos-stream/src/kernel/documentation.git ~/ +ln -sfn ~/documentation/ ./rhdocs/ + +pushd ~/documentation && make info/RHMAINTAINERS +``` +Then add the following to a `.get_maintainer.conf` file in the root of the +repository. + +`--mpath redhat/rhdocs/info/RHMAINTAINERS --no-git --no-git-fallback` + diff --git a/ciq/rocky_files/def_variants.yaml.rocky b/ciq/rocky_files/def_variants.yaml.rocky new file mode 100644 index 0000000000000..1faedb7670027 --- /dev/null +++ b/ciq/rocky_files/def_variants.yaml.rocky @@ -0,0 +1,524 @@ +packages: + - name: modules-core + depends-on: [] + - name: modules + depends-on: + - modules-core + - name: modules-internal + depends-on: + - modules-core + - modules + - name: modules-extra + depends-on: + - modules-core + - modules + - name: modules-rt-kvm + if_variant_in: ["rt"] + depends-on: + - modules-core + - name: modules-partner + depends-on: + - modules-core + - modules + +rules: + - arch/x86/kvm/kvm(-amd|-intel|\.).*: modules-rt-kvm + if_variant_in: ["rt"] + + - arch/.*: modules-core + - block/t10-pi.ko: modules-core + - crypto/.*: modules-core + + - drivers/accel/.*: modules-core + - drivers/accessibility/.*: modules-core + - drivers/acpi/video.*: modules + - drivers/acpi/.*: modules-core + - drivers/ata/.*: modules-core + + - drivers/base/.*(kunit|test).*: modules-internal + - drivers/base/regmap/regmap-sdw.*: modules + - drivers/base/.*: modules-core + - drivers/block/floppy.*: modules-extra + - drivers/block/rnbd.*: modules + - drivers/block/.*: modules-core + - drivers/bus/.*: modules-core + + - drivers/cdrom/.*: modules-core + - drivers/cdx/.*: modules-core + - drivers/char/mwave.*: modules + - drivers/char/.*: modules-core + - drivers/clk/.*(test|kunit).*: modules-internal + - drivers/clk/.*: modules-core + - drivers/counter/.*: modules-core + - drivers/cpufreq/amd-pstate-ut.ko: modules-internal + - drivers/cpufreq/.*: modules-core + - drivers/crypto/caam/.*: modules + - drivers/crypto/cavium/.*: modules + - drivers/crypto/chelsio/.*: modules + - drivers/crypto/hisilicon/.*: modules + - drivers/crypto/marvell/.*: modules + - drivers/crypto/.*: modules-core + - drivers/cxl/.*: modules-core + + - drivers/dax/.*: modules-core + - drivers/dca/.*: modules-core + - drivers/devfreq/.*: modules-core + - drivers/dma/dmatest.*: modules-internal + - drivers/dma/.*: modules-core + + - drivers/edac/.*: modules-core + - drivers/extcon/.*: modules-core + + - drivers/firmware/iscsi_ibft.*: modules + - drivers/firmware/.*: modules-core + - drivers/fsi/.*: modules-core + + - drivers/gnss/.*: modules-core + - drivers/gpio/gpio-dln2.*: modules-extra + - drivers/gpio/gpio-ljca.*: modules + - drivers/gpio/.*: modules-core + - drivers/gpu/drm/i915/kvmgt.*: modules-rt-kvm + if_variant_in: ["rt"] + - drivers/gpu/drm/display/drm_.*: modules-core + - drivers/gpu/drm/drm.*: modules-core + - drivers/gpu/drm/etnaviv/.*: modules-core + - drivers/gpu/drm/gud/.*: modules-core + - drivers/gpu/drm/hyperv/.*: modules-core + - drivers/gpu/drm/imagination/.*: modules-core + - drivers/gpu/drm/lima/.*: modules-core + - drivers/gpu/drm/mxsfb/.*: modules-core + - drivers/gpu/drm/panfrost/.*: modules-core + - drivers/gpu/drm/qxl/.*: modules-core + - drivers/gpu/drm/scheduler/.*: modules-core + - drivers/gpu/drm/solomon/.*: modules-core + - drivers/gpu/drm/tests/.*: modules-internal + - drivers/gpu/drm/tidss/.*: modules-core + - drivers/gpu/drm/tiny/.*: modules-core + - drivers/gpu/drm/ttm/.*: modules-core + - drivers/gpu/drm/udl/.*: modules-core + - drivers/gpu/drm/v3d/.*: modules-core + - drivers/gpu/drm/vgem/.*: modules-core + - drivers/gpu/drm/virtio/.*: modules-core + - drivers/gpu/drm/vkms/.*: modules-core + - drivers/gpu/drm/vmwgfx/.*: modules-core + - drivers/gpu/drm/xlnx/.*: modules-core + - drivers/gpu/host1x/.*: modules-core + + - drivers/hid/.*test.*: modules-internal + - drivers/hid/hid-asus.*: modules + - drivers/hid/hid-nintendo.*: modules + - drivers/hid/hid-picolcd.*: modules + - drivers/hid/hid-playstation.*: modules + - drivers/hid/surface-hid.*: modules + - drivers/hid/hid-prodikeys.*: modules + - drivers/hid/.*: modules-core + - drivers/hte/.*: modules-core + - drivers/hv/.*: modules-core + - drivers/hwmon/asus_wmi_sensors.*: modules + - drivers/hwmon/dell-smm-hwmon.*: modules + - drivers/hwmon/hp-wmi-sensors.*: modules + - drivers/hwmon/intel-m10-bmc-hwmon.*: modules + - drivers/hwmon/nct6775.*: modules + - drivers/hwmon/ntc_thermistor.*: modules + - drivers/hwmon/.*: modules-core + - drivers/hwspinlock/.*: modules-core + - drivers/hwtracing/.*: modules-core + + - drivers/i2c/busses/i2c-dln2.*: modules-extra + - drivers/i2c/busses/i2c-ljca.*: modules + - drivers/i2c/.*: modules-core + - drivers/i3c/.*: modules-core + - drivers/iio/adc/dln2-adc.*: modules-extra + - drivers/iio/test/.*: modules-internal + - drivers/input/gameport/.*: modules + - drivers/input/joystick/.*: modules-extra + - drivers/input/tablet/.*: modules + - drivers/input/tests/.*: modules-internal + - drivers/input/touchscreen/.*: modules + - drivers/input/.*: modules-core + - drivers/interconnect/.*: modules-core + - drivers/iommu/.*test.ko: modules-internal + - drivers/iommu/.*: modules-core + - drivers/irqchip/.*: modules-core + + - drivers/mailbox/.*: modules-core + - drivers/md/.*: modules-core + - drivers/memory/dfl-emif.*: modules + - drivers/memory/.*: modules-core + - drivers/message/fusion/mptctl.*: modules-extra + - drivers/message/fusion/mptfc.*: modules-extra + - drivers/message/fusion/.*: modules + - drivers/message/.*: modules-core + - drivers/mfd/dln2.*: modules-extra + - drivers/misc/.*: modules-core + - drivers/mux/.*: modules-core + + - drivers/net/amt.ko: modules-core + - drivers/net/bareudp.ko: modules-core + - drivers/net/bonding/.*: modules-core + - drivers/net/can/slcan/slcan.*: modules-extra + - drivers/net/can/usb/ems_usb.*: modules-extra + - drivers/net/can/vcan.*: modules-extra + - drivers/net/dummy.ko: modules-core + - drivers/net/eql.ko: modules-core + + - drivers/net/ethernet/8390/.*: modules-core + - drivers/net/ethernet/adi/.*: modules-core + - drivers/net/ethernet/agere/.*: modules-core + - drivers/net/ethernet/altera/.*: modules-core + - drivers/net/ethernet/amazon/.*: modules-core + - drivers/net/ethernet/amd/.*: modules-core + - drivers/net/ethernet/apm/.*: modules-core + - drivers/net/ethernet/asix/.*: modules-core + - drivers/net/ethernet/brocade/.*: modules-core + - drivers/net/ethernet/cavium/.*: modules-core + - drivers/net/ethernet/dnet.ko: modules-core + - drivers/net/ethernet/engleder/.*: modules-core + - drivers/net/ethernet/ethoc.ko: modules-core + - drivers/net/ethernet/fealnx.ko: modules-core + - drivers/net/ethernet/freescale/.*: modules-core + - drivers/net/ethernet/fungible/.*: modules-core + - drivers/net/ethernet/google/.*: modules-core + - drivers/net/ethernet/hisilicon/.*: modules-core + - drivers/net/ethernet/huawei/.*: modules-core + - drivers/net/ethernet/ibm/.*: modules-core + - drivers/net/ethernet/intel/.*: modules-core + - drivers/net/ethernet/jme.ko: modules-core + - drivers/net/ethernet/litex/.*: modules-core + - drivers/net/ethernet/mellanox/.*: modules-core + - drivers/net/ethernet/microsoft/.*: modules-core + - drivers/net/ethernet/myricom/.*: modules-core + - drivers/net/ethernet/natsemi/.*: modules-core + - drivers/net/ethernet/netronome/.*: modules-core + - drivers/net/ethernet/pensando/.*: modules-core + - drivers/net/ethernet/rocker/rocker.*: modules-internal + - drivers/net/ethernet/qualcomm/.*: modules-core + - drivers/net/ethernet/realtek/.*: modules-core + - drivers/net/ethernet/renesas/.*: modules-core + - drivers/net/ethernet/socionext/.*: modules-core + - drivers/net/ethernet/vertexcom/.*: modules-core + - drivers/net/ethernet/wangxun/.*: modules-core + - drivers/net/ethernet/xilinx/.*: modules-core + + - drivers/net/fjes/.*: modules-core + - drivers/net/geneve.ko: modules-core + - drivers/net/gtp.ko: modules-core + - drivers/net/hamradio/.*: modules-extra + - drivers/net/hyperv/.*: modules-core + - drivers/net/ifb.ko: modules-core + - drivers/net/ipa/.*: modules-core + - drivers/net/ipvlan/.*: modules-core + - drivers/net/macsec.ko: modules-core + - drivers/net/macvlan.ko: modules-core + - drivers/net/macvtap.ko: modules-core + - drivers/net/mctp/.*: modules-core + - drivers/net/mdio.*: modules-core + - drivers/net/mhi_net.ko: modules-core + - drivers/net/mii.ko: modules-core + - drivers/net/net_failover.ko: modules-core + - drivers/net/netdevsim/netdevsim.*: modules-internal + - drivers/net/netconsole.ko: modules-core + - drivers/net/nlmon.ko: modules-core + - drivers/net/pcs/.*: modules-core + - drivers/net/phy/.*: modules-core + - drivers/net/rionet.ko: modules-core + - drivers/net/slip/slip.*: modules-extra + - drivers/net/sungem_phy.ko: modules-core + - drivers/net/tap.ko: modules-core + - drivers/net/team/.*: modules-core + - drivers/net/thunderbolt/.*: modules-core + - drivers/net/tun.ko: modules-core + - drivers/net/veth.ko: modules-core + - drivers/net/virtio_net.ko: modules-core + - drivers/net/vmxnet3/.*: modules-core + - drivers/net/vrf.ko: modules-core + - drivers/net/vsockmon.ko: modules-core + - drivers/net/vxlan/.*: modules-core + - drivers/net/wan/hdlc.*: modules-core + - drivers/net/wireguard/.*: modules-core + - drivers/net/wireless/virtual/mac80211_hwsim.*: modules-internal + - drivers/net/wwan/wwan_hwsim.*: modules-internal + - drivers/net/wwan/.*: modules-core + - drivers/net/xen.*: modules-core + + - drivers/nvdimm/.*: modules-core + - drivers/nvme/host/nvme-rdma.*: modules + - drivers/nvme/target/nvmet-rdma.*: modules + - drivers/nvme/.*: modules-core + - drivers/nvmem/nvmem_u-boot-env.*: modules + - drivers/nvmem/.*: modules-core + + - drivers/parport/parport_serial.*: modules + - drivers/parport/.*: modules-core + - drivers/pci/pcie/aer_inject.*: modules-extra + - drivers/pci/.*: modules-core + - drivers/perf/.*: modules-core + - drivers/phy/.*: modules-core + - drivers/pinctrl/.*: modules-core + - drivers/platform/chrome/.*test.*: modules-internal + - drivers/platform/x86/intel/intel_vsec.*: modules-core + - drivers/pmdomain/.*: modules-core + - drivers/powercap/intel_rapl_tpmi.*: modules + - drivers/powercap/.*: modules-core + - drivers/pps/.*: modules-core + - drivers/ptp/ptp_kvm.*: modules-rt-kvm + if_variant_in: ["rt"] + - drivers/ptp/ptp_mock.*: modules-internal + - drivers/ptp/ptp_dfl_tod.*: modules + - drivers/ptp/.*: modules-core + - drivers/pwm/.*: modules-core + + - drivers/rapidio/.*: modules-core + - drivers/regulator/arizona-micsupp.*: modules + - drivers/regulator/.*: modules-core + - drivers/remoteproc/.*: modules-core + - drivers/reset/.*: modules-core + - drivers/rpmsg/.*: modules-core + - drivers/rtc/.*test.*: modules-internal + - drivers/rtc/.*: modules-core + + - drivers/s390/net/ism.*: modules + - drivers/s390/.*: modules-core + + - drivers/scsi/3w.*: modules-core + - drivers/scsi/BusLogic.ko: modules-core + - drivers/scsi/a100u2w.ko: modules-core + - drivers/scsi/advansys.ko: modules-core + - drivers/scsi/am53c974.ko: modules-core + - drivers/scsi/arcmsr.*: modules-core + - drivers/scsi/atp870u.ko: modules-core + - drivers/scsi/ch.ko: modules-core + - drivers/scsi/cxlflash/.*: modules-core + - drivers/scsi/dc395x.ko: modules-core + - drivers/scsi/device_handler/.*: modules-core + - drivers/scsi/dmx3191d.ko: modules-core + - drivers/scsi/elx/.*: modules-core + - drivers/scsi/esp_scsi.ko: modules-core + - drivers/scsi/fdomain.*: modules-core + - drivers/scsi/hpsa.ko: modules-core + - drivers/scsi/hptiop.ko: modules-core + - drivers/scsi/hv_storvsc.ko: modules-core + - drivers/scsi/ibmvscsi.*: modules-core + - drivers/scsi/initio.ko: modules-core + - drivers/scsi/ipr.ko: modules-core + - drivers/scsi/ips.ko: modules-core + - drivers/scsi/iscsi_tcp.ko: modules-core + - drivers/scsi/libfc/.*: modules-core + - drivers/scsi/libiscsi.*: modules-core + - drivers/scsi/mpi3mr/.*: modules-core + - drivers/scsi/mvumi.ko: modules-core + - drivers/scsi/myrb.ko: modules-core + - drivers/scsi/myrs.ko: modules-core + - drivers/scsi/raid_class.ko: modules-core + - drivers/scsi/scsi_debug.ko: modules-core + - drivers/scsi/scsi_transport_.*: modules-core + - drivers/scsi/sd_mod.ko: modules-core + - drivers/scsi/ses.ko: modules-core + - drivers/scsi/sg.ko: modules-core + - drivers/scsi/smartpqi/.*: modules-core + - drivers/scsi/snic/.*: modules-core + - drivers/scsi/sr_mod.ko: modules-core + - drivers/scsi/st.ko: modules-core + - drivers/scsi/stex.ko: modules-core + - drivers/scsi/virtio_scsi.ko: modules-core + - drivers/scsi/vmw_pvscsi.ko: modules-core + - drivers/scsi/wd719x.ko: modules-core + - drivers/scsi/xen-scsifront.ko: modules-core + + - drivers/slimbus/.*: modules-core + - drivers/soc/.*: modules-core + - drivers/spi/spi-altera-dfl.*: modules + - drivers/spi/spi-dln2.*: modules-extra + - drivers/spi/spi-ljca.*: modules + - drivers/spi/.*: modules-core + - drivers/spmi/.*: modules-core + + - drivers/target/iscsi/cxgbit/cxgbit.*: modules + - drivers/target/sbp/sbp_target.*: modules + - drivers/target/target_core_user.*: modules + - drivers/target/.*: modules-core + - drivers/tee/.*: modules-core + - drivers/thermal/intel/int340x_thermal/int3406_thermal.*: modules + - drivers/thermal/.*: modules-core + - drivers/thunderbolt/.*: modules-core + + - drivers/ufs/.*: modules-core + - drivers/usb/atm/.*: modules + - drivers/usb/gadget/function/usb_f_midi2.*: modules + - drivers/usb/image/.*: modules + - drivers/usb/misc/trancevibrator.*: modules-extra + - drivers/usb/misc/.*: modules + - drivers/usb/serial/.*: modules + - drivers/usb/typec/mux/nb7vpq904m.*: modules + - drivers/usb/usbip/.*: modules-internal + - drivers/usb/.*: modules-core + + - drivers/vdpa/mlx5/mlx5_vdpa.*: modules + - drivers/vdpa/pds/pds_vdpa.*: modules + - drivers/vdpa/.*: modules-core + - drivers/vfio/pci/mlx5/mlx5-vfio-pci.*: modules + - drivers/vfio/pci/pds/pds-vfio-pc.*: modules + - drivers/vfio/.*: modules-core + - drivers/vhost/.*: modules-core + - drivers/video/backlight/apple_bl.*: modules + - drivers/video/.*: modules-core + - drivers/virt/.*: modules-core + - drivers/virtio/.*: modules-core + + - drivers/watchdog/.*: modules-core + + - drivers/xen/.*: modules-core + + - drivers/w1/masters/ds2482.*: modules-extra + - drivers/w1/masters/ds2490.*: modules-extra + - drivers/w1/slaves/w1_ds2408.*: modules-extra + - drivers/w1/slaves/w1_ds2423.*: modules-extra + - drivers/w1/slaves/w1_ds2431.*: modules-extra + - drivers/w1/slaves/w1_ds2433.*: modules-extra + - drivers/w1/slaves/w1_ds2780.*: modules-extra + - drivers/w1/slaves/w1_ds2781.*: modules-extra + - drivers/w1/slaves/w1_ds28e04.*: modules-extra + - drivers/w1/slaves/w1_smem.*: modules-extra + - drivers/w1/slaves/w1_therm.*: modules-extra + + - fs/.*test.*: modules-internal + - fs/9p/.*: modules-core + - fs/afs/.*: modules-partner + - fs/affs/affs.*: modules-extra + - fs/bcachefs/.*: modules-core + - fs/befs/befs.*: modules-extra + - fs/binfmt_misc.ko: modules-core + - fs/cachefiles/.*: modules-core + - fs/ceph/.*: modules-core + - fs/coda/coda.*: modules-extra + - fs/dlm/.*: modules-core + - fs/erofs/.*: modules-core + - fs/exfat/.*: modules-core + - fs/ext4/.*: modules-core + - fs/f2fs/.*: modules-core + - fs/fat/.*: modules-core + - fs/fuse/cuse.*: modules-extra + - fs/fuse/.*: modules-core + - fs/gfs2/.*: modules-core + - fs/isofs/.*: modules-core + - fs/jbd2/.*: modules-core + - fs/lockd/.*: modules-core + - fs/mbcache.ko: modules-core + - fs/netfs/.*: modules-core + - fs/nfs.*: modules-core + - fs/nilfs2/nilfs2.*: modules-extra + - fs/nls/.*: modules-core + - fs/ntfs3/.*: modules-core + - fs/ocfs2/.*: modules-extra + - fs/orangefs/.*: modules-core + - fs/overlayfs/.*: modules-core + - fs/pstore/.*: modules-core + - fs/sysv/.*: modules-extra + - fs/ubifs/.*: modules-extra + - fs/udf/.*: modules-core + - fs/ufs/.*: modules-extra + - fs/vboxsf/.*: modules-core + - fs/xfs/.*: modules-core + - fs/zonefs/.*: modules-core + + - kernel/.*test.*: modules-internal + - kernel/locking/locktorture.*: modules-internal + - kernel/rcu/rcuscale.*: modules-internal + - kernel/rcu/rcutorture.*: modules-internal + - kernel/rcu/refscale.*: modules-internal + - kernel/resource_kunit.*: modules-internal + - kernel/scftorture.*: modules-internal + - kernel/torture.*: modules-internal + - kernel/.*: modules-core + + - lib/test_lockup.*: modules-extra + - lib/.*(test|kunit).*: modules-internal + exact_pkg: True + - lib/.*: modules-core + + - mm/kasan/kasan_test: modules-internal + - mm/kfence/.*test.*: modules-internal + - mm/zsmalloc.ko: modules-core + + - net/.*test.*: modules-internal + - net/802/.*: modules-core + - net/8021q/.*: modules-core + - net/9p/9pnet_rdma.ko: modules + - net/9p/.*: modules-core + - net/appletalk/appletalk.*: modules-extra + - net/atm/br2684.*: modules-extra + - net/atm/clip.*: modules-extra + - net/atm/lec.*: modules-extra + - net/atm/pppoatm.*: modules-extra + - net/ax25/ax25.*: modules-extra + - net/batman-adv/batman-adv.*: modules-extra + - net/bridge/br_netfilter.*: modules-extra + - net/bridge/netfilter/ebt.*: modules-extra + - net/bridge/.*: modules-core + - net/ceph/.*: modules-core + - net/core/pktgen.*: modules-internal + - net/core/.*: modules-core + - net/dns_resolver/.*: modules-core + - net/hsr/.*: modules-core + - net/ife/.*: modules-core + - net/ipv4/netfilter/arp.*: modules-extra + - net/ipv4/netfilter/ip[_t].*: modules-extra + - net/ipv4/tcp_bic.*: modules-extra + - net/ipv4/tcp_highspeed.*: modules-extra + - net/ipv4/tcp_htcp.*: modules-extra + - net/ipv4/tcp_hybla.*: modules-extra + - net/ipv4/tcp_illinois.*: modules-extra + - net/ipv4/tcp_lp.*: modules-extra + - net/ipv4/tcp_scalable.*: modules-extra + - net/ipv4/tcp_vegas.*: modules-extra + - net/ipv4/tcp_veno.*: modules-extra + - net/ipv4/tcp_westwood.*: modules-extra + - net/ipv4/tcp_yeah.*: modules-extra + - net/ipv4/.*: modules-core + - net/ipv6/netfilter/ebt.*: modules-extra + - net/ipv6/netfilter/ip6[_t].*: modules-extra + - net/ipv6/.*: modules-core + - net/iucv/.*: modules-core + - net/kcm/.*: modules-core + - net/key/.*: modules-core + - net/l2tp/.*: modules-extra + - net/llc/.*: modules-core + - net/netfilter/ipset/.*: modules-extra + - net/netfilter/nft_compat.*: modules-extra + - net/netfilter/xt_.*: modules-extra + - net/netfilter/.*: modules-core + - net/netrom/netrom.*: modules-extra + - net/nsh/.*: modules-core + - net/openvswitch/.*: modules-core + - net/psample/.*: modules-core + - net/qrtr/.*: modules-core + - net/rds/rds.*: modules-extra + - net/rose/rose.*: modules-extra + - net/rxrpc/.*: modules-partner + - net/sched/sch_choke.*: modules-extra + - net/sched/sch_drr.*: modules-extra + - net/sched/sch_gred.*: modules-extra + - net/sched/sch_mqprio.ko: modules-extra + - net/sched/sch_multiq.*: modules-extra + - net/sched/sch_netem.*: modules-extra + - net/sched/sch_qfq.*: modules-extra + - net/sched/sch_red.*: modules-extra + - net/sched/sch_sfb.*: modules-extra + - net/sched/sch_teql.*: modules-extra + - net/sched/.*: modules-core + - net/sctp/.*: modules-extra + - net/sunrpc/xprtrdma/rpcrdma.*: modules + - net/sunrpc/.*: modules-core + - net/tipc/.*: modules-extra + - net/tls/.*: modules-core + - net/vmw_vsock/.*: modules-core + - net/xdp/.*: modules-core + - net/xfrm/.*: modules-core + + - samples/.*: modules-internal + - sound/pci/.*test.*: modules-internal + - sound/soc/.*test.*: modules-internal + + - virt/.*: modules-core + + - default: modules diff --git a/ciq/rpm/BUILD/.gitignore b/ciq/rpm/BUILD/.gitignore new file mode 100644 index 0000000000000..a5baada18fdb3 --- /dev/null +++ b/ciq/rpm/BUILD/.gitignore @@ -0,0 +1,3 @@ +* +!.gitignore + diff --git a/ciq/rpm/RPMS/.gitignore b/ciq/rpm/RPMS/.gitignore new file mode 100644 index 0000000000000..a5baada18fdb3 --- /dev/null +++ b/ciq/rpm/RPMS/.gitignore @@ -0,0 +1,3 @@ +* +!.gitignore + diff --git a/ciq/rpm/SOURCES/.gitignore b/ciq/rpm/SOURCES/.gitignore new file mode 100644 index 0000000000000..a5baada18fdb3 --- /dev/null +++ b/ciq/rpm/SOURCES/.gitignore @@ -0,0 +1,3 @@ +* +!.gitignore + diff --git a/ciq/rpm/SPECS/kernel.spec b/ciq/rpm/SPECS/kernel.spec new file mode 100644 index 0000000000000..12718c967e9f7 --- /dev/null +++ b/ciq/rpm/SPECS/kernel.spec @@ -0,0 +1,4182 @@ +# All Global changes to build and install go here. +# Per the below section about __spec_install_pre, any rpm +# environment changes that affect %%install need to go +# here before the %%install macro is pre-built. + +# Disable frame pointers +%undefine _include_frame_pointers + +# Disable LTO in userspace packages. +%global _lto_cflags %{nil} + +# Option to enable compiling with clang instead of gcc. +%bcond_with toolchain_clang + +%if %{with toolchain_clang} +%global toolchain clang +%endif + +# Compile the kernel with LTO (only supported when building with clang). +%bcond_with clang_lto + +%if %{with clang_lto} && %{without toolchain_clang} +{error:clang_lto requires --with toolchain_clang} +%endif + +# RPM macros strip everything in BUILDROOT, either with __strip +# or find-debuginfo.sh. Make use of __spec_install_post override +# and save/restore binaries we want to package as unstripped. +%define buildroot_unstripped %{_builddir}/root_unstripped +%define buildroot_save_unstripped() \ +(cd %{buildroot}; cp -rav --parents -t %{buildroot_unstripped}/ %1 || true) \ +%{nil} +%define __restore_unstripped_root_post \ + echo "Restoring unstripped artefacts %{buildroot_unstripped} -> %{buildroot}" \ + cp -rav %{buildroot_unstripped}/. %{buildroot}/ \ +%{nil} + +# The kernel's %%install section is special +# Normally the %%install section starts by cleaning up the BUILD_ROOT +# like so: +# +# %%__spec_install_pre %%{___build_pre}\ +# [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "${RPM_BUILD_ROOT}"\ +# mkdir -p `dirname "$RPM_BUILD_ROOT"`\ +# mkdir "$RPM_BUILD_ROOT"\ +# %%{nil} +# +# But because of kernel variants, the %%build section, specifically +# BuildKernel(), moves each variant to its final destination as the +# variant is built. This violates the expectation of the %%install +# section. As a result we snapshot the current env variables and +# purposely leave out the removal section. All global wide changes +# should be added above this line otherwise the %%install section +# will not see them. +%global __spec_install_pre %{___build_pre} + +# Replace '-' with '_' where needed so that variants can use '-' in +# their name. +%define uname_suffix() %{lua: + local flavour = rpm.expand('%{?1:+%{1}}') + flavour = flavour:gsub('-', '_') + if flavour ~= '' then + print(flavour) + end +} + +# This returns the main kernel tied to a debug variant. For example, +# kernel-debug is the debug version of kernel, so we return an empty +# string. However, kernel-64k-debug is the debug version of kernel-64k, +# in this case we need to return "64k", and so on. This is used in +# macros below where we need this for some uname based requires. +%define uname_variant() %{lua: + local flavour = rpm.expand('%{?1:%{1}}') + _, _, main, sub = flavour:find("(%w+)-(.*)") + if main then + print("+" .. main) + end +} + + +# At the time of this writing (2019-03), RHEL8 packages use w2.xzdio +# compression for rpms (xz, level 2). +# Kernel has several large (hundreds of mbytes) rpms, they take ~5 mins +# to compress by single-threaded xz. Switch to threaded compression, +# and from level 2 to 3 to keep compressed sizes close to "w2" results. +# +# NB: if default compression in /usr/lib/rpm/redhat/macros ever changes, +# this one might need tweaking (e.g. if default changes to w3.xzdio, +# change below to w4T.xzdio): +# +# This is disabled on i686 as it triggers oom errors + +%ifnarch i686 +%define _binary_payload w3T.xzdio +%endif + +Summary: The Linux kernel +%if 0%{?fedora} +%define secure_boot_arch x86_64 +%else +%define secure_boot_arch x86_64 aarch64 s390x ppc64le +%endif + +# Signing for secure boot authentication +%ifarch %{secure_boot_arch} +%global signkernel 1 +%else +%global signkernel 0 +%endif + +# Sign modules on all arches +%global signmodules 1 + +# Compress modules only for architectures that build modules +%ifarch noarch +%global zipmodules 0 +%else +%global zipmodules 1 +%endif + +# Default compression algorithm +%global compression xz +%global compression_flags --compress +%global compext xz + +%if 0%{?fedora} +%define primary_target fedora +%else +%define primary_target rocky +%endif + +# +# genspec.sh variables +# + +# kernel package name +%global package_name kernel +%global gemini 0 +# Include Fedora files +%global include_fedora 0 +# Include RHEL files +%global include_rhel 0 +# Include RT files +%global include_rt 0 +# Include Automotive files +%global include_automotive 0 +# Include Rocky files +%global include_rocky 1 +# Provide Patchlist.changelog file +%global patchlist_changelog 0 +# Set released_kernel to 1 when the upstream source tarball contains a +# kernel release. (This includes prepatch or "rc" releases.) +# Set released_kernel to 0 when the upstream source tarball contains an +# unreleased kernel development snapshot. +%global released_kernel 1 +# Set debugbuildsenabled to 1 to build separate base and debug kernels +# (on supported architectures). The kernel-debug-* subpackages will +# contain the debug kernel. +# Set debugbuildsenabled to 0 to not build a separate debug kernel, but +# to build the base kernel using the debug configuration. (Specifying +# the --with-release option overrides this setting.) +%define debugbuildsenabled 1 +%define buildid .1 +%define specrpmversion 6.12.15 +%define specversion 6.12.15 +%define patchversion 6.12 +%define pkgrelease 3.1 +%define kversion 6 +%define tarfile_release 6.12.15-3.1.rocky9 +# This is needed to do merge window version magic +%define patchlevel 12 +# This allows pkg_release to have configurable %%{?dist} tag +%define specrelease 3%{?buildid}%{?dist} +# This defines the kabi tarball version +%define kabiversion 6.12.15-3.1.rocky9 + +# If this variable is set to 1, a bpf selftests build failure will cause a +# fatal kernel package build error +%define selftests_must_build 0 + +# +# End of genspec.sh variables +# + +%define pkg_release %{specrelease} + +# libexec dir is not used by the linker, so the shared object there +# should not be exported to RPM provides +%global __provides_exclude_from ^%{_libexecdir}/kselftests + +# The following build options are (mostly) enabled by default, but may become +# enabled/disabled by later architecture-specific checks. +# Where disabled by default, they can be enabled by using --with in the +# rpmbuild command, or by forcing these values to 1. +# Where enabled by default, they can be disabled by using --without in +# the rpmbuild command, or by forcing these values to 0. +# +# standard kernel +%define with_up %{?_without_up: 0} %{?!_without_up: 1} +# build the base variants +%define with_base %{?_without_base: 0} %{?!_without_base: 1} +# build also debug variants +%define with_debug %{?_without_debug: 0} %{?!_without_debug: 1} +# kernel-zfcpdump (s390 specific kernel for zfcpdump) +%define with_zfcpdump %{?_without_zfcpdump: 0} %{?!_without_zfcpdump: 1} +# kernel-16k (aarch64 kernel with 16K page_size) +%define with_arm64_16k %{?_with_arm64_16k: 1} %{?!_with_arm64_16k: 0} +# kernel-64k (aarch64 kernel with 64K page_size) +%define with_arm64_64k %{?_without_arm64_64k: 0} %{?!_without_arm64_64k: 1} +# kernel-rt (x86_64 and aarch64 only PREEMPT_RT enabled kernel) +%define with_realtime %{?_without_realtime: 0} %{?!_without_realtime: 1} +# kernel-automotive (x86_64 and aarch64 with PREEMPT_RT enabled - currently off by default) +%define with_automotive %{?_with_automotive: 1} %{?!_with_automotive: 0} + +# Supported variants +# with_base with_debug with_gcov +# up X X X +# zfcpdump X X +# arm64_16k X X X +# arm64_64k X X X +# realtime X X X +# automotive X X X + +# kernel-doc +%define with_doc %{?_without_doc: 0} %{?!_without_doc: 1} +# kernel-headers +%define with_headers %{?_without_headers: 0} %{?!_without_headers: 1} +%define with_cross_headers %{?_without_cross_headers: 0} %{?!_without_cross_headers: 1} +# perf +%define with_perf %{?_without_perf: 0} %{?!_without_perf: 1} +# libperf +%define with_libperf %{?_without_libperf: 0} %{?!_without_libperf: 1} +# tools +%define with_tools %{?_without_tools: 0} %{?!_without_tools: 1} +# kernel-debuginfo +%define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 1} +# kernel-abi-stablelists +%define with_kernel_abi_stablelists %{?_without_kernel_abi_stablelists: 0} %{?!_without_kernel_abi_stablelists: 1} +# internal samples and selftests +%define with_selftests %{?_without_selftests: 0} %{?!_without_selftests: 1} +# +# Additional options for user-friendly one-off kernel building: +# +# Only build the base kernel (--with baseonly): +%define with_baseonly %{?_with_baseonly: 1} %{?!_with_baseonly: 0} +# Only build the debug variants (--with dbgonly): +%define with_dbgonly %{?_with_dbgonly: 1} %{?!_with_dbgonly: 0} +# Only build the realtime kernel (--with rtonly): +%define with_rtonly %{?_with_rtonly: 1} %{?!_with_rtonly: 0} +# Only build the automotive kernel (--with automotiveonly):% +%define with_automotiveonly %{?_with_automotiveonly: 1} %{?!_with_automotiveonly: 0} +# Control whether we perform a compat. check against published ABI. +%define with_kabichk %{?_without_kabichk: 0} %{?!_without_kabichk: 1} +# Temporarily disable kabi checks until RC. +%define with_kabichk 0 +# Control whether we perform a compat. check against DUP ABI. +%define with_kabidupchk %{?_with_kabidupchk: 1} %{?!_with_kabidupchk: 0} +# +# Control whether to run an extensive DWARF based kABI check. +# Note that this option needs to have baseline setup in SOURCE300. +%define with_kabidwchk %{?_without_kabidwchk: 0} %{?!_without_kabidwchk: 1} +%define with_kabidw_base %{?_with_kabidw_base: 1} %{?!_with_kabidw_base: 0} +# +# Control whether to install the vdso directories. +%define with_vdso_install %{?_without_vdso_install: 0} %{?!_without_vdso_install: 1} +# +# should we do C=1 builds with sparse +%define with_sparse %{?_with_sparse: 1} %{?!_with_sparse: 0} +# +# Cross compile requested? +%define with_cross %{?_with_cross: 1} %{?!_with_cross: 0} +# +# build a release kernel on rawhide +%define with_release %{?_with_release: 1} %{?!_with_release: 0} + +# verbose build, i.e. no silent rules and V=1 +%define with_verbose %{?_with_verbose: 1} %{?!_with_verbose: 0} + +# +# check for mismatched config options +%define with_configchecks %{?_without_configchecks: 0} %{?!_without_configchecks: 1} + +# +# gcov support +%define with_gcov %{?_with_gcov:1}%{?!_with_gcov:0} + +# +# ipa_clone support +%define with_ipaclones %{?_without_ipaclones: 0} %{?!_without_ipaclones: 1} + +# Want to build a vanilla kernel build without any non-upstream patches? +%define with_vanilla %{?_with_vanilla: 1} %{?!_with_vanilla: 0} + +%ifarch x86_64 aarch64 riscv64 +%define with_efiuki %{?_without_efiuki: 0} %{?!_without_efiuki: 1} +%else +%define with_efiuki 0 +%endif +%define with_realtime 0 +%if 0%{?fedora} +# Kernel headers are being split out into a separate package +%define with_headers 0 +%define with_cross_headers 0 +# no ipa_clone for now +%define with_ipaclones 0 +# no stablelist +%define with_kernel_abi_stablelists 0 +%define with_arm64_64k 0 +%define with_realtime 0 +%define with_automotive 0 +%endif + +%if %{with_verbose} +%define make_opts V=1 +%else +%define make_opts -s +%endif + +%if %{with toolchain_clang} +%ifarch s390x ppc64le +%global llvm_ias 0 +%else +%global llvm_ias 1 +%endif +%global clang_make_opts HOSTCC=clang CC=clang LLVM_IAS=%{llvm_ias} +%if %{with clang_lto} +# LLVM=1 enables use of all LLVM tools. +%global clang_make_opts %{clang_make_opts} LLVM=1 +%endif +%global make_opts %{make_opts} %{clang_make_opts} +# clang does not support the -fdump-ipa-clones option +%global with_ipaclones 0 +%endif + +# turn off debug kernel and kabichk for gcov builds +%if %{with_gcov} +%define with_debug 0 +%define with_kabichk 0 +%define with_kabidupchk 0 +%define with_kabidwchk 0 +%define with_kabidw_base 0 +%define with_kernel_abi_stablelists 0 +%endif + +# turn off kABI DWARF-based check if we're generating the base dataset +%if %{with_kabidw_base} +%define with_kabidwchk 0 +%endif + +# kpatch_kcflags are extra compiler flags applied to base kernel +# -fdump-ipa-clones is enabled only for base kernels on selected arches +%if %{with_ipaclones} +%ifarch x86_64 ppc64le +%define kpatch_kcflags -fdump-ipa-clones +%else +%define with_ipaclones 0 +%endif +%endif + +%define make_target bzImage +%define image_install_path boot + +%define KVERREL %{specversion}-%{release}.%{_target_cpu} +%define KVERREL_RE %(echo %KVERREL | sed 's/+/[+]/g') +%define hdrarch %_target_cpu +%define asmarch %_target_cpu + +%if 0%{!?nopatches:1} +%define nopatches 0 +%endif + +%if %{with_vanilla} +%define nopatches 1 +%endif + +%if %{with_release} +%define debugbuildsenabled 1 +%endif + +%if !%{with_debuginfo} +%define _enable_debug_packages 0 +%endif +%define debuginfodir /usr/lib/debug +# Needed because we override almost everything involving build-ids +# and debuginfo generation. Currently we rely on the old alldebug setting. +%global _build_id_links alldebug + +# if requested, only build base kernel +%if %{with_baseonly} +%define with_debug 0 +%define with_realtime 0 +%define with_vdso_install 0 +%define with_perf 0 +%define with_libperf 0 +%define with_tools 0 +%define with_kernel_abi_stablelists 0 +%define with_selftests 0 +%define with_ipaclones 0 +%endif + +# if requested, only build debug kernel +%if %{with_dbgonly} +%define with_base 0 +%define with_vdso_install 0 +%define with_perf 0 +%define with_libperf 0 +%define with_tools 0 +%define with_kernel_abi_stablelists 0 +%define with_selftests 0 +%define with_ipaclones 0 +%endif + +# if requested, only build realtime kernel +%if %{with_rtonly} +%define with_realtime 1 +%define with_automotive 0 +%define with_up 0 +%define with_debug 0 +%define with_debuginfo 0 +%define with_vdso_install 0 +%define with_perf 0 +%define with_libperf 0 +%define with_tools 0 +%define with_kernel_abi_stablelists 0 +%define with_selftests 0 +%define with_ipaclones 0 +%define with_headers 0 +%define with_efiuki 0 +%define with_zfcpdump 0 +%define with_arm64_16k 0 +%define with_arm64_64k 0 +%endif + +# if requested, only build automotive kernel +%if %{with_automotiveonly} +%define with_automotive 1 +%define with_realtime 0 +%define with_up 0 +%define with_debug 0 +%define with_debuginfo 0 +%define with_vdso_install 0 +%define with_selftests 1 +%endif + +# RT and Automotive kernels are only built on x86_64 and aarch64 +%ifnarch x86_64 aarch64 +%define with_realtime 0 +%define with_automotive 0 +%endif + +%if %{with_automotive} +# overrides compression algorithms for automotive +%global compression zstd +%global compression_flags --rm +%global compext zst + +# automotive does not support the following variants +%define with_realtime 0 +%define with_arm64_16k 0 +%define with_arm64_64k 0 +%define with_efiuki 0 +%define with_doc 0 +%define with_headers 0 +%define with_cross_headers 0 +%define with_perf 0 +%define with_libperf 0 +%define with_tools 0 +%define with_kabichk 0 +%define with_kernel_abi_stablelists 0 +%define with_kabidw_base 0 +%define with_ipaclones 0 +%endif + + +%if %{zipmodules} +%global zipsed -e 's/\.ko$/\.ko.%compext/' +# for parallel xz processes, replace with 1 to go back to single process +%endif + +# turn off kABI DUP check and DWARF-based check if kABI check is disabled +%if !%{with_kabichk} +%define with_kabidupchk 0 +%define with_kabidwchk 0 +%endif + +%if %{with_vdso_install} +%define use_vdso 1 +%endif + +%ifnarch noarch +%define with_kernel_abi_stablelists 0 +%endif + +# Overrides for generic default options + +# only package docs noarch +%ifnarch noarch +%define with_doc 0 +%define doc_build_fail true +%endif + +%if 0%{?fedora} +# don't do debug builds on anything but aarch64 and x86_64 +%ifnarch aarch64 x86_64 +%define with_debug 0 +%endif +%endif + +%define all_configs %{name}-%{specrpmversion}-*.config + +# don't build noarch kernels or headers (duh) +%ifarch noarch +%define with_up 0 +%define with_realtime 0 +%define with_automotive 0 +%define with_headers 0 +%define with_cross_headers 0 +%define with_tools 0 +%define with_perf 0 +%define with_libperf 0 +%define with_selftests 0 +%define with_debug 0 +%endif + +# sparse blows up on ppc +%ifnarch ppc64le +%define with_sparse 0 +%endif + +# zfcpdump mechanism is s390 only +%ifnarch s390x +%define with_zfcpdump 0 +%endif + +# 16k and 64k variants only for aarch64 +%ifnarch aarch64 +%define with_arm64_16k 0 +%define with_arm64_64k 0 +%endif + +%if 0%{?fedora} +# This is not for Fedora +%define with_zfcpdump 0 +%endif + +# Per-arch tweaks + +%ifarch i686 +%define asmarch x86 +%define hdrarch i386 +%define kernel_image arch/x86/boot/bzImage +%endif + +%ifarch x86_64 +%define asmarch x86 +%define kernel_image arch/x86/boot/bzImage +%endif + +%ifarch ppc64le +%define asmarch powerpc +%define hdrarch powerpc +%define make_target vmlinux +%define kernel_image vmlinux +%define kernel_image_elf 1 +%define use_vdso 0 +%endif + +%ifarch s390x +%define asmarch s390 +%define hdrarch s390 +%define kernel_image arch/s390/boot/bzImage +%define vmlinux_decompressor arch/s390/boot/vmlinux +%endif + +%ifarch aarch64 +%define asmarch arm64 +%define hdrarch arm64 +%define make_target vmlinuz.efi +%define kernel_image arch/arm64/boot/vmlinuz.efi +%endif + +%ifarch riscv64 +%define asmarch riscv +%define hdrarch riscv +%define make_target vmlinuz.efi +%define kernel_image arch/riscv/boot/vmlinuz.efi +%endif + +# Should make listnewconfig fail if there's config options +# printed out? +%if %{nopatches} +%define with_configchecks 0 +%endif + +# To temporarily exclude an architecture from being built, add it to +# %%nobuildarches. Do _NOT_ use the ExclusiveArch: line, because if we +# don't build kernel-headers then the new build system will no longer let +# us use the previous build of that package -- it'll just be completely AWOL. +# Which is a BadThing(tm). + +# We only build kernel-headers on the following... +%if 0%{?fedora} +%define nobuildarches i386 +%else +%define nobuildarches i386 i686 +%endif + +%ifarch %nobuildarches +# disable BuildKernel commands +%define with_up 0 +%define with_debug 0 +%define with_zfcpdump 0 +%define with_arm64_16k 0 +%define with_arm64_64k 0 +%define with_realtime 0 +%define with_automotive 0 + +%define with_debuginfo 0 +%define with_perf 0 +%define with_libperf 0 +%define with_tools 0 +%define with_selftests 0 +%define _enable_debug_packages 0 +%endif + +# Architectures we build tools/cpupower on +%if 0%{?fedora} +%define cpupowerarchs %{ix86} x86_64 ppc64le aarch64 +%else +%define cpupowerarchs i686 x86_64 ppc64le aarch64 +%endif + +# Architectures we build kernel livepatching selftests on +%define klptestarches x86_64 ppc64le s390x + +%if 0%{?use_vdso} +%define _use_vdso 1 +%else +%define _use_vdso 0 +%endif + +# If build of debug packages is disabled, we need to know if we want to create +# meta debug packages or not, after we define with_debug for all specific cases +# above. So this must be at the end here, after all cases of with_debug or not. +%define with_debug_meta 0 +%if !%{debugbuildsenabled} +%if %{with_debug} +%define with_debug_meta 1 +%endif +%define with_debug 0 +%endif + +# short-hand for "are we building base/non-debug variants of ...?" +%if %{with_up} && %{with_base} +%define with_up_base 1 +%else +%define with_up_base 0 +%endif +%if %{with_realtime} && %{with_base} +%define with_realtime_base 1 +%else +%define with_realtime_base 0 +%endif +%if %{with_automotive} && %{with_base} +%define with_automotive_base 1 +%else +%define with_automotive_base 0 +%endif +%if %{with_arm64_16k} && %{with_base} +%define with_arm64_16k_base 1 +%else +%define with_arm64_16k_base 0 +%endif +%if %{with_arm64_64k} && %{with_base} +%define with_arm64_64k_base 1 +%else +%define with_arm64_64k_base 0 +%endif + +# +# Packages that need to be installed before the kernel is, because the %%post +# scripts use them. +# +%define kernel_prereq coreutils, systemd >= 203-2, /usr/bin/kernel-install +%define initrd_prereq dracut >= 027 + + +Name: %{package_name} +License: ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-2-Clause) AND ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-3-Clause) AND ((GPL-2.0-only WITH Linux-syscall-note) OR CDDL-1.0) AND ((GPL-2.0-only WITH Linux-syscall-note) OR Linux-OpenIB) AND ((GPL-2.0-only WITH Linux-syscall-note) OR MIT) AND ((GPL-2.0-or-later WITH Linux-syscall-note) OR BSD-3-Clause) AND ((GPL-2.0-or-later WITH Linux-syscall-note) OR MIT) AND 0BSD AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0) AND BSD-3-Clause AND BSD-3-Clause-Clear AND CC0-1.0 AND GFDL-1.1-no-invariants-or-later AND GPL-1.0-or-later AND (GPL-1.0-or-later OR BSD-3-Clause) AND (GPL-1.0-or-later WITH Linux-syscall-note) AND GPL-2.0-only AND (GPL-2.0-only OR Apache-2.0) AND (GPL-2.0-only OR BSD-2-Clause) AND (GPL-2.0-only OR BSD-3-Clause) AND (GPL-2.0-only OR CDDL-1.0) AND (GPL-2.0-only OR GFDL-1.1-no-invariants-or-later) AND (GPL-2.0-only OR GFDL-1.2-no-invariants-only) AND (GPL-2.0-only WITH Linux-syscall-note) AND GPL-2.0-or-later AND (GPL-2.0-or-later OR BSD-2-Clause) AND (GPL-2.0-or-later OR BSD-3-Clause) AND (GPL-2.0-or-later OR CC-BY-4.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH Linux-syscall-note) AND ISC AND LGPL-2.0-or-later AND (LGPL-2.0-or-later OR BSD-2-Clause) AND (LGPL-2.0-or-later WITH Linux-syscall-note) AND LGPL-2.1-only AND (LGPL-2.1-only OR BSD-2-Clause) AND (LGPL-2.1-only WITH Linux-syscall-note) AND LGPL-2.1-or-later AND (LGPL-2.1-or-later WITH Linux-syscall-note) AND (Linux-OpenIB OR GPL-2.0-only) AND (Linux-OpenIB OR GPL-2.0-only OR BSD-2-Clause) AND Linux-man-pages-copyleft AND MIT AND (MIT OR Apache-2.0) AND (MIT OR GPL-2.0-only) AND (MIT OR GPL-2.0-or-later) AND (MIT OR LGPL-2.1-only) AND (MPL-1.1 OR GPL-2.0-only) AND (X11 OR GPL-2.0-only) AND (X11 OR GPL-2.0-or-later) AND Zlib AND (copyleft-next-0.3.1 OR GPL-2.0-or-later) +URL: https://www.kernel.org/ +Version: %{specrpmversion} +Release: %{pkg_release} +# DO NOT CHANGE THE 'ExclusiveArch' LINE TO TEMPORARILY EXCLUDE AN ARCHITECTURE BUILD. +# SET %%nobuildarches (ABOVE) INSTEAD +%if 0%{?fedora} +ExclusiveArch: noarch x86_64 s390x aarch64 ppc64le riscv64 +%else +ExclusiveArch: noarch i386 i686 x86_64 s390x aarch64 ppc64le +%endif +ExclusiveOS: Linux +%ifnarch %{nobuildarches} +Requires: kernel-core-uname-r = %{KVERREL} +Requires: kernel-modules-uname-r = %{KVERREL} +Requires: kernel-modules-core-uname-r = %{KVERREL} +Provides: installonlypkg(kernel) +%endif + + +# +# List the packages used during the kernel build +# +BuildRequires: kmod, bash, coreutils, tar, git-core, which +BuildRequires: bzip2, xz, findutils, m4, perl-interpreter, perl-Carp, perl-devel, perl-generators, make, diffutils, gawk, %compression +BuildRequires: gcc, binutils, redhat-rpm-config, hmaccalc, bison, flex, gcc-c++ +%if 0%{?fedora} +BuildRequires: rust, rust-src, bindgen +%endif +BuildRequires: net-tools, hostname, bc, elfutils-devel +BuildRequires: dwarves +BuildRequires: python3 +BuildRequires: python3-devel +BuildRequires: python3-pyyaml +BuildRequires: kernel-rpm-macros +# glibc-static is required for a consistent build environment (specifically +# CONFIG_CC_CAN_LINK_STATIC=y). +BuildRequires: glibc-static +%if %{with_headers} || %{with_cross_headers} +BuildRequires: rsync +%endif +%if %{with_doc} +BuildRequires: xmlto, asciidoc, python3-sphinx, python3-sphinx_rtd_theme +%endif +%if %{with_sparse} +BuildRequires: sparse +%endif +%if %{with_perf} +BuildRequires: zlib-devel binutils-devel newt-devel perl(ExtUtils::Embed) bison flex xz-devel +BuildRequires: audit-libs-devel python3-setuptools +BuildRequires: java-devel +BuildRequires: libbpf-devel >= 0.6.0-1 +BuildRequires: libbabeltrace-devel +BuildRequires: libtraceevent-devel +%ifnarch s390x +BuildRequires: numactl-devel +%endif +%ifarch aarch64 +BuildRequires: opencsd-devel >= 1.0.0 +%endif +%endif +%if %{with_tools} +BuildRequires: python3-docutils +BuildRequires: gettext ncurses-devel +BuildRequires: libcap-devel libcap-ng-devel +# The following are rtla requirements +BuildRequires: python3-docutils +BuildRequires: libtraceevent-devel +BuildRequires: libtracefs-devel + +%ifnarch s390x +BuildRequires: pciutils-devel +%endif +%ifarch i686 x86_64 +BuildRequires: libnl3-devel +%endif +%endif +%if %{with_tools} || %{signmodules} || %{signkernel} +BuildRequires: openssl-devel +%endif +%if %{with_selftests} +BuildRequires: clang llvm-devel fuse-devel zlib-devel binutils-devel +%ifarch x86_64 riscv64 +BuildRequires: lld +%endif +BuildRequires: libcap-devel libcap-ng-devel rsync libmnl-devel +BuildRequires: numactl-devel +%endif +BuildConflicts: rhbuildsys(DiskFree) < 500Mb +%if %{with_debuginfo} +BuildRequires: rpm-build, elfutils +BuildConflicts: rpm < 4.13.0.1-19 +BuildConflicts: dwarves < 1.13 +# Most of these should be enabled after more investigation +%undefine _include_minidebuginfo +%undefine _find_debuginfo_dwz_opts +%undefine _unique_build_ids +%undefine _unique_debug_names +%undefine _unique_debug_srcs +%undefine _debugsource_packages +%undefine _debuginfo_subpackages + +# Remove -q option below to provide 'extracting debug info' messages +%global _find_debuginfo_opts -r -q + +%global _missing_build_ids_terminate_build 1 +%global _no_recompute_build_ids 1 +%endif +%if %{with_kabidwchk} || %{with_kabidw_base} +BuildRequires: kabi-dw +%endif + +%if %{signkernel}%{signmodules} +BuildRequires: openssl +%if %{signkernel} +# ELN uses Fedora signing process, so exclude +%if 0%{?rhel}%{?centos} && !0%{?eln} +BuildRequires: system-sb-certs +%endif +%ifarch x86_64 aarch64 riscv64 +BuildRequires: nss-tools +BuildRequires: pesign >= 0.10-4 +%endif +%endif +%endif + +%if %{with_cross} +BuildRequires: binutils-%{_build_arch}-linux-gnu, gcc-%{_build_arch}-linux-gnu +%define cross_opts CROSS_COMPILE=%{_build_arch}-linux-gnu- +%define __strip %{_build_arch}-linux-gnu-strip +%endif + +# These below are required to build man pages +%if %{with_perf} +BuildRequires: xmlto +%endif +%if %{with_perf} || %{with_tools} +BuildRequires: asciidoc +%endif + +%if %{with toolchain_clang} +BuildRequires: clang +%endif + +%if %{with clang_lto} +BuildRequires: llvm +BuildRequires: lld +%endif + +%if %{with_efiuki} +BuildRequires: dracut +# For dracut UEFI uki binaries +BuildRequires: binutils +# For the initrd +BuildRequires: lvm2 +BuildRequires: systemd-boot-unsigned +# For systemd-stub and systemd-pcrphase +BuildRequires: systemd-udev >= 252-1 +# For UKI kernel cmdline addons +BuildRequires: systemd-ukify +# For TPM operations in UKI initramfs +BuildRequires: tpm2-tools +# For UKI sb cert +%if 0%{?rhel}%{?centos} && !0%{?eln} +%if 0%{?centos} +BuildRequires: centos-sb-certs >= 9.0-23 +%else +BuildRequires: redhat-sb-certs >= 9.4-0.1 +%endif +%endif +%endif + +# Because this is the kernel, it's hard to get a single upstream URL +# to represent the base without needing to do a bunch of patching. This +# tarball is generated from a src-git tree. If you want to see the +# exact git commit you can run +# +# xzcat -qq ${TARBALL} | git get-tar-commit-id +Source0: linux-%{tarfile_release}.tar.xz + +Source1: Makefile.rhelver +Source2: kernel.changelog + +Source10: redhatsecurebootca5.cer +Source13: redhatsecureboot501.cer + +%if %{signkernel} +# Name of the packaged file containing signing key +%ifarch ppc64le +%define signing_key_filename kernel-signing-ppc.cer +%endif +%ifarch s390x +%define signing_key_filename kernel-signing-s390.cer +%endif + +# Fedora/ELN pesign macro expects to see these cert file names, see: +# https://github.com/rhboot/pesign/blob/main/src/pesign-rpmbuild-helper.in#L216 +%if 0%{?fedora}%{?eln} +%define pesign_name_0 redhatsecureboot501 +%define secureboot_ca_0 %{SOURCE10} +%define secureboot_key_0 %{SOURCE13} +%endif + +# RHEL/centos certs come from system-sb-certs +%if 0%{?rhel} && !0%{?eln} +%define secureboot_ca_0 %{_datadir}/pki/sb-certs/secureboot-ca-%{_arch}.cer +%define secureboot_key_0 %{_datadir}/pki/sb-certs/secureboot-kernel-%{_arch}.cer + +%if 0%{?centos} +%define pesign_name_0 centossecureboot201 +%else +%ifarch x86_64 aarch64 +%define pesign_name_0 redhatsecureboot501 +%endif +%ifarch s390x +%define pesign_name_0 redhatsecureboot302 +%endif +%ifarch ppc64le +%define pesign_name_0 redhatsecureboot701 +%endif +%endif +# rhel && !eln +%endif + +# signkernel +%endif + +Source20: mod-denylist.sh +Source21: mod-sign.sh +Source22: filtermods.py + +%define modsign_cmd %{SOURCE21} + +%if 0%{?include_rhel} +Source23: x509.genkey.rhel + +Source24: %{name}-aarch64-rhel.config +Source25: %{name}-aarch64-debug-rhel.config + +Source27: %{name}-ppc64le-rhel.config +Source28: %{name}-ppc64le-debug-rhel.config +Source29: %{name}-s390x-rhel.config +Source30: %{name}-s390x-debug-rhel.config +Source31: %{name}-s390x-zfcpdump-rhel.config +Source32: %{name}-x86_64-rhel.config +Source33: %{name}-x86_64-debug-rhel.config + +Source34: def_variants.yaml.rhel + +Source41: x509.genkey.centos +# ARM64 64K page-size kernel config +Source42: %{name}-aarch64-64k-rhel.config +Source43: %{name}-aarch64-64k-debug-rhel.config + +%endif + +%if 0%{?include_rocky} +Source1000: kernel-aarch64-64k.config +Source1001: kernel-aarch64-64k-debug.config +Source1002: kernel-aarch64.config +Source1003: kernel-aarch64-debug.config +Source1004: kernel-x86_64.config +Source1005: kernel-x86_64-debug.config +Source1006: partial-snip.config +Source1007: def_variants.yaml.rocky +%endif + +%if 0%{?include_fedora} +Source50: x509.genkey.fedora + +Source52: %{name}-aarch64-fedora.config +Source53: %{name}-aarch64-debug-fedora.config +Source54: %{name}-aarch64-16k-fedora.config +Source55: %{name}-aarch64-16k-debug-fedora.config +Source56: %{name}-ppc64le-fedora.config +Source57: %{name}-ppc64le-debug-fedora.config +Source58: %{name}-s390x-fedora.config +Source59: %{name}-s390x-debug-fedora.config +Source60: %{name}-x86_64-fedora.config +Source61: %{name}-x86_64-debug-fedora.config +Source700: %{name}-riscv64-fedora.config +Source701: %{name}-riscv64-debug-fedora.config + +Source62: def_variants.yaml.fedora +%endif + +Source80: generate_all_configs.sh +Source81: process_configs.sh + +Source86: dracut-virt.conf + +Source87: flavors + +Source151: uki_create_addons.py +Source152: uki_addons.json + +Source100: rheldup3.x509 +Source101: rhelkpatch1.x509 +Source102: nvidiagpuoot001.x509 +Source103: rhelimaca1.x509 +Source104: rhelima.x509 +Source105: rhelima_centos.x509 +Source106: fedoraimaca.x509 + +%if 0%{?fedora}%{?eln} +%define ima_ca_cert %{SOURCE106} +%endif + +%if 0%{?rhel} && !0%{?eln} +%define ima_ca_cert %{SOURCE103} +# rhel && !eln +%endif + +%if 0%{?centos} +%define ima_signing_cert %{SOURCE105} +%else +%define ima_signing_cert %{SOURCE104} +%endif + +%define ima_cert_name ima.cer + +Source200: check-kabi + +Source201: Module.kabi_aarch64 +Source202: Module.kabi_ppc64le +Source203: Module.kabi_s390x +Source204: Module.kabi_x86_64 +Source205: Module.kabi_riscv64 + +Source210: Module.kabi_dup_aarch64 +Source211: Module.kabi_dup_ppc64le +Source212: Module.kabi_dup_s390x +Source213: Module.kabi_dup_x86_64 +Source214: Module.kabi_dup_riscv64 + +Source300: kernel-abi-stablelists-%{kabiversion}.tar.xz +Source301: kernel-kabi-dw-%{kabiversion}.tar.xz + +%if 0%{include_rt} +%if 0%{include_rhel} +Source474: %{name}-aarch64-rt-rhel.config +Source475: %{name}-aarch64-rt-debug-rhel.config +Source476: %{name}-x86_64-rt-rhel.config +Source477: %{name}-x86_64-rt-debug-rhel.config +%endif +%if 0%{include_fedora} +Source478: %{name}-aarch64-rt-fedora.config +Source479: %{name}-aarch64-rt-debug-fedora.config +Source480: %{name}-x86_64-rt-fedora.config +Source481: %{name}-x86_64-rt-debug-fedora.config +Source482: %{name}-riscv64-rt-fedora.config +Source483: %{name}-riscv64-rt-debug-fedora.config +%endif +%endif + +%if %{include_automotive} +# automotive config files +Source484: %{name}-aarch64-automotive-rhel.config +Source485: %{name}-aarch64-automotive-debug-rhel.config +Source486: %{name}-x86_64-automotive-rhel.config +Source487: %{name}-x86_64-automotive-debug-rhel.config +%endif + + +# Sources for kernel-tools +Source2002: kvm_stat.logrotate + +# Some people enjoy building customized kernels from the dist-git in Fedora and +# use this to override configuration options. One day they may all use the +# source tree, but in the mean time we carry this to support the legacy workflow +Source3000: merge.py +Source3001: kernel-local +%if %{patchlist_changelog} +Source3002: Patchlist.changelog +%endif + +Source4000: README.rst +Source4001: rpminspect.yaml +Source4002: gating.yaml + +## Patches needed for building this package + +%if !%{nopatches} + +Patch1: patch-%{patchversion}-redhat.patch +%endif + +# empty final patch to facilitate testing of kernel patches +Patch999999: linux-kernel-test.patch + +# END OF PATCH DEFINITIONS + +%description +The kernel meta package + +# +# This macro does requires, provides, conflicts, obsoletes for a kernel package. +# %%kernel_reqprovconf [-o] +# It uses any kernel__conflicts and kernel__obsoletes +# macros defined above. +# +%define kernel_reqprovconf(o) \ +%if %{-o:0}%{!-o:1}\ +Provides: kernel = %{specversion}-%{pkg_release}\ +%endif\ +Provides: kernel-%{_target_cpu} = %{specrpmversion}-%{pkg_release}%{uname_suffix %{?1:+%{1}}}\ +Provides: kernel-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires(pre): %{kernel_prereq}\ +Requires(pre): %{initrd_prereq}\ +Requires(pre): ((linux-firmware >= 20150904-56.git6ebf5d57) if linux-firmware)\ +Recommends: linux-firmware\ +Requires(preun): systemd >= 200\ +Conflicts: xfsprogs < 4.3.0-1\ +Conflicts: xorg-x11-drv-vmmouse < 13.0.99\ +%{expand:%%{?kernel%{?1:_%{1}}_conflicts:Conflicts: %%{kernel%{?1:_%{1}}_conflicts}}}\ +%{expand:%%{?kernel%{?1:_%{1}}_obsoletes:Obsoletes: %%{kernel%{?1:_%{1}}_obsoletes}}}\ +%{expand:%%{?kernel%{?1:_%{1}}_provides:Provides: %%{kernel%{?1:_%{1}}_provides}}}\ +# We can't let RPM do the dependencies automatic because it'll then pick up\ +# a correct but undesirable perl dependency from the module headers which\ +# isn't required for the kernel proper to function\ +AutoReq: no\ +AutoProv: yes\ +%{nil} + + +%package doc +Summary: Various documentation bits found in the kernel source +Group: Documentation +%description doc +This package contains documentation files from the kernel +source. Various bits of information about the Linux kernel and the +device drivers shipped with it are documented in these files. + +You'll want to install this package if you need a reference to the +options that can be passed to Linux kernel modules at load time. + + +%package headers +Summary: Header files for the Linux kernel for use by glibc +Obsoletes: glibc-kernheaders < 3.0-46 +Provides: glibc-kernheaders = 3.0-46 +%if 0%{?gemini} +Provides: kernel-headers = %{specversion}-%{release} +Obsoletes: kernel-headers < %{specversion} +%endif +%description headers +Kernel-headers includes the C header files that specify the interface +between the Linux kernel and userspace libraries and programs. The +header files define structures and constants that are needed for +building most standard programs and are also needed for rebuilding the +glibc package. + +%package cross-headers +Summary: Header files for the Linux kernel for use by cross-glibc +%if 0%{?gemini} +Provides: kernel-cross-headers = %{specversion}-%{release} +Obsoletes: kernel-cross-headers < %{specversion} +%endif +%description cross-headers +Kernel-cross-headers includes the C header files that specify the interface +between the Linux kernel and userspace libraries and programs. The +header files define structures and constants that are needed for +building most standard programs and are also needed for rebuilding the +cross-glibc package. + +%package debuginfo-common-%{_target_cpu} +Summary: Kernel source files used by %{name}-debuginfo packages +Provides: installonlypkg(kernel) +%description debuginfo-common-%{_target_cpu} +This package is required by %{name}-debuginfo subpackages. +It provides the kernel source files common to all builds. + +%if %{with_perf} +%package -n perf +%if 0%{gemini} +Epoch: %{gemini} +%endif +Summary: Performance monitoring for the Linux kernel +Requires: bzip2 +%description -n perf +This package contains the perf tool, which enables performance monitoring +of the Linux kernel. + +%package -n perf-debuginfo +%if 0%{gemini} +Epoch: %{gemini} +%endif +Summary: Debug information for package perf +Requires: %{name}-debuginfo-common-%{_target_cpu} = %{specrpmversion}-%{release} +AutoReqProv: no +%description -n perf-debuginfo +This package provides debug information for the perf package. + +# Note that this pattern only works right to match the .build-id +# symlinks because of the trailing nonmatching alternation and +# the leading .*, because of find-debuginfo.sh's buggy handling +# of matching the pattern against the symlinks file. +%{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} + +%package -n python3-perf +%if 0%{gemini} +Epoch: %{gemini} +%endif +Summary: Python bindings for apps which will manipulate perf events +%description -n python3-perf +The python3-perf package contains a module that permits applications +written in the Python programming language to use the interface +to manipulate perf events. + +%package -n python3-perf-debuginfo +%if 0%{gemini} +Epoch: %{gemini} +%endif +Summary: Debug information for package perf python bindings +Requires: %{name}-debuginfo-common-%{_target_cpu} = %{specrpmversion}-%{release} +AutoReqProv: no +%description -n python3-perf-debuginfo +This package provides debug information for the perf python bindings. + +# the python_sitearch macro should already be defined from above +%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{python3_sitearch}/perf.*so(\.debug)?|XXX' -o python3-perf-debuginfo.list} + +# with_perf +%endif + +%if %{with_libperf} +%package -n libperf +Summary: The perf library from kernel source +%description -n libperf +This package contains the kernel source perf library. + +%package -n libperf-devel +Summary: Developement files for the perf library from kernel source +Requires: libperf = %{version}-%{release} +%description -n libperf-devel +This package includes libraries and header files needed for development +of applications which use perf library from kernel source. + +%package -n libperf-debuginfo +Summary: Debug information for package libperf +Group: Development/Debug +Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release} +AutoReqProv: no +%description -n libperf-debuginfo +This package provides debug information for the libperf package. + +# Note that this pattern only works right to match the .build-id +# symlinks because of the trailing nonmatching alternation and +# the leading .*, because of find-debuginfo.sh's buggy handling +# of matching the pattern against the symlinks file. +%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{_libdir}/libperf.so.*(\.debug)?|XXX' -o libperf-debuginfo.list} +# with_libperf +%endif + +%if %{with_tools} +%package -n %{package_name}-tools +Summary: Assortment of tools for the Linux kernel +%ifarch %{cpupowerarchs} +Provides: cpupowerutils = 1:009-0.6.p1 +Obsoletes: cpupowerutils < 1:009-0.6.p1 +Provides: cpufreq-utils = 1:009-0.6.p1 +Provides: cpufrequtils = 1:009-0.6.p1 +Obsoletes: cpufreq-utils < 1:009-0.6.p1 +Obsoletes: cpufrequtils < 1:009-0.6.p1 +Obsoletes: cpuspeed < 1:1.5-16 +Requires: %{package_name}-tools-libs = %{specrpmversion}-%{release} +%endif +%define __requires_exclude ^%{_bindir}/python +%description -n %{package_name}-tools +This package contains the tools/ directory from the kernel source +and the supporting documentation. + +%package -n %{package_name}-tools-libs +Summary: Libraries for the kernels-tools +%description -n %{package_name}-tools-libs +This package contains the libraries built from the tools/ directory +from the kernel source. + +%package -n %{package_name}-tools-libs-devel +Summary: Assortment of tools for the Linux kernel +Requires: %{package_name}-tools = %{version}-%{release} +%ifarch %{cpupowerarchs} +Provides: cpupowerutils-devel = 1:009-0.6.p1 +Obsoletes: cpupowerutils-devel < 1:009-0.6.p1 +%endif +Requires: %{package_name}-tools-libs = %{version}-%{release} +Provides: %{package_name}-tools-devel +%description -n %{package_name}-tools-libs-devel +This package contains the development files for the tools/ directory from +the kernel source. + +%package -n %{package_name}-tools-debuginfo +Summary: Debug information for package %{package_name}-tools +Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release} +AutoReqProv: no +%description -n %{package_name}-tools-debuginfo +This package provides debug information for package %{package_name}-tools. + +# Note that this pattern only works right to match the .build-id +# symlinks because of the trailing nonmatching alternation and +# the leading .*, because of find-debuginfo.sh's buggy handling +# of matching the pattern against the symlinks file. +%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{_bindir}/bootconfig(\.debug)?|.*%%{_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)?|.*%%{_sbindir}/intel_sdsi(\.debug)?|XXX' -o %{package_name}-tools-debuginfo.list} + +%package -n rtla +%if 0%{gemini} +Epoch: %{gemini} +%endif +Summary: Real-Time Linux Analysis tools +Requires: libtraceevent +Requires: libtracefs +%description -n rtla +The rtla meta-tool includes a set of commands that aims to analyze +the real-time properties of Linux. Instead of testing Linux as a black box, +rtla leverages kernel tracing capabilities to provide precise information +about the properties and root causes of unexpected results. + +%package -n rv +Summary: RV: Runtime Verification +%description -n rv +Runtime Verification (RV) is a lightweight (yet rigorous) method that +complements classical exhaustive verification techniques (such as model +checking and theorem proving) with a more practical approach for +complex systems. +The rv tool is the interface for a collection of monitors that aim +analysing the logical and timing behavior of Linux. + +# with_tools +%endif + +%if %{with_selftests} + +%package selftests-internal +Summary: Kernel samples and selftests +Requires: binutils, bpftool, iproute-tc, nmap-ncat, python3, fuse-libs, keyutils +%description selftests-internal +Kernel sample programs and selftests. + +# Note that this pattern only works right to match the .build-id +# symlinks because of the trailing nonmatching alternation and +# the leading .*, because of find-debuginfo.sh's buggy handling +# of matching the pattern against the symlinks file. +%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{_libexecdir}/(ksamples|kselftests)/.*|XXX' -o selftests-debuginfo.list} + +%define __requires_exclude ^liburandom_read.so.*$ + +# with_selftests +%endif + +%define kernel_gcov_package() \ +%package %{?1:%{1}-}gcov\ +Summary: gcov graph and source files for coverage data collection.\ +%description %{?1:%{1}-}gcov\ +%{?1:%{1}-}gcov includes the gcov graph and source files for gcov coverage collection.\ +%{nil} + +%package -n %{package_name}-abi-stablelists +Summary: The Red Hat Enterprise Linux kernel ABI symbol stablelists +AutoReqProv: no +%description -n %{package_name}-abi-stablelists +The kABI package contains information pertaining to the Red Hat Enterprise +Linux kernel ABI, including lists of kernel symbols that are needed by +external Linux kernel modules, and a yum plugin to aid enforcement. + +%if %{with_kabidw_base} +%package kernel-kabidw-base-internal +Summary: The baseline dataset for kABI verification using DWARF data +Group: System Environment/Kernel +AutoReqProv: no +%description kernel-kabidw-base-internal +The package contains data describing the current ABI of the Red Hat Enterprise +Linux kernel, suitable for the kabi-dw tool. +%endif + +# +# This macro creates a kernel--debuginfo package. +# %%kernel_debuginfo_package +# +# Explanation of the find_debuginfo_opts: We build multiple kernels (debug, +# rt, 64k etc.) so the regex filters those kernels appropriately. We also +# have to package several binaries as part of kernel-devel but getting +# unique build-ids is tricky for these userspace binaries. We don't really +# care about debugging those so we just filter those out and remove it. +%define kernel_debuginfo_package() \ +%package %{?1:%{1}-}debuginfo\ +Summary: Debug information for package %{name}%{?1:-%{1}}\ +Requires: %{name}-debuginfo-common-%{_target_cpu} = %{specrpmversion}-%{release}\ +Provides: %{name}%{?1:-%{1}}-debuginfo-%{_target_cpu} = %{specrpmversion}-%{release}\ +Provides: installonlypkg(kernel)\ +AutoReqProv: no\ +%description %{?1:%{1}-}debuginfo\ +This package provides debug information for package %{name}%{?1:-%{1}}.\ +This is required to use SystemTap with %{name}%{?1:-%{1}}-%{KVERREL}.\ +%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} --keep-section '.BTF' -p '.*\/usr\/src\/kernels/.*|XXX' -o ignored-debuginfo.list -p '/.*/%%{KVERREL_RE}%{?1:[+]%{1}}/.*|/.*%%{KVERREL_RE}%{?1:\+%{1}}(\.debug)?' -o debuginfo%{?1}.list}\ +%{nil} + +# +# This macro creates a kernel--devel package. +# %%kernel_devel_package [-m] +# +%define kernel_devel_package(m) \ +%package %{?1:%{1}-}devel\ +Summary: Development package for building kernel modules to match the %{?2:%{2} }kernel\ +Provides: kernel%{?1:-%{1}}-devel-%{_target_cpu} = %{specrpmversion}-%{release}\ +Provides: kernel-devel-%{_target_cpu} = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: kernel-devel-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Provides: installonlypkg(kernel)\ +AutoReqProv: no\ +Requires(pre): findutils\ +Requires: findutils\ +Requires: perl-interpreter\ +Requires: openssl-devel\ +Requires: elfutils-libelf-devel\ +Requires: bison\ +Requires: flex\ +Requires: make\ +Requires: gcc\ +%if %{-m:1}%{!-m:0}\ +Requires: kernel-devel-uname-r = %{KVERREL}%{uname_variant %{?1:%{1}}}\ +%endif\ +%description %{?1:%{1}-}devel\ +This package provides kernel headers and makefiles sufficient to build modules\ +against the %{?2:%{2} }kernel package.\ +%{nil} + +# +# This macro creates an empty kernel--devel-matched package that +# requires both the core and devel packages locked on the same version. +# %%kernel_devel_matched_package [-m] +# +%define kernel_devel_matched_package(m) \ +%package %{?1:%{1}-}devel-matched\ +Summary: Meta package to install matching core and devel packages for a given %{?2:%{2} }kernel\ +Requires: %{package_name}%{?1:-%{1}}-devel = %{specrpmversion}-%{release}\ +Requires: %{package_name}%{?1:-%{1}}-core = %{specrpmversion}-%{release}\ +%description %{?1:%{1}-}devel-matched\ +This meta package is used to install matching core and devel packages for a given %{?2:%{2} }kernel.\ +%{nil} + +# +# kernel--ipaclones-internal package +# +%define kernel_ipaclones_package() \ +%package %{?1:%{1}-}ipaclones-internal\ +Summary: *.ipa-clones files generated by -fdump-ipa-clones for kernel%{?1:-%{1}}\ +Group: System Environment/Kernel\ +AutoReqProv: no\ +%description %{?1:%{1}-}ipaclones-internal\ +This package provides *.ipa-clones files.\ +%{nil} + +# +# This macro creates a kernel--modules-internal package. +# %%kernel_modules_internal_package +# +%define kernel_modules_internal_package() \ +%package %{?1:%{1}-}modules-internal\ +Summary: Extra kernel modules to match the %{?2:%{2} }kernel\ +Group: System Environment/Kernel\ +Provides: kernel%{?1:-%{1}}-modules-internal-%{_target_cpu} = %{specrpmversion}-%{release}\ +Provides: kernel%{?1:-%{1}}-modules-internal-%{_target_cpu} = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: kernel%{?1:-%{1}}-modules-internal = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: installonlypkg(kernel-module)\ +Provides: kernel%{?1:-%{1}}-modules-internal-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +AutoReq: no\ +AutoProv: yes\ +%description %{?1:%{1}-}modules-internal\ +This package provides kernel modules for the %{?2:%{2} }kernel package for Red Hat internal usage.\ +%{nil} + +# +# This macro creates a kernel--modules-extra package. +# %%kernel_modules_extra_package [-m] +# +%define kernel_modules_extra_package(m) \ +%package %{?1:%{1}-}modules-extra\ +Summary: Extra kernel modules to match the %{?2:%{2} }kernel\ +Provides: kernel%{?1:-%{1}}-modules-extra-%{_target_cpu} = %{specrpmversion}-%{release}\ +Provides: kernel%{?1:-%{1}}-modules-extra-%{_target_cpu} = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: kernel%{?1:-%{1}}-modules-extra = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: installonlypkg(kernel-module)\ +Provides: kernel%{?1:-%{1}}-modules-extra-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +%if %{-m:1}%{!-m:0}\ +Requires: kernel-modules-extra-uname-r = %{KVERREL}%{uname_variant %{?1:+%{1}}}\ +%endif\ +AutoReq: no\ +AutoProv: yes\ +%description %{?1:%{1}-}modules-extra\ +This package provides less commonly used kernel modules for the %{?2:%{2} }kernel package.\ +%{nil} + +# +# This macro creates a kernel--modules package. +# %%kernel_modules_package [-m] +# +%define kernel_modules_package(m) \ +%package %{?1:%{1}-}modules\ +Summary: kernel modules to match the %{?2:%{2}-}core kernel\ +Provides: kernel%{?1:-%{1}}-modules-%{_target_cpu} = %{specrpmversion}-%{release}\ +Provides: kernel-modules-%{_target_cpu} = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: kernel-modules = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: installonlypkg(kernel-module)\ +Provides: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +%if %{-m:1}%{!-m:0}\ +Requires: kernel-modules-uname-r = %{KVERREL}%{uname_variant %{?1:+%{1}}}\ +%endif\ +AutoReq: no\ +AutoProv: yes\ +%description %{?1:%{1}-}modules\ +This package provides commonly used kernel modules for the %{?2:%{2}-}core kernel package.\ +%{nil} + +# +# This macro creates a kernel--modules-core package. +# %%kernel_modules_core_package [-m] +# +%define kernel_modules_core_package(m) \ +%package %{?1:%{1}-}modules-core\ +Summary: Core kernel modules to match the %{?2:%{2}-}core kernel\ +Provides: kernel%{?1:-%{1}}-modules-core-%{_target_cpu} = %{specrpmversion}-%{release}\ +Provides: kernel-modules-core-%{_target_cpu} = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: kernel-modules-core = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: installonlypkg(kernel-module)\ +Provides: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +%if %{-m:1}%{!-m:0}\ +Requires: kernel-modules-core-uname-r = %{KVERREL}%{uname_variant %{?1:+%{1}}}\ +%endif\ +AutoReq: no\ +AutoProv: yes\ +%description %{?1:%{1}-}modules-core\ +This package provides essential kernel modules for the %{?2:%{2}-}core kernel package.\ +%{nil} + +# +# this macro creates a kernel- meta package. +# %%kernel_meta_package +# +%define kernel_meta_package() \ +%package %{1}\ +summary: kernel meta-package for the %{1} kernel\ +Requires: kernel-%{1}-core-uname-r = %{KVERREL}%{uname_suffix %{1}}\ +Requires: kernel-%{1}-modules-uname-r = %{KVERREL}%{uname_suffix %{1}}\ +Requires: kernel-%{1}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{1}}\ +%if "%{1}" == "rt" || "%{1}" == "rt-debug"\ +Requires: realtime-setup\ +%endif\ +Provides: installonlypkg(kernel)\ +%description %{1}\ +The meta-package for the %{1} kernel\ +%{nil} + +%if %{with_realtime} +# +# this macro creates a kernel-rt--kvm package +# %%kernel_kvm_package +# +%define kernel_kvm_package() \ +%package %{?1:%{1}-}kvm\ +Summary: KVM modules for package kernel%{?1:-%{1}}\ +Group: System Environment/Kernel\ +Requires: kernel-uname-r = %{KVERREL}%{uname_suffix %{?1:%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Provides: installonlypkg(kernel-module)\ +Provides: kernel%{?1:-%{1}}-kvm-%{_target_cpu} = %{version}-%{release}\ +AutoReq: no\ +%description -n kernel%{?1:-%{1}}-kvm\ +This package provides KVM modules for package kernel%{?1:-%{1}}.\ +%{nil} +%endif + +# +# This macro creates a kernel- and its -devel and -debuginfo too. +# %%define variant_summary The Linux kernel compiled for +# %%kernel_variant_package [-n ] [-m] [-o] +# +%define kernel_variant_package(n:mo) \ +%package %{?1:%{1}-}core\ +Summary: %{variant_summary}\ +Provides: kernel-%{?1:%{1}-}core-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Provides: installonlypkg(kernel)\ +%if %{-m:1}%{!-m:0}\ +Requires: kernel-core-uname-r = %{KVERREL}%{uname_variant %{?1:+%{1}}}\ +Requires: kernel-%{?1:%{1}-}-modules-core-uname-r = %{KVERREL}%{uname_variant %{?1:+%{1}}}\ +%endif\ +%{expand:%%kernel_reqprovconf %{?1:%{1}} %{-o:%{-o}}}\ +%if %{?1:1} %{!?1:0} \ +%{expand:%%kernel_meta_package %{?1:%{1}}}\ +%endif\ +%{expand:%%kernel_devel_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}} %{-m:%{-m}}}\ +%{expand:%%kernel_devel_matched_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}} %{-m:%{-m}}}\ +%{expand:%%kernel_modules_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}} %{-m:%{-m}}}\ +%{expand:%%kernel_modules_core_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}} %{-m:%{-m}}}\ +%{expand:%%kernel_modules_extra_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}} %{-m:%{-m}}}\ +%if %{-m:0}%{!-m:1}\ +%{expand:%%kernel_modules_internal_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}}}\ +%if 0%{!?fedora:1}\ +%{expand:%%kernel_modules_partner_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}}}\ +%endif\ +%{expand:%%kernel_debuginfo_package %{?1:%{1}}}\ +%endif\ +%if "%{1}" == "rt" || "%{1}" == "rt-debug"\ +%{expand:%%kernel_kvm_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}}}\ +%else \ +%if %{with_efiuki}\ +%package %{?1:%{1}-}uki-virt\ +Summary: %{variant_summary} unified kernel image for virtual machines\ +Provides: installonlypkg(kernel)\ +Provides: kernel-%{?1:%{1}-}uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires(pre): %{kernel_prereq}\ +Requires(pre): systemd >= 254-1\ +%package %{?1:%{1}-}uki-virt-addons\ +Summary: %{variant_summary} unified kernel image addons for virtual machines\ +Provides: installonlypkg(kernel)\ +Requires: kernel%{?1:-%{1}}-uki-virt = %{specrpmversion}-%{release}\ +Requires(pre): systemd >= 254-1\ +%endif\ +%endif\ +%if %{with_gcov}\ +%{expand:%%kernel_gcov_package %{?1:%{1}}}\ +%endif\ +%{nil} + +# +# This macro creates a kernel--modules-partner package. +# %%kernel_modules_partner_package +# +%define kernel_modules_partner_package() \ +%package %{?1:%{1}-}modules-partner\ +Summary: Extra kernel modules to match the %{?2:%{2} }kernel\ +Group: System Environment/Kernel\ +Provides: kernel%{?1:-%{1}}-modules-partner-%{_target_cpu} = %{specrpmversion}-%{release}\ +Provides: kernel%{?1:-%{1}}-modules-partner-%{_target_cpu} = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: kernel%{?1:-%{1}}-modules-partner = %{specrpmversion}-%{release}%{uname_suffix %{?1:+%{1}}}\ +Provides: installonlypkg(kernel-module)\ +Provides: kernel%{?1:-%{1}}-modules-partner-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +Requires: kernel%{?1:-%{1}}-modules-core-uname-r = %{KVERREL}%{uname_suffix %{?1:+%{1}}}\ +AutoReq: no\ +AutoProv: yes\ +%description %{?1:%{1}-}modules-partner\ +This package provides kernel modules for the %{?2:%{2} }kernel package for Red Hat partners usage.\ +%{nil} + +# Now, each variant package. +%if %{with_zfcpdump} +%define variant_summary The Linux kernel compiled for zfcpdump usage +%kernel_variant_package -o zfcpdump +%description zfcpdump-core +The kernel package contains the Linux kernel (vmlinuz) for use by the +zfcpdump infrastructure. +# with_zfcpdump +%endif + +%if %{with_arm64_16k_base} +%define variant_summary The Linux kernel compiled for 16k pagesize usage +%kernel_variant_package 16k +%description 16k-core +The kernel package contains a variant of the ARM64 Linux kernel using +a 16K page size. +%endif + +%if %{with_arm64_16k} && %{with_debug} +%define variant_summary The Linux kernel compiled with extra debugging enabled +%if !%{debugbuildsenabled} +%kernel_variant_package -m 16k-debug +%else +%kernel_variant_package 16k-debug +%endif +%description 16k-debug-core +The debug kernel package contains a variant of the ARM64 Linux kernel using +a 16K page size. +This variant of the kernel has numerous debugging options enabled. +It should only be installed when trying to gather additional information +on kernel bugs, as some of these options impact performance noticably. +%endif + +%if %{with_arm64_64k_base} +%define variant_summary The Linux kernel compiled for 64k pagesize usage +%kernel_variant_package 64k +%description 64k-core +The kernel package contains a variant of the ARM64 Linux kernel using +a 64K page size. +%endif + +%if %{with_arm64_64k} && %{with_debug} +%define variant_summary The Linux kernel compiled with extra debugging enabled +%if !%{debugbuildsenabled} +%kernel_variant_package -m 64k-debug +%else +%kernel_variant_package 64k-debug +%endif +%description 64k-debug-core +The debug kernel package contains a variant of the ARM64 Linux kernel using +a 64K page size. +This variant of the kernel has numerous debugging options enabled. +It should only be installed when trying to gather additional information +on kernel bugs, as some of these options impact performance noticably. +%endif + +%if %{with_debug} && %{with_realtime} +%define variant_summary The Linux PREEMPT_RT kernel compiled with extra debugging enabled +%kernel_variant_package rt-debug +%description rt-debug-core +The kernel package contains the Linux kernel (vmlinuz), the core of any +Linux operating system. The kernel handles the basic functions +of the operating system: memory allocation, process allocation, device +input and output, etc. + +This variant of the kernel has numerous debugging options enabled. +It should only be installed when trying to gather additional information +on kernel bugs, as some of these options impact performance noticably. +%endif + +%if %{with_realtime_base} +%define variant_summary The Linux kernel compiled with PREEMPT_RT enabled +%kernel_variant_package rt +%description rt-core +This package includes a version of the Linux kernel compiled with the +PREEMPT_RT real-time preemption support +%endif + +%if %{with_debug} && %{with_automotive} +%define variant_summary The Linux Automotive kernel compiled with extra debugging enabled +%kernel_variant_package automotive-debug +%description automotive-debug-core +The kernel package contains the Linux kernel (vmlinuz), the core of any +Linux operating system. The kernel handles the basic functions +of the operating system: memory allocation, process allocation, device +input and output, etc. + +This variant of the kernel has numerous debugging options enabled. +It should only be installed when trying to gather additional information +on kernel bugs, as some of these options impact performance noticably. +%endif + +%if %{with_automotive_base} +%define variant_summary The Linux kernel compiled with PREEMPT_RT enabled +%kernel_variant_package automotive +%description automotive-core +This package includes a version of the Linux kernel compiled with the +PREEMPT_RT real-time preemption support, targeted for Automotive platforms +%endif + +%if %{with_up} && %{with_debug} +%if !%{debugbuildsenabled} +%kernel_variant_package -m debug +%else +%kernel_variant_package debug +%endif +%description debug-core +The kernel package contains the Linux kernel (vmlinuz), the core of any +Linux operating system. The kernel handles the basic functions +of the operating system: memory allocation, process allocation, device +input and output, etc. + +This variant of the kernel has numerous debugging options enabled. +It should only be installed when trying to gather additional information +on kernel bugs, as some of these options impact performance noticably. +%endif + +%if %{with_up_base} +# And finally the main -core package + +%define variant_summary The Linux kernel +%kernel_variant_package +%description core +The kernel package contains the Linux kernel (vmlinuz), the core of any +Linux operating system. The kernel handles the basic functions +of the operating system: memory allocation, process allocation, device +input and output, etc. +%endif + +%if %{with_up} && %{with_debug} && %{with_efiuki} +%description debug-uki-virt +Prebuilt debug unified kernel image for virtual machines. + +%description debug-uki-virt-addons +Prebuilt debug unified kernel image addons for virtual machines. +%endif + +%if %{with_up_base} && %{with_efiuki} +%description uki-virt +Prebuilt default unified kernel image for virtual machines. + +%description uki-virt-addons +Prebuilt default unified kernel image addons for virtual machines. +%endif + +%if %{with_arm64_16k} && %{with_debug} && %{with_efiuki} +%description 16k-debug-uki-virt +Prebuilt 16k debug unified kernel image for virtual machines. + +%description 16k-debug-uki-virt-addons +Prebuilt 16k debug unified kernel image addons for virtual machines. +%endif + +%if %{with_arm64_16k_base} && %{with_efiuki} +%description 16k-uki-virt +Prebuilt 16k unified kernel image for virtual machines. + +%description 16k-uki-virt-addons +Prebuilt 16k unified kernel image addons for virtual machines. +%endif + +%if %{with_arm64_64k} && %{with_debug} && %{with_efiuki} +%description 64k-debug-uki-virt +Prebuilt 64k debug unified kernel image for virtual machines. + +%description 64k-debug-uki-virt-addons +Prebuilt 64k debug unified kernel image addons for virtual machines. +%endif + +%if %{with_arm64_64k_base} && %{with_efiuki} +%description 64k-uki-virt +Prebuilt 64k unified kernel image for virtual machines. + +%description 64k-uki-virt-addons +Prebuilt 64k unified kernel image addons for virtual machines. +%endif + +%if %{with_ipaclones} +%kernel_ipaclones_package +%endif + +%define log_msg() \ + { set +x; } 2>/dev/null \ + _log_msglineno=$(grep -n %{*} %{_specdir}/${RPM_PACKAGE_NAME}.spec | grep log_msg | cut -d":" -f1) \ + echo "kernel.spec:${_log_msglineno}: %{*}" \ + set -x + +%prep +%{log_msg "Start of prep stage"} + +%{log_msg "Sanity checks"} + +# do a few sanity-checks for --with *only builds +%if %{with_baseonly} +%if !%{with_up} +%{log_msg "Cannot build --with baseonly, up build is disabled"} +exit 1 +%endif +%endif + +# more sanity checking; do it quietly +if [ "%{patches}" != "%%{patches}" ] ; then + for patch in %{patches} ; do + if [ ! -f $patch ] ; then + %{log_msg "ERROR: Patch ${patch##/*/} listed in specfile but is missing"} + exit 1 + fi + done +fi 2>/dev/null + +patch_command='git --work-tree=. apply' +ApplyPatch() +{ + local patch=$1 + shift + if [ ! -f $RPM_SOURCE_DIR/$patch ]; then + exit 1 + fi + if ! grep -E "^Patch[0-9]+: $patch\$" %{_specdir}/${RPM_PACKAGE_NAME}.spec ; then + if [ "${patch:0:8}" != "patch-%{kversion}." ] ; then + %{log_msg "ERROR: Patch $patch not listed as a source patch in specfile"} + exit 1 + fi + fi 2>/dev/null + case "$patch" in + *.bz2) bunzip2 < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;; + *.gz) gunzip < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;; + *.xz) unxz < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;; + *) $patch_command ${1+"$@"} < "$RPM_SOURCE_DIR/$patch" ;; + esac +} + +# don't apply patch if it's empty +ApplyOptionalPatch() +{ + local patch=$1 + shift + %{log_msg "ApplyOptionalPatch: $1"} + if [ ! -f $RPM_SOURCE_DIR/$patch ]; then + exit 1 + fi + local C=$(wc -l $RPM_SOURCE_DIR/$patch | awk '{print $1}') + if [ "$C" -gt 9 ]; then + ApplyPatch $patch ${1+"$@"} + fi +} + +%{log_msg "Untar kernel tarball"} +%setup -q -n kernel-%{tarfile_release} -c +mv linux-%{tarfile_release} linux-%{KVERREL} + +cd linux-%{KVERREL} +cp -a %{SOURCE1} . + +%{log_msg "Start of patch applications"} +%if !%{nopatches} + +ApplyOptionalPatch patch-%{patchversion}-redhat.patch +%endif + +ApplyOptionalPatch linux-kernel-test.patch + +%{log_msg "End of patch applications"} +# END OF PATCH APPLICATIONS + +# Any further pre-build tree manipulations happen here. +%{log_msg "Pre-build tree manipulations"} +chmod +x scripts/checkpatch.pl +mv COPYING COPYING-%{specrpmversion}-%{release} + +# on linux-next prevent scripts/setlocalversion from mucking with our version numbers +rm -f localversion-next localversion-rt + +# Mangle /usr/bin/python shebangs to /usr/bin/python3 +# Mangle all Python shebangs to be Python 3 explicitly +# -p preserves timestamps +# -n prevents creating ~backup files +# -i specifies the interpreter for the shebang +# This fixes errors such as +# *** ERROR: ambiguous python shebang in /usr/bin/kvm_stat: #!/usr/bin/python. Change it to python3 (or python2) explicitly. +# We patch all sources below for which we got a report/error. +%{log_msg "Fixing Python shebangs..."} +%py3_shebang_fix \ + tools/kvm/kvm_stat/kvm_stat \ + scripts/show_delta \ + scripts/diffconfig \ + scripts/bloat-o-meter \ + scripts/jobserver-exec \ + tools \ + Documentation \ + scripts/clang-tools 2> /dev/null + +# only deal with configs if we are going to build for the arch +%ifnarch %nobuildarches + +if [ -L configs ]; then + rm -f configs +fi +mkdir configs +cd configs + +%{log_msg "Copy additional source files into buildroot"} +# Drop some necessary files from the source dir into the buildroot +cp $RPM_SOURCE_DIR/%{name}-*.config . +cp %{SOURCE80} . +# merge.py +cp %{SOURCE3000} . +# kernel-local - rename and copy for partial snippet config process +cp %{SOURCE3001} partial-kernel-local-snip.config +cp %{SOURCE3001} partial-kernel-local-debug-snip.config +for config in $RPM_SOURCE_DIR/kernel-*.config; do + arch=$(echo $config | sed -n 's/.*kernel-\(.*\)\.config/\1/p') + cp $config kernel-%{specversion}-$arch.config +done + + +# Collect custom defined config options +%{log_msg "Collect custom defined config options"} +PARTIAL_CONFIGS="" +%if %{with_gcov} +PARTIAL_CONFIGS="$PARTIAL_CONFIGS %{SOURCE70} %{SOURCE71}" +%endif +%if %{with toolchain_clang} +PARTIAL_CONFIGS="$PARTIAL_CONFIGS %{SOURCE72} %{SOURCE73}" +%endif +%if %{with clang_lto} +PARTIAL_CONFIGS="$PARTIAL_CONFIGS %{SOURCE74} %{SOURCE75} %{SOURCE76} %{SOURCE77}" +%endif +PARTIAL_CONFIGS="$PARTIAL_CONFIGS partial-kernel-local-snip.config partial-kernel-local-debug-snip.config" + +GetArch() +{ + case "$1" in + *aarch64*) echo "aarch64" ;; + *ppc64le*) echo "ppc64le" ;; + *s390x*) echo "s390x" ;; + *x86_64*) echo "x86_64" ;; + *riscv64*) echo "riscv64" ;; + # no arch, apply everywhere + *) echo "" ;; + esac +} + +# Merge in any user-provided local config option changes +%{log_msg "Merge in any user-provided local config option changes"} +%ifnarch %nobuildarches +for i in %{all_configs} +do + kern_arch="$(GetArch $i)" + kern_debug="$(echo $i | grep -q debug && echo "debug" || echo "")" + + for j in $PARTIAL_CONFIGS + do + part_arch="$(GetArch $j)" + part_debug="$(echo $j | grep -q debug && echo "debug" || echo "")" + + # empty arch means apply to all arches + if [ "$part_arch" == "" -o "$part_arch" == "$kern_arch" ] && [ "$part_debug" == "$kern_debug" ] + then + mv $i $i.tmp + ./merge.py $j $i.tmp > $i + fi + done + rm -f $i.tmp +done +%endif + +%if %{signkernel}%{signmodules} + +# Add DUP and kpatch certificates to system trusted keys for RHEL +%if 0%{?rhel} +%{log_msg "Add DUP and kpatch certificates to system trusted keys for RHEL"} +openssl x509 -inform der -in %{SOURCE100} -out rheldup3.pem +openssl x509 -inform der -in %{SOURCE101} -out rhelkpatch1.pem +openssl x509 -inform der -in %{SOURCE102} -out nvidiagpuoot001.pem +cat rheldup3.pem rhelkpatch1.pem nvidiagpuoot001.pem > ../certs/rhel.pem +%if %{signkernel} +%ifarch s390x ppc64le +openssl x509 -inform der -in %{secureboot_ca_0} -out secureboot.pem +cat secureboot.pem >> ../certs/rhel.pem +%endif +%endif + +# rhel +%endif + +openssl x509 -inform der -in %{ima_ca_cert} -out imaca.pem +cat imaca.pem >> ../certs/rhel.pem + +for i in *.config; do + sed -i 's@CONFIG_SYSTEM_TRUSTED_KEYS=""@CONFIG_SYSTEM_TRUSTED_KEYS="certs/rhel.pem"@' $i +done +%endif + +# Adjust FIPS module name for RHEL +%if 0%{?rhel} +%{log_msg "Adjust FIPS module name for RHEL"} +for i in *.config; do + sed -i 's/CONFIG_CRYPTO_FIPS_NAME=.*/CONFIG_CRYPTO_FIPS_NAME="Red Hat Enterprise Linux %{rhel} - Kernel Cryptographic API"/' $i +done +%endif + +%{log_msg "Set process_configs.sh $OPTS"} +cp %{SOURCE81} . +OPTS="" +%if %{with_configchecks} + OPTS="$OPTS -w -n -c" +%endif +%if %{with clang_lto} +for opt in %{clang_make_opts}; do + OPTS="$OPTS -m $opt" +done +%endif +%{log_msg "Generate redhat configs"} +RHJOBS=$RPM_BUILD_NCPUS SPECPACKAGE_NAME=%{name} ./process_configs.sh $OPTS %{specrpmversion} + +# We may want to override files from the primary target in case of building +# against a flavour of it (eg. centos not rhel), thus override it here if +# necessary +update_scripts() { + TARGET="$1" + + for i in "$RPM_SOURCE_DIR"/*."$TARGET"; do + NEW=${i%."$TARGET"} + cp "$i" "$(basename "$NEW")" + done +} + +%{log_msg "Set scripts/SOURCES targets"} +update_target=rocky +if [ "%{primary_target}" == "rhel" ]; then +: # no-op to avoid empty if-fi error +%if 0%{?centos} + %{log_msg "Updating scripts/sources to centos version"} + update_target=centos +%endif +fi +update_scripts $update_target +%endif + +%{log_msg "End of kernel config"} +cd .. +# # End of Configs stuff + +# get rid of unwanted files resulting from patch fuzz +find . \( -name "*.orig" -o -name "*~" \) -delete >/dev/null + +# remove unnecessary SCM files +find . -name .gitignore -delete >/dev/null + +cd .. + +### +### build +### +%build +%{log_msg "Start of build stage"} + +%{log_msg "General arch build configuration"} +rm -rf %{buildroot_unstripped} || true +mkdir -p %{buildroot_unstripped} + +%if %{with_sparse} +%define sparse_mflags C=1 +%endif + +cp_vmlinux() +{ + eu-strip --remove-comment -o "$2" "$1" +} + +# Note we need to disable these flags for cross builds because the flags +# from redhat-rpm-config assume that host == target so target arch +# flags cause issues with the host compiler. +%if !%{with_cross} +%define build_hostcflags %{?build_cflags} +%define build_hostldflags %{?build_ldflags} +%endif + +%define make %{__make} %{?cross_opts} %{?make_opts} HOSTCFLAGS="%{?build_hostcflags}" HOSTLDFLAGS="%{?build_hostldflags}" + +InitBuildVars() { + %{log_msg "InitBuildVars for $1"} + + %{log_msg "InitBuildVars: Initialize build variables"} + # Initialize the kernel .config file and create some variables that are + # needed for the actual build process. + + Variant=$1 + + # Pick the right kernel config file + Config=%{name}-%{_target_cpu}${Variant:+-${Variant}}.config + DevelDir=/usr/src/kernels/%{KVERREL}${Variant:++${Variant}} + + KernelVer=%{specversion}-%{release}.%{_target_cpu}${Variant:++${Variant}} + + %{log_msg "InitBuildVars: Update Makefile"} + # make sure EXTRAVERSION says what we want it to say + # Trim the release if this is a CI build, since KERNELVERSION is limited to 64 characters + ShortRel=$(perl -e "print \"%{release}\" =~ s/\.pr\.[0-9A-Fa-f]{32}//r") + perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -${ShortRel}.%{_target_cpu}${Variant:++${Variant}}/" Makefile + + # if pre-rc1 devel kernel, must fix up PATCHLEVEL for our versioning scheme + # if we are post rc1 this should match anyway so this won't matter + perl -p -i -e 's/^PATCHLEVEL.*/PATCHLEVEL = %{patchlevel}/' Makefile + + %{log_msg "InitBuildVars: Copy files"} + %{make} %{?_smp_mflags} mrproper + cp configs/$Config .config + + # %if %{signkernel}%{signmodules} + # cp configs/x509.genkey certs/. + # %endif + +%if %{with_debuginfo} == 0 + sed -i 's/^\(CONFIG_DEBUG_INFO.*\)=y/# \1 is not set/' .config +%endif + + # need to use: Arch=`head -1 .config | cut -b 3-` + # however arch is currently missing in all our config + Arch="arm64" + %{log_msg "InitBuildVars: USING ARCH=$Arch"} + + KCFLAGS="%{?kcflags}" + + # add kpatch flags for base kernel + %{log_msg "InitBuildVars: Configure KCFLAGS"} + if [ "$Variant" == "" ]; then + KCFLAGS="$KCFLAGS %{?kpatch_kcflags}" + fi +} + +BuildKernel() { + %{log_msg "BuildKernel for $4"} + MakeTarget=$1 + KernelImage=$2 + DoVDSO=$3 + Variant=$4 + InstallName=${5:-vmlinuz} + + %{log_msg "Setup variables"} + DoModules=1 + if [ "$Variant" = "zfcpdump" ]; then + DoModules=0 + fi + + # When the bootable image is just the ELF kernel, strip it. + # We already copy the unstripped file into the debuginfo package. + if [ "$KernelImage" = vmlinux ]; then + CopyKernel=cp_vmlinux + else + CopyKernel=cp + fi + +%if %{with_gcov} + %{log_msg "Setup build directories"} + # Make build directory unique for each variant, so that gcno symlinks + # are also unique for each variant. + if [ -n "$Variant" ]; then + ln -s $(pwd) ../linux-%{KVERREL}-${Variant} + fi + %{log_msg "GCOV - continuing build in: $(pwd)"} + pushd ../linux-%{KVERREL}${Variant:+-${Variant}} + pwd > ../kernel${Variant:+-${Variant}}-gcov.list +%endif + + %{log_msg "Calling InitBuildVars for $Variant"} + InitBuildVars $Variant + + %{log_msg "BUILDING A KERNEL FOR ${Variant} %{_target_cpu}..."} + + %{make} ARCH=$Arch olddefconfig >/dev/null + + %{log_msg "Setup build-ids"} + # This ensures build-ids are unique to allow parallel debuginfo + perl -p -i -e "s/^CONFIG_BUILD_SALT.*/CONFIG_BUILD_SALT=\"%{KVERREL}\"/" .config + %{make} ARCH=$Arch KCFLAGS="$KCFLAGS" WITH_GCOV="%{?with_gcov}" %{?_smp_mflags} $MakeTarget %{?sparse_mflags} %{?kernel_mflags} + if [ $DoModules -eq 1 ]; then + %{make} ARCH=$Arch KCFLAGS="$KCFLAGS" WITH_GCOV="%{?with_gcov}" %{?_smp_mflags} modules %{?sparse_mflags} || exit 1 + fi + + %{log_msg "Setup RPM_BUILD_ROOT directories"} + mkdir -p $RPM_BUILD_ROOT/%{image_install_path} + mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer + mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/systemtap +%if %{with_debuginfo} + mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/%{image_install_path} +%endif + +%ifarch aarch64 riscv64 + %{log_msg "Build dtb kernel"} + %{make} ARCH=$Arch dtbs INSTALL_DTBS_PATH=$RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer + %{make} ARCH=$Arch dtbs_install INSTALL_DTBS_PATH=$RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer + cp -r $RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer $RPM_BUILD_ROOT/lib/modules/$KernelVer/dtb + find arch/$Arch/boot/dts -name '*.dtb' -type f -delete +%endif + + %{log_msg "Cleanup temp btf files"} + # Remove large intermediate files we no longer need to save space + # (-f required for zfcpdump builds that do not enable BTF) + rm -f vmlinux.o .tmp_vmlinux.btf + + %{log_msg "Install files to RPM_BUILD_ROOT"} + + # Comment out specific config settings that may use resources not available + # to the end user so that the packaged config file can be easily reused with + # upstream make targets + %if %{signkernel}%{signmodules} + sed -i -e '/^CONFIG_SYSTEM_TRUSTED_KEYS/{ + i\# The kernel was built with + s/^/# / + a\# We are resetting this value to facilitate local builds + a\CONFIG_SYSTEM_TRUSTED_KEYS="" + }' .config + %endif + + # Start installing the results + install -m 644 .config $RPM_BUILD_ROOT/boot/config-$KernelVer + install -m 644 .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/config + install -m 644 System.map $RPM_BUILD_ROOT/boot/System.map-$KernelVer + install -m 644 System.map $RPM_BUILD_ROOT/lib/modules/$KernelVer/System.map + + %{log_msg "Create initrfamfs"} + # We estimate the size of the initramfs because rpm needs to take this size + # into consideration when performing disk space calculations. (See bz #530778) + dd if=/dev/zero of=$RPM_BUILD_ROOT/boot/initramfs-$KernelVer.img bs=1M count=20 + + if [ -f arch/$Arch/boot/zImage.stub ]; then + %{log_msg "Copy zImage.stub to RPM_BUILD_ROOT"} + cp arch/$Arch/boot/zImage.stub $RPM_BUILD_ROOT/%{image_install_path}/zImage.stub-$KernelVer || : + cp arch/$Arch/boot/zImage.stub $RPM_BUILD_ROOT/lib/modules/$KernelVer/zImage.stub-$KernelVer || : + fi + + %if %{signkernel} + %{log_msg "Copy kernel for signing"} + if [ "$KernelImage" = vmlinux ]; then + # We can't strip and sign $KernelImage in place, because + # we need to preserve original vmlinux for debuginfo. + # Use a copy for signing. + $CopyKernel $KernelImage $KernelImage.tosign + KernelImage=$KernelImage.tosign + CopyKernel=cp + fi + + SignImage=$KernelImage + + %ifarch x86_64 aarch64 + %{log_msg "Sign kernel image"} + %pesign -s -i $SignImage -o vmlinuz.signed -a %{secureboot_ca_0} -c %{secureboot_key_0} -n %{pesign_name_0} + %endif + %ifarch s390x ppc64le + if [ -x /usr/bin/rpm-sign ]; then + rpm-sign --key "%{pesign_name_0}" --lkmsign $SignImage --output vmlinuz.signed + elif [ "$DoModules" == "1" -a "%{signmodules}" == "1" ]; then + chmod +x scripts/sign-file + ./scripts/sign-file -p sha256 certs/signing_key.pem certs/signing_key.x509 $SignImage vmlinuz.signed + else + mv $SignImage vmlinuz.signed + fi + %endif + + if [ ! -s vmlinuz.signed ]; then + %{log_msg "pesigning failed"} + exit 1 + fi + mv vmlinuz.signed $SignImage + # signkernel + %endif + + %{log_msg "copy signed kernel"} + $CopyKernel $KernelImage \ + $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer + chmod 755 $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer + cp $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer $RPM_BUILD_ROOT/lib/modules/$KernelVer/$InstallName + + # hmac sign the kernel for FIPS + %{log_msg "hmac sign the kernel for FIPS"} + %{log_msg "Creating hmac file: $RPM_BUILD_ROOT/%{image_install_path}/.vmlinuz-$KernelVer.hmac"} + ls -l $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer + (cd $RPM_BUILD_ROOT/%{image_install_path} && sha512hmac $InstallName-$KernelVer) > $RPM_BUILD_ROOT/%{image_install_path}/.vmlinuz-$KernelVer.hmac; + cp $RPM_BUILD_ROOT/%{image_install_path}/.vmlinuz-$KernelVer.hmac $RPM_BUILD_ROOT/lib/modules/$KernelVer/.vmlinuz.hmac + + if [ $DoModules -eq 1 ]; then + %{log_msg "Install modules in RPM_BUILD_ROOT"} + # Override $(mod-fw) because we don't want it to install any firmware + # we'll get it from the linux-firmware package and we don't want conflicts + %{make} %{?_smp_mflags} ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT %{?_smp_mflags} modules_install KERNELRELEASE=$KernelVer mod-fw= + fi + +%if %{with_gcov} + %{log_msg "install gcov-needed files to $BUILDROOT/$BUILD/"} + # install gcov-needed files to $BUILDROOT/$BUILD/...: + # gcov_info->filename is absolute path + # gcno references to sources can use absolute paths (e.g. in out-of-tree builds) + # sysfs symlink targets (set up at compile time) use absolute paths to BUILD dir + find . \( -name '*.gcno' -o -name '*.[chS]' \) -exec install -D '{}' "$RPM_BUILD_ROOT/$(pwd)/{}" \; +%endif + + %{log_msg "Add VDSO files"} + # add an a noop %%defattr statement 'cause rpm doesn't like empty file list files + echo '%%defattr(-,-,-)' > ../kernel${Variant:+-${Variant}}-ldsoconf.list + if [ $DoVDSO -ne 0 ]; then + %{make} ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT vdso_install KERNELRELEASE=$KernelVer + if [ -s ldconfig-kernel.conf ]; then + install -D -m 444 ldconfig-kernel.conf \ + $RPM_BUILD_ROOT/etc/ld.so.conf.d/kernel-$KernelVer.conf + echo /etc/ld.so.conf.d/kernel-$KernelVer.conf >> ../kernel${Variant:+-${Variant}}-ldsoconf.list + fi + + rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/vdso/.build-id + fi + + %{log_msg "Save headers/makefiles, etc. for kernel-headers"} + # And save the headers/makefiles etc for building modules against + # + # This all looks scary, but the end result is supposed to be: + # * all arch relevant include/ files + # * all Makefile/Kconfig files + # * all script/ files + + rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/source + mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + (cd $RPM_BUILD_ROOT/lib/modules/$KernelVer ; ln -s build source) + # dirs for additional modules per module-init-tools, kbuild/modules.txt + mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/updates + mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/weak-updates + # CONFIG_KERNEL_HEADER_TEST generates some extra files in the process of + # testing so just delete + find . -name *.h.s -delete + # first copy everything + cp --parents `find -type f -name "Makefile*" -o -name "Kconfig*"` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + if [ ! -e Module.symvers ]; then + touch Module.symvers + fi + cp Module.symvers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp System.map $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + if [ -s Module.markers ]; then + cp Module.markers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + fi + + # create the kABI metadata for use in packaging + # NOTENOTE: the name symvers is used by the rpm backend + # NOTENOTE: to discover and run the /usr/lib/rpm/fileattrs/kabi.attr + # NOTENOTE: script which dynamically adds exported kernel symbol + # NOTENOTE: checksums to the rpm metadata provides list. + # NOTENOTE: if you change the symvers name, update the backend too + %{log_msg "GENERATING kernel ABI metadata"} + %compression --stdout %compression_flags < Module.symvers > $RPM_BUILD_ROOT/boot/symvers-$KernelVer.%compext + cp $RPM_BUILD_ROOT/boot/symvers-$KernelVer.%compext $RPM_BUILD_ROOT/lib/modules/$KernelVer/symvers.%compext + +%if %{with_kabichk} + %{log_msg "kABI checking is enabled in kernel SPEC file."} + chmod 0755 $RPM_SOURCE_DIR/check-kabi + if [ -e $RPM_SOURCE_DIR/Module.kabi_%{_target_cpu}$Variant ]; then + cp $RPM_SOURCE_DIR/Module.kabi_%{_target_cpu}$Variant $RPM_BUILD_ROOT/Module.kabi + $RPM_SOURCE_DIR/check-kabi -k $RPM_BUILD_ROOT/Module.kabi -s Module.symvers || exit 1 + # for now, don't keep it around. + rm $RPM_BUILD_ROOT/Module.kabi + else + %{log_msg "NOTE: Cannot find reference Module.kabi file."} + fi +%endif + +%if %{with_kabidupchk} + %{log_msg "kABI DUP checking is enabled in kernel SPEC file."} + if [ -e $RPM_SOURCE_DIR/Module.kabi_dup_%{_target_cpu}$Variant ]; then + cp $RPM_SOURCE_DIR/Module.kabi_dup_%{_target_cpu}$Variant $RPM_BUILD_ROOT/Module.kabi + $RPM_SOURCE_DIR/check-kabi -k $RPM_BUILD_ROOT/Module.kabi -s Module.symvers || exit 1 + # for now, don't keep it around. + rm $RPM_BUILD_ROOT/Module.kabi + else + %{log_msg "NOTE: Cannot find DUP reference Module.kabi file."} + fi +%endif + +%if %{with_kabidw_base} + # Don't build kabi base for debug kernels + if [ "$Variant" != "zfcpdump" -a "$Variant" != "debug" ]; then + mkdir -p $RPM_BUILD_ROOT/kabi-dwarf + tar -xvf %{SOURCE301} -C $RPM_BUILD_ROOT/kabi-dwarf + + mkdir -p $RPM_BUILD_ROOT/kabi-dwarf/stablelists + tar -xvf %{SOURCE300} -C $RPM_BUILD_ROOT/kabi-dwarf/stablelists + + %{log_msg "GENERATING DWARF-based kABI baseline dataset"} + chmod 0755 $RPM_BUILD_ROOT/kabi-dwarf/run_kabi-dw.sh + $RPM_BUILD_ROOT/kabi-dwarf/run_kabi-dw.sh generate \ + "$RPM_BUILD_ROOT/kabi-dwarf/stablelists/kabi-current/kabi_stablelist_%{_target_cpu}" \ + "$(pwd)" \ + "$RPM_BUILD_ROOT/kabidw-base/%{_target_cpu}${Variant:+.${Variant}}" || : + + rm -rf $RPM_BUILD_ROOT/kabi-dwarf + fi +%endif + +%if %{with_kabidwchk} + if [ "$Variant" != "zfcpdump" ]; then + mkdir -p $RPM_BUILD_ROOT/kabi-dwarf + tar -xvf %{SOURCE301} -C $RPM_BUILD_ROOT/kabi-dwarf + if [ -d "$RPM_BUILD_ROOT/kabi-dwarf/base/%{_target_cpu}${Variant:+.${Variant}}" ]; then + mkdir -p $RPM_BUILD_ROOT/kabi-dwarf/stablelists + tar -xvf %{SOURCE300} -C $RPM_BUILD_ROOT/kabi-dwarf/stablelists + + %{log_msg "GENERATING DWARF-based kABI dataset"} + chmod 0755 $RPM_BUILD_ROOT/kabi-dwarf/run_kabi-dw.sh + $RPM_BUILD_ROOT/kabi-dwarf/run_kabi-dw.sh generate \ + "$RPM_BUILD_ROOT/kabi-dwarf/stablelists/kabi-current/kabi_stablelist_%{_target_cpu}" \ + "$(pwd)" \ + "$RPM_BUILD_ROOT/kabi-dwarf/base/%{_target_cpu}${Variant:+.${Variant}}.tmp" || : + + %{log_msg "kABI DWARF-based comparison report"} + $RPM_BUILD_ROOT/kabi-dwarf/run_kabi-dw.sh compare \ + "$RPM_BUILD_ROOT/kabi-dwarf/base/%{_target_cpu}${Variant:+.${Variant}}" \ + "$RPM_BUILD_ROOT/kabi-dwarf/base/%{_target_cpu}${Variant:+.${Variant}}.tmp" || : + %{log_msg "End of kABI DWARF-based comparison report"} + else + %{log_msg "Baseline dataset for kABI DWARF-BASED comparison report not found"} + fi + + rm -rf $RPM_BUILD_ROOT/kabi-dwarf + fi +%endif + + %{log_msg "Cleanup Makefiles/Kconfig files"} + # then drop all but the needed Makefiles/Kconfig files + rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts + rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include + cp .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/tracing + rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/spdxcheck.py + +%ifarch s390x + # CONFIG_EXPOLINE_EXTERN=y produces arch/s390/lib/expoline/expoline.o + # which is needed during external module build. + %{log_msg "Copy expoline.o"} + if [ -f arch/s390/lib/expoline/expoline.o ]; then + cp -a --parents arch/s390/lib/expoline/expoline.o $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + fi +%endif + + %{log_msg "Copy additional files for make targets"} + # Files for 'make scripts' to succeed with kernel-devel. + mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/security/selinux/include + cp -a --parents security/selinux/include/classmap.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents security/selinux/include/initial_sid_to_string.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/tools/include/tools + cp -a --parents tools/include/tools/be_byteshift.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/include/tools/le_byteshift.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + + # Files for 'make prepare' to succeed with kernel-devel. + cp -a --parents tools/include/linux/compiler* $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/include/linux/types.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/build/Build.include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp --parents tools/build/fixdep.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp --parents tools/objtool/sync-check.sh $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/bpf/resolve_btfids $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + + cp --parents security/selinux/include/policycap_names.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp --parents security/selinux/include/policycap.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + + cp -a --parents tools/include/asm $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/include/asm-generic $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/include/linux $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/include/uapi/asm $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/include/uapi/asm-generic $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/include/uapi/linux $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/include/vdso $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp --parents tools/scripts/utilities.mak $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/lib/subcmd $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp --parents tools/lib/*.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp --parents tools/objtool/*.[ch] $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp --parents tools/objtool/Build $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp --parents tools/objtool/include/objtool/*.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/lib/bpf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp --parents tools/lib/bpf/Build $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + + if [ -f tools/objtool/objtool ]; then + cp -a tools/objtool/objtool $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/tools/objtool/ || : + fi + if [ -f tools/objtool/fixdep ]; then + cp -a tools/objtool/fixdep $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/tools/objtool/ || : + fi + if [ -d arch/$Arch/scripts ]; then + cp -a arch/$Arch/scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch} || : + fi + if [ -f arch/$Arch/*lds ]; then + cp -a arch/$Arch/*lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch}/ || : + fi + if [ -f arch/%{asmarch}/kernel/module.lds ]; then + cp -a --parents arch/%{asmarch}/kernel/module.lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + fi + find $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts \( -iname "*.o" -o -iname "*.cmd" \) -exec rm -f {} + +%ifarch ppc64le + cp -a --parents arch/powerpc/lib/crtsavres.[So] $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ +%endif + if [ -d arch/%{asmarch}/include ]; then + cp -a --parents arch/%{asmarch}/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + fi + if [ -d tools/arch/%{asmarch}/include ]; then + cp -a --parents tools/arch/%{asmarch}/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + fi +%ifarch aarch64 + # arch/arm64/include/asm/xen references arch/arm + cp -a --parents arch/arm/include/asm/xen $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + # arch/arm64/include/asm/opcodes.h references arch/arm + cp -a --parents arch/arm/include/asm/opcodes.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ +%endif + cp -a include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include + # Cross-reference from include/perf/events/sof.h + cp -a sound/soc/sof/sof-audio.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/sound/soc/sof +%ifarch i686 x86_64 + # files for 'make prepare' to succeed with kernel-devel + cp -a --parents arch/x86/entry/syscalls/syscall_32.tbl $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/entry/syscalls/syscall_64.tbl $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/tools/relocs_32.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/tools/relocs_64.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/tools/relocs.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/tools/relocs_common.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/tools/relocs.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/purgatory/purgatory.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/purgatory/stack.S $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/purgatory/setup-x86_64.S $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/purgatory/entry64.S $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/boot/string.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/boot/string.c $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents arch/x86/boot/ctype.h $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + + cp -a --parents scripts/syscalltbl.sh $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + cp -a --parents scripts/syscallhdr.sh $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + + cp -a --parents tools/arch/x86/include/asm $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/arch/x86/include/uapi/asm $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/objtool/arch/x86/lib $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/arch/x86/lib/ $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/arch/x86/tools/gen-insn-attr-x86.awk $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + cp -a --parents tools/objtool/arch/x86/ $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + +%endif + %{log_msg "Clean up intermediate tools files"} + # Clean up intermediate tools files + find $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/tools \( -iname "*.o" -o -iname "*.cmd" \) -exec rm -f {} + + + # Make sure the Makefile, version.h, and auto.conf have a matching + # timestamp so that external modules can be built + touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Makefile \ + $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/generated/uapi/linux/version.h \ + $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/config/auto.conf + +%if %{with_debuginfo} + eu-readelf -n vmlinux | grep "Build ID" | awk '{print $NF}' > vmlinux.id + cp vmlinux.id $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/vmlinux.id + + %{log_msg "Copy additional files for kernel-debuginfo rpm"} + # + # save the vmlinux file for kernel debugging into the kernel-debuginfo rpm + # (use mv + symlink instead of cp to reduce disk space requirements) + # + mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer + mv vmlinux $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer + ln -s $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer/vmlinux vmlinux + if [ -n "%{?vmlinux_decompressor}" ]; then + eu-readelf -n %{vmlinux_decompressor} | grep "Build ID" | awk '{print $NF}' > vmlinux.decompressor.id + # Without build-id the build will fail. But for s390 the build-id + # wasn't added before 5.11. In case it is missing prefer not + # packaging the debuginfo over a build failure. + if [ -s vmlinux.decompressor.id ]; then + cp vmlinux.decompressor.id $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/vmlinux.decompressor.id + cp %{vmlinux_decompressor} $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer/vmlinux.decompressor + fi + fi + + # build and copy the vmlinux-gdb plugin files into kernel-debuginfo + %{make} ARCH=$Arch %{?_smp_mflags} scripts_gdb + cp -a --parents scripts/gdb/{,linux/}*.py $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer + # this should be a relative symlink (Kbuild creates an absolute one) + ln -s scripts/gdb/vmlinux-gdb.py $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer/vmlinux-gdb.py + %py_byte_compile %{python3} $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer/scripts/gdb +%endif + + %{log_msg "Create modnames"} + find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name "*.ko" -type f >modnames + + # mark modules executable so that strip-to-file can strip them + xargs --no-run-if-empty chmod u+x < modnames + + # Generate a list of modules for block and networking. + %{log_msg "Generate a list of modules for block and networking"} + grep -F /drivers/ modnames | xargs --no-run-if-empty nm -upA | + sed -n 's,^.*/\([^/]*\.ko\): *U \(.*\)$,\1 \2,p' > drivers.undef + + collect_modules_list() + { + sed -r -n -e "s/^([^ ]+) \\.?($2)\$/\\1/p" drivers.undef | + LC_ALL=C sort -u > $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1 + if [ ! -z "$3" ]; then + sed -r -e "/^($3)\$/d" -i $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1 + fi + } + + collect_modules_list networking \ + 'register_netdev|ieee80211_register_hw|usbnet_probe|phy_driver_register|rt(l_|2x00)(pci|usb)_probe|register_netdevice' + collect_modules_list block \ + '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' + collect_modules_list drm \ + 'drm_open|drm_init' + collect_modules_list modesetting \ + 'drm_crtc_init' + + %{log_msg "detect missing or incorrect license tags"} + # detect missing or incorrect license tags + ( find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name '*.ko' | xargs /sbin/modinfo -l | \ + grep -E -v 'GPL( v2)?$|Dual BSD/GPL$|Dual MPL/GPL$|GPL and additional rights$' ) && exit 1 + + + if [ $DoModules -eq 0 ]; then + %{log_msg "Create empty files for RPM packaging"} + # Ensure important files/directories exist to let the packaging succeed + echo '%%defattr(-,-,-)' > ../kernel${Variant:+-${Variant}}-modules-core.list + echo '%%defattr(-,-,-)' > ../kernel${Variant:+-${Variant}}-modules.list + echo '%%defattr(-,-,-)' > ../kernel${Variant:+-${Variant}}-modules-extra.list + echo '%%defattr(-,-,-)' > ../kernel${Variant:+-${Variant}}-modules-internal.list + echo '%%defattr(-,-,-)' > ../kernel${Variant:+-${Variant}}-modules-partner.list + mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/kernel + # Add files usually created by make modules, needed to prevent errors + # thrown by depmod during package installation + touch $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.order + touch $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.builtin + fi + + # Copy the System.map file for depmod to use + cp System.map $RPM_BUILD_ROOT/. + + if [[ "$Variant" == "rt" || "$Variant" == "rt-debug" || "$Variant" == "automotive" || "$Variant" == "automotive-debug" ]]; then + %{log_msg "Skipping efiuki build"} + else +%if %{with_efiuki} + %{log_msg "Setup the EFI UKI kernel"} + + # RHEL/CentOS specific .SBAT entries +%if 0%{?centos} + SBATsuffix="centos" +%else + SBATsuffix="rhel" +%endif + SBAT=$(cat <<- EOF + linux,1,Red Hat,linux,$KernelVer,mailto:secalert@redhat.com + linux.$SBATsuffix,1,Red Hat,linux,$KernelVer,mailto:secalert@redhat.com + kernel-uki-virt.$SBATsuffix,1,Red Hat,kernel-uki-virt,$KernelVer,mailto:secalert@redhat.com + EOF + ) + + KernelUnifiedImageDir="$RPM_BUILD_ROOT/lib/modules/$KernelVer" + KernelUnifiedImage="$KernelUnifiedImageDir/$InstallName-virt.efi" + + mkdir -p $KernelUnifiedImageDir + + dracut --conf=%{SOURCE86} \ + --confdir=$(mktemp -d) \ + --verbose \ + --kver "$KernelVer" \ + --kmoddir "$RPM_BUILD_ROOT/lib/modules/$KernelVer/" \ + --logfile=$(mktemp) \ + --uefi \ +%if 0%{?rhel} && !0%{?eln} + --sbat "$SBAT" \ +%endif + --kernel-image $(realpath $KernelImage) \ + --kernel-cmdline 'console=tty0 console=ttyS0' \ + $KernelUnifiedImage + + KernelAddonsDirOut="$KernelUnifiedImage.extra.d" + mkdir -p $KernelAddonsDirOut + python3 %{SOURCE151} %{SOURCE152} $KernelAddonsDirOut virt rocky %{_target_cpu} + +%if %{signkernel} + %{log_msg "Sign the EFI UKI kernel"} +%if 0%{?fedora}%{?eln} + %pesign -s -i $KernelUnifiedImage -o $KernelUnifiedImage.signed -a %{secureboot_ca_0} -c %{secureboot_key_0} -n %{pesign_name_0} +%else +%if 0%{?centos} + UKI_secureboot_name=centossecureboot204 +%else + UKI_secureboot_name=redhatsecureboot504 +%endif + UKI_secureboot_cert=%{_datadir}/pki/sb-certs/secureboot-uki-virt-%{_arch}.cer + + %pesign -s -i $KernelUnifiedImage -o $KernelUnifiedImage.signed -a %{secureboot_ca_0} -c $UKI_secureboot_cert -n $UKI_secureboot_name +# 0%{?fedora}%{?eln} +%endif + if [ ! -s $KernelUnifiedImage.signed ]; then + echo "pesigning failed" + exit 1 + fi + mv $KernelUnifiedImage.signed $KernelUnifiedImage + + for addon in "$KernelAddonsDirOut"/*; do + %pesign -s -i $addon -o $addon.signed -a %{secureboot_ca_0} -c %{secureboot_key_0} -n %{pesign_name_0} + rm -f $addon + mv $addon.signed $addon + done + +# signkernel +%endif + + # hmac sign the UKI for FIPS + KernelUnifiedImageHMAC="$KernelUnifiedImageDir/.$InstallName-virt.efi.hmac" + %{log_msg "hmac sign the UKI for FIPS"} + %{log_msg "Creating hmac file: $KernelUnifiedImageHMAC"} + (cd $KernelUnifiedImageDir && sha512hmac $InstallName-virt.efi) > $KernelUnifiedImageHMAC; + +# with_efiuki +%endif + : # in case of empty block + fi # "$Variant" == "rt" || "$Variant" == "rt-debug" || "$Variant" == "automotive" || "$Variant" == "automotive-debug" + + + # + # Generate the modules files lists + # + move_kmod_list() + { + local module_list="$1" + local subdir_name="$2" + + mkdir -p "$RPM_BUILD_ROOT/lib/modules/$KernelVer/$subdir_name" + + set +x + while read -r kmod; do + local target_file="$RPM_BUILD_ROOT/lib/modules/$KernelVer/$subdir_name/$kmod" + local target_dir="${target_file%/*}" + mkdir -p "$target_dir" + mv "$RPM_BUILD_ROOT/lib/modules/$KernelVer/kernel/$kmod" "$target_dir" + done < <(sed -e 's|^kernel/||' "$module_list") + set -x + } + + create_module_file_list() + { + # subdirectory within /lib/modules/$KernelVer where kmods should go + local module_subdir="$1" + # kmod list with relative paths produced by filtermods.py + local relative_kmod_list="$2" + # list with absolute paths to kmods and other files to be included + local absolute_file_list="$3" + # if 1, this adds also all kmod directories to absolute_file_list + local add_all_dirs="$4" + local run_mod_deny="$5" + + if [ "$module_subdir" != "kernel" ]; then + # move kmods into subdirs if needed (internal, partner, extra,..) + move_kmod_list $relative_kmod_list $module_subdir + fi + + # make kmod paths absolute + sed -e 's|^kernel/|/lib/modules/'$KernelVer'/'$module_subdir'/|' $relative_kmod_list > $absolute_file_list + + if [ "$run_mod_deny" -eq 1 ]; then + # run deny-mod script, this adds blacklist-* files to absolute_file_list + %{SOURCE20} "$RPM_BUILD_ROOT" lib/modules/$KernelVer $absolute_file_list + fi + +%if %{zipmodules} + # deny-mod script works with kmods as they are now (not compressed), + # but if they will be we need to add compext to all + sed -i %{?zipsed} $absolute_file_list +%endif + # add also dir for the case when there are no kmods + # "kernel" subdir is covered in %files section, skip it here + if [ "$module_subdir" != "kernel" ]; then + echo "%dir /lib/modules/$KernelVer/$module_subdir" >> $absolute_file_list + fi + + if [ "$add_all_dirs" -eq 1 ]; then + (cd $RPM_BUILD_ROOT; find lib/modules/$KernelVer/kernel -mindepth 1 -type d | sort -n) > ../module-dirs.list + sed -e 's|^lib|%dir /lib|' ../module-dirs.list >> $absolute_file_list + fi + } + + if [ $DoModules -eq 1 ]; then + # save modules.dep for debugging + cp $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.dep ../ + + %{log_msg "Create module list files for all kernel variants"} + variants_param="" + if [[ "$Variant" == "rt" || "$Variant" == "rt-debug" ]]; then + variants_param="-r rt" + fi + if [[ "$Variant" == "automotive" || "$Variant" == "automotive-debug" ]]; then + variants_param="-r automotive" + fi + # this creates ../modules-*.list output, where each kmod path is as it + # appears in modules.dep (relative to lib/modules/$KernelVer) + ret=0 + %{SOURCE22} -l "../filtermods-$KernelVer.log" sort -d $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.dep -c %{SOURCE1007} $variants_param -o .. || ret=$? + if [ $ret -ne 0 ]; then + echo "8< --- filtermods-$KernelVer.log ---" + cat "../filtermods-$KernelVer.log" + echo "--- filtermods-$KernelVer.log --- >8" + + echo "8< --- modules.dep ---" + cat $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.dep + echo "--- modules.dep --- >8" + exit 1 + fi + + create_module_file_list "kernel" ../modules-core.list ../kernel${Variant:+-${Variant}}-modules-core.list 1 0 + create_module_file_list "kernel" ../modules.list ../kernel${Variant:+-${Variant}}-modules.list 0 0 + create_module_file_list "internal" ../modules-internal.list ../kernel${Variant:+-${Variant}}-modules-internal.list 0 1 + create_module_file_list "kernel" ../modules-extra.list ../kernel${Variant:+-${Variant}}-modules-extra.list 0 1 + if [[ "$Variant" == "rt" || "$Variant" == "rt-debug" ]]; then + create_module_file_list "kvm" ../modules-rt-kvm.list ../kernel${Variant:+-${Variant}}-modules-rt-kvm.list 0 1 + fi +%if 0%{!?fedora:1} + create_module_file_list "partner" ../modules-partner.list ../kernel${Variant:+-${Variant}}-modules-partner.list 1 1 +%endif + fi # $DoModules -eq 1 + + remove_depmod_files() + { + # remove files that will be auto generated by depmod at rpm -i time + pushd $RPM_BUILD_ROOT/lib/modules/$KernelVer/ + # in case below list needs to be extended, remember to add a + # matching ghost entry in the files section as well + rm -f modules.{alias,alias.bin,builtin.alias.bin,builtin.bin} \ + modules.{dep,dep.bin,devname,softdep,symbols,symbols.bin,weakdep} + popd + } + + # Cleanup + %{log_msg "Cleanup build files"} + rm -f $RPM_BUILD_ROOT/System.map + %{log_msg "Remove depmod files"} + remove_depmod_files + +%if %{with_cross} + make -C $RPM_BUILD_ROOT/lib/modules/$KernelVer/build M=scripts clean + make -C $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/tools/bpf/resolve_btfids clean + sed -i 's/REBUILD_SCRIPTS_FOR_CROSS:=0/REBUILD_SCRIPTS_FOR_CROSS:=1/' $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Makefile +%endif + + # Move the devel headers out of the root file system + %{log_msg "Move the devel headers to RPM_BUILD_ROOT"} + mkdir -p $RPM_BUILD_ROOT/usr/src/kernels + mv $RPM_BUILD_ROOT/lib/modules/$KernelVer/build $RPM_BUILD_ROOT/$DevelDir + + # This is going to create a broken link during the build, but we don't use + # it after this point. We need the link to actually point to something + # when kernel-devel is installed, and a relative link doesn't work across + # the F17 UsrMove feature. + ln -sf $DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build + +%if %{with_debuginfo} + # Generate vmlinux.h and put it to kernel-devel path + # zfcpdump build does not have btf anymore + if [ "$Variant" != "zfcpdump" ]; then + %{log_msg "Build the bootstrap bpftool to generate vmlinux.h"} + # Build the bootstrap bpftool to generate vmlinux.h + export BPFBOOTSTRAP_CFLAGS=$(echo "%{__global_compiler_flags}" | sed -r "s/\-specs=[^\ ]+\/redhat-annobin-cc1//") + export BPFBOOTSTRAP_LDFLAGS=$(echo "%{__global_ldflags}" | sed -r "s/\-specs=[^\ ]+\/redhat-annobin-cc1//") + CFLAGS="" LDFLAGS="" make EXTRA_CFLAGS="${BPFBOOTSTRAP_CFLAGS}" EXTRA_CXXFLAGS="${BPFBOOTSTRAP_CFLAGS}" EXTRA_LDFLAGS="${BPFBOOTSTRAP_LDFLAGS}" %{?make_opts} %{?clang_make_opts} V=1 -C tools/bpf/bpftool bootstrap + + tools/bpf/bpftool/bootstrap/bpftool btf dump file vmlinux format c > $RPM_BUILD_ROOT/$DevelDir/vmlinux.h + fi +%endif + + %{log_msg "Cleanup kernel-devel and kernel-debuginfo files"} + # prune junk from kernel-devel + find $RPM_BUILD_ROOT/usr/src/kernels -name ".*.cmd" -delete + # prune junk from kernel-debuginfo + find $RPM_BUILD_ROOT/usr/src/kernels -name "*.mod.c" -delete + + # Red Hat UEFI Secure Boot CA cert, which can be used to authenticate the kernel + %{log_msg "Install certs"} + mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer +%if %{signkernel} + install -m 0644 %{secureboot_ca_0} $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/kernel-signing-ca.cer + %ifarch s390x ppc64le + if [ -x /usr/bin/rpm-sign ]; then + install -m 0644 %{secureboot_key_0} $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/%{signing_key_filename} + fi + %endif +%endif + +%if 0%{?rhel} + # Red Hat IMA code-signing cert, which is used to authenticate package files + install -m 0644 %{ima_signing_cert} $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/%{ima_cert_name} +%endif + +%if %{signmodules} + if [ $DoModules -eq 1 ]; then + # Save the signing keys so we can sign the modules in __modsign_install_post + cp certs/signing_key.pem certs/signing_key.pem.sign${Variant:++${Variant}} + cp certs/signing_key.x509 certs/signing_key.x509.sign${Variant:++${Variant}} + %ifarch s390x ppc64le + if [ ! -x /usr/bin/rpm-sign ]; then + install -m 0644 certs/signing_key.x509.sign${Variant:++${Variant}} $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/kernel-signing-ca.cer + openssl x509 -in certs/signing_key.pem.sign${Variant:++${Variant}} -outform der -out $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/%{signing_key_filename} + chmod 0644 $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/%{signing_key_filename} + fi + %endif + fi +%endif + +%if %{with_ipaclones} + %{log_msg "install IPA clones"} + MAXPROCS=$(echo %{?_smp_mflags} | sed -n 's/-j\s*\([0-9]\+\)/\1/p') + if [ -z "$MAXPROCS" ]; then + MAXPROCS=1 + fi + if [ "$Variant" == "" ]; then + mkdir -p $RPM_BUILD_ROOT/$DevelDir-ipaclones + find . -name '*.ipa-clones' | xargs -i{} -r -n 1 -P $MAXPROCS install -m 644 -D "{}" "$RPM_BUILD_ROOT/$DevelDir-ipaclones/{}" + fi +%endif + +%if %{with_gcov} + popd +%endif +} + +### +# DO it... +### + +# prepare directories +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/boot +mkdir -p $RPM_BUILD_ROOT%{_libexecdir} + +cd linux-%{KVERREL} + +%if %{with_debug} +%if %{with_realtime} +BuildKernel %make_target %kernel_image %{_use_vdso} rt-debug +%endif + +%if %{with_automotive} +BuildKernel %make_target %kernel_image %{_use_vdso} automotive-debug +%endif + +%if %{with_arm64_16k} +BuildKernel %make_target %kernel_image %{_use_vdso} 16k-debug +%endif + +%if %{with_arm64_64k} +BuildKernel %make_target %kernel_image %{_use_vdso} 64k-debug +%endif + +%if %{with_up} +BuildKernel %make_target %kernel_image %{_use_vdso} debug +%endif +%endif + +%if %{with_zfcpdump} +BuildKernel %make_target %kernel_image %{_use_vdso} zfcpdump +%endif + +%if %{with_arm64_16k_base} +BuildKernel %make_target %kernel_image %{_use_vdso} 16k +%endif + +%if %{with_arm64_64k_base} +BuildKernel %make_target %kernel_image %{_use_vdso} 64k +%endif + +%if %{with_realtime_base} +BuildKernel %make_target %kernel_image %{_use_vdso} rt +%endif + +%if %{with_automotive_base} +BuildKernel %make_target %kernel_image %{_use_vdso} automotive +%endif + +%if %{with_up_base} +BuildKernel %make_target %kernel_image %{_use_vdso} +%endif + +%ifnarch noarch i686 %{nobuildarches} +%if !%{with_debug} && !%{with_zfcpdump} && !%{with_up} && !%{with_arm64_16k} && !%{with_arm64_64k} && !%{with_realtime} && !%{with_automotive} +# If only building the user space tools, then initialize the build environment +# and some variables so that the various userspace tools can be built. +%{log_msg "Initialize userspace tools build environment"} +InitBuildVars +# Some tests build also modules, and need Module.symvers +if ! [[ -e Module.symvers ]] && [[ -f $DevelDir/Module.symvers ]]; then + %{log_msg "Found Module.symvers in DevelDir, copying to ."} + cp "$DevelDir/Module.symvers" . +fi +%endif +%endif + +%ifarch aarch64 +%global perf_build_extra_opts CORESIGHT=1 +%endif +%global perf_make \ + %{__make} %{?make_opts} EXTRA_CFLAGS="${RPM_OPT_FLAGS}" EXTRA_CXXFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags} -Wl,-E" %{?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} +%if %{with_perf} +%{log_msg "Build perf"} +# perf +# make sure check-headers.sh is executable +chmod +x tools/perf/check-headers.sh +%{perf_make} DESTDIR=$RPM_BUILD_ROOT all +%endif + +%if %{with_libperf} +%global libperf_make \ + %{__make} %{?make_opts} EXTRA_CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" %{?cross_opts} -C tools/lib/perf V=1 + %{log_msg "build libperf"} +%{libperf_make} DESTDIR=$RPM_BUILD_ROOT +%endif + +%global tools_make \ + CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" EXTRA_CFLAGS="${RPM_OPT_FLAGS}" %{make} %{?make_opts} + +%if %{with_tools} +%ifarch %{cpupowerarchs} +# cpupower +# make sure version-gen.sh is executable. +chmod +x tools/power/cpupower/utils/version-gen.sh +%{log_msg "build cpupower"} +%{tools_make} %{?_smp_mflags} -C tools/power/cpupower CPUFREQ_BENCH=false DEBUG=false +%ifarch x86_64 + pushd tools/power/cpupower/debug/x86_64 + %{log_msg "build centrino-decode powernow-k8-decode"} + %{tools_make} %{?_smp_mflags} centrino-decode powernow-k8-decode + popd +%endif +%ifarch x86_64 + pushd tools/power/x86/x86_energy_perf_policy/ + %{log_msg "build x86_energy_perf_policy"} + %{tools_make} + popd + pushd tools/power/x86/turbostat + %{log_msg "build turbostat"} + %{tools_make} + popd + pushd tools/power/x86/intel-speed-select + %{log_msg "build intel-speed-select"} + %{tools_make} + popd + pushd tools/arch/x86/intel_sdsi + %{log_msg "build intel_sdsi"} + %{tools_make} CFLAGS="${RPM_OPT_FLAGS}" + popd +%endif +%endif +pushd tools/thermal/tmon/ +%{log_msg "build tmon"} +%{tools_make} +popd +pushd tools/bootconfig/ +%{log_msg "build bootconfig"} +%{tools_make} +popd +pushd tools/iio/ +%{log_msg "build iio"} +%{tools_make} +popd +pushd tools/gpio/ +%{log_msg "build gpio"} +%{tools_make} +popd +# build VM tools +pushd tools/mm/ +%{log_msg "build slabinfo page_owner_sort"} +%{tools_make} slabinfo page_owner_sort +popd +pushd tools/verification/rv/ +%{log_msg "build rv"} +%{tools_make} +popd +pushd tools/tracing/rtla +%{log_msg "build rtla"} +%{tools_make} +popd +%endif + +if [ -f $DevelDir/vmlinux.h ]; then + RPM_VMLINUX_H=$DevelDir/vmlinux.h +fi +echo "${RPM_VMLINUX_H}" > ../vmlinux_h_path + +%if %{with_selftests} +%{log_msg "start build selftests"} +# Unfortunately, samples/bpf/Makefile expects that the headers are installed +# in the source tree. We installed them previously to $RPM_BUILD_ROOT/usr +# but there's no way to tell the Makefile to take them from there. +%{log_msg "install headers for selftests"} +%{make} %{?_smp_mflags} headers_install + +# If we re building only tools without kernel, we need to generate config +# headers and prepare tree for modules building. The modules_prepare target +# will cover both. +if [ ! -f include/generated/autoconf.h ]; then + %{log_msg "modules_prepare for selftests"} + %{make} %{?_smp_mflags} modules_prepare +fi + +%{log_msg "build samples/bpf"} +%{make} %{?_smp_mflags} ARCH=$Arch V=1 M=samples/bpf/ VMLINUX_H="${RPM_VMLINUX_H}" || true + +pushd tools/testing/selftests +# We need to install here because we need to call make with ARCH set which +# doesn't seem possible to do in the install section. +%if %{selftests_must_build} + force_targets="FORCE_TARGETS=1" +%else + force_targets="" +%endif + +%{log_msg "main selftests compile"} +%{make} %{?_smp_mflags} ARCH=$Arch V=1 TARGETS="bpf cgroup mm net net/forwarding net/mptcp netfilter tc-testing memfd drivers/net/bonding iommu cachestat" SKIP_TARGETS="" $force_targets INSTALL_PATH=%{buildroot}%{_libexecdir}/kselftests VMLINUX_H="${RPM_VMLINUX_H}" install + +%ifarch %{klptestarches} + # kernel livepatching selftest test_modules will build against + # /lib/modules/$(shell uname -r)/build tree unless KDIR is set + export KDIR=$(realpath $(pwd)/../../..) + %{make} %{?_smp_mflags} ARCH=$Arch V=1 TARGETS="livepatch" SKIP_TARGETS="" $force_targets INSTALL_PATH=%{buildroot}%{_libexecdir}/kselftests VMLINUX_H="${RPM_VMLINUX_H}" install || true +%endif + +# 'make install' for bpf is broken and upstream refuses to fix it. +# Install the needed files manually. +%{log_msg "install selftests"} +for dir in bpf bpf/no_alu32 bpf/progs; do + # In ARK, the rpm build continues even if some of the selftests + # cannot be built. It's not always possible to build selftests, + # as upstream sometimes dependens on too new llvm version or has + # other issues. If something did not get built, just skip it. + test -d $dir || continue + mkdir -p %{buildroot}%{_libexecdir}/kselftests/$dir + find $dir -maxdepth 1 -type f \( -executable -o -name '*.py' -o -name settings -o \ + -name 'btf_dump_test_case_*.c' -o -name '*.ko' -o \ + -name '*.o' -exec sh -c 'readelf -h "{}" | grep -q "^ Machine:.*BPF"' \; \) -print0 | \ + xargs -0 cp -t %{buildroot}%{_libexecdir}/kselftests/$dir || true +done +%buildroot_save_unstripped "usr/libexec/kselftests/bpf/test_progs" +%buildroot_save_unstripped "usr/libexec/kselftests/bpf/test_progs-no_alu32" +popd +%{log_msg "end build selftests"} +%endif + +%if %{with_doc} +%{log_msg "start install docs"} +# Make the HTML pages. +%{log_msg "build html docs"} +%{__make} PYTHON=/usr/bin/python3 htmldocs || %{doc_build_fail} + +# sometimes non-world-readable files sneak into the kernel source tree +chmod -R a=rX Documentation +find Documentation -type d | xargs chmod u+w +%{log_msg "end install docs"} +%endif + +# Module signing (modsign) +# +# This must be run _after_ find-debuginfo.sh runs, otherwise that will strip +# the signature off of the modules. +# +# Don't sign modules for the zfcpdump variant as it is monolithic. + +%define __modsign_install_post \ + if [ "%{signmodules}" -eq "1" ]; then \ + %{log_msg "Signing kernel modules ..."} \ + modules_dirs="$(shopt -s nullglob; echo $RPM_BUILD_ROOT/lib/modules/%{KVERREL}*)" \ + for modules_dir in $modules_dirs; do \ + variant_suffix="${modules_dir#$RPM_BUILD_ROOT/lib/modules/%{KVERREL}}" \ + [ "$variant_suffix" == "+zfcpdump" ] && continue \ + %{log_msg "Signing modules for %{KVERREL}${variant_suffix}"} \ + %{modsign_cmd} certs/signing_key.pem.sign${variant_suffix} certs/signing_key.x509.sign${variant_suffix} $modules_dir/ \ + done \ + fi \ + if [ "%{zipmodules}" -eq "1" ]; then \ + %{log_msg "Compressing kernel modules ..."} \ + find $RPM_BUILD_ROOT/lib/modules/ -type f -name '*.ko' | xargs -n 16 -P${RPM_BUILD_NCPUS} -r %compression %compression_flags; \ + fi \ +%{nil} + +### +### Special hacks for debuginfo subpackages. +### + +# This macro is used by %%install, so we must redefine it before that. +%define debug_package %{nil} + +%if %{with_debuginfo} + +%ifnarch noarch %{nobuildarches} +%global __debug_package 1 +%files -f debugfiles.list debuginfo-common-%{_target_cpu} +%endif + +%endif + +# We don't want to package debuginfo for self-tests and samples but +# we have to delete them to avoid an error messages about unpackaged +# files. +# Delete the debuginfo for kernel-devel files +%define __remove_unwanted_dbginfo_install_post \ + if [ "%{with_selftests}" -ne "0" ]; then \ + rm -rf $RPM_BUILD_ROOT/usr/lib/debug/usr/libexec/ksamples; \ + rm -rf $RPM_BUILD_ROOT/usr/lib/debug/usr/libexec/kselftests; \ + fi \ + rm -rf $RPM_BUILD_ROOT/usr/lib/debug/usr/src; \ +%{nil} + +# +# Disgusting hack alert! We need to ensure we sign modules *after* all +# invocations of strip occur, which is in __debug_install_post if +# find-debuginfo.sh runs, and __os_install_post if not. +# +%define __spec_install_post \ + %{?__debug_package:%{__debug_install_post}}\ + %{__arch_install_post}\ + %{__os_install_post}\ + %{__remove_unwanted_dbginfo_install_post}\ + %{__restore_unstripped_root_post}\ + %{__modsign_install_post} + +### +### install +### + +%install + +cd linux-%{KVERREL} + +# re-define RPM_VMLINUX_H, because it doesn't carry over from %build +RPM_VMLINUX_H="$(cat ../vmlinux_h_path)" + +%if %{with_doc} +docdir=$RPM_BUILD_ROOT%{_datadir}/doc/kernel-doc-%{specversion}-%{pkgrelease} + +# copy the source over +mkdir -p $docdir +tar -h -f - --exclude=man --exclude='.*' -c Documentation | tar xf - -C $docdir +cat %{SOURCE2} | xz > $docdir/kernel.changelog.xz +chmod 0644 $docdir/kernel.changelog.xz + +# with_doc +%endif + +# We have to do the headers install before the tools install because the +# kernel headers_install will remove any header files in /usr/include that +# it doesn't install itself. + +%if %{with_headers} +# Install kernel headers +%{__make} ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_install + +find $RPM_BUILD_ROOT/usr/include \ + \( -name .install -o -name .check -o \ + -name ..install.cmd -o -name ..check.cmd \) -delete + +%endif + +%if %{with_cross_headers} +HDR_ARCH_LIST='arm64 powerpc s390 x86 riscv' +mkdir -p $RPM_BUILD_ROOT/usr/tmp-headers + +for arch in $HDR_ARCH_LIST; do + mkdir $RPM_BUILD_ROOT/usr/tmp-headers/arch-${arch} + %{__make} ARCH=${arch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr/tmp-headers/arch-${arch} headers_install +done + +find $RPM_BUILD_ROOT/usr/tmp-headers \ + \( -name .install -o -name .check -o \ + -name ..install.cmd -o -name ..check.cmd \) -delete + +# Copy all the architectures we care about to their respective asm directories +for arch in $HDR_ARCH_LIST ; do + mkdir -p $RPM_BUILD_ROOT/usr/${arch}-linux-gnu/include + mv $RPM_BUILD_ROOT/usr/tmp-headers/arch-${arch}/include/* $RPM_BUILD_ROOT/usr/${arch}-linux-gnu/include/ +done + +rm -rf $RPM_BUILD_ROOT/usr/tmp-headers +%endif + +%if %{with_kernel_abi_stablelists} +# kabi directory +INSTALL_KABI_PATH=$RPM_BUILD_ROOT/lib/modules/ +mkdir -p $INSTALL_KABI_PATH + +# install kabi releases directories +tar -xvf %{SOURCE300} -C $INSTALL_KABI_PATH +# with_kernel_abi_stablelists +%endif + +%if %{with_perf} +# perf tool binary and supporting scripts/binaries +%{perf_make} DESTDIR=$RPM_BUILD_ROOT lib=%{_lib} install-bin +# remove the 'trace' symlink. +rm -f %{buildroot}%{_bindir}/trace + +# For both of the below, yes, this should be using a macro but right now +# it's hard coded and we don't actually want it anyway right now. +# Whoever wants examples can fix it up! + +# remove examples +rm -rf %{buildroot}/usr/lib/perf/examples +rm -rf %{buildroot}/usr/lib/perf/include + +# python-perf extension +%{perf_make} DESTDIR=$RPM_BUILD_ROOT install-python_ext + +# perf man pages (note: implicit rpm magic compresses them later) +mkdir -p %{buildroot}/%{_mandir}/man1 +%{perf_make} DESTDIR=$RPM_BUILD_ROOT install-man + +# remove any tracevent files, eg. its plugins still gets built and installed, +# even if we build against system's libtracevent during perf build (by setting +# LIBTRACEEVENT_DYNAMIC=1 above in perf_make macro). Those files should already +# ship with libtraceevent package. +rm -rf %{buildroot}%{_libdir}/traceevent +%endif + +%if %{with_libperf} +%{libperf_make} DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{_libdir} install install_headers +# This is installed on some arches and we don't want to ship it +rm -rf %{buildroot}%{_libdir}/libperf.a +%endif + +%if %{with_tools} +%ifarch %{cpupowerarchs} +%{make} -C tools/power/cpupower DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} mandir=%{_mandir} CPUFREQ_BENCH=false install +%find_lang cpupower +mv cpupower.lang ../ +%ifarch x86_64 + pushd tools/power/cpupower/debug/x86_64 + install -m755 centrino-decode %{buildroot}%{_bindir}/centrino-decode + install -m755 powernow-k8-decode %{buildroot}%{_bindir}/powernow-k8-decode + popd +%endif +chmod 0755 %{buildroot}%{_libdir}/libcpupower.so* +%endif +%ifarch x86_64 + mkdir -p %{buildroot}%{_mandir}/man8 + pushd tools/power/x86/x86_energy_perf_policy + %{tools_make} DESTDIR=%{buildroot} install + popd + pushd tools/power/x86/turbostat + %{tools_make} DESTDIR=%{buildroot} install + popd + pushd tools/power/x86/intel-speed-select + %{tools_make} DESTDIR=%{buildroot} install + popd + pushd tools/arch/x86/intel_sdsi + %{tools_make} CFLAGS="${RPM_OPT_FLAGS}" DESTDIR=%{buildroot} install + popd +%endif +pushd tools/thermal/tmon +%{tools_make} INSTALL_ROOT=%{buildroot} install +popd +pushd tools/bootconfig +%{tools_make} DESTDIR=%{buildroot} install +popd +pushd tools/iio +%{tools_make} DESTDIR=%{buildroot} install +popd +pushd tools/gpio +%{tools_make} DESTDIR=%{buildroot} install +popd +install -m644 -D %{SOURCE2002} %{buildroot}%{_sysconfdir}/logrotate.d/kvm_stat +pushd tools/kvm/kvm_stat +%{__make} INSTALL_ROOT=%{buildroot} install-tools +%{__make} INSTALL_ROOT=%{buildroot} install-man +install -m644 -D kvm_stat.service %{buildroot}%{_unitdir}/kvm_stat.service +popd +# install VM tools +pushd tools/mm/ +install -m755 slabinfo %{buildroot}%{_bindir}/slabinfo +install -m755 page_owner_sort %{buildroot}%{_bindir}/page_owner_sort +popd +pushd tools/verification/rv/ +%{tools_make} DESTDIR=%{buildroot} install +popd +pushd tools/tracing/rtla/ +%{tools_make} DESTDIR=%{buildroot} install +rm -f %{buildroot}%{_bindir}/hwnoise +rm -f %{buildroot}%{_bindir}/osnoise +rm -f %{buildroot}%{_bindir}/timerlat +(cd %{buildroot} + + ln -sf rtla ./%{_bindir}/hwnoise + ln -sf rtla ./%{_bindir}/osnoise + ln -sf rtla ./%{_bindir}/timerlat +) +popd +%endif + +%if %{with_selftests} +pushd samples +install -d %{buildroot}%{_libexecdir}/ksamples +# install bpf samples +pushd bpf +install -d %{buildroot}%{_libexecdir}/ksamples/bpf +find -type f -executable -exec install -m755 {} %{buildroot}%{_libexecdir}/ksamples/bpf \; +install -m755 *.sh %{buildroot}%{_libexecdir}/ksamples/bpf +# test_lwt_bpf.sh compiles test_lwt_bpf.c when run; this works only from the +# kernel tree. Just remove it. +rm %{buildroot}%{_libexecdir}/ksamples/bpf/test_lwt_bpf.sh +install -m644 *_kern.o %{buildroot}%{_libexecdir}/ksamples/bpf || true +install -m644 tcp_bpf.readme %{buildroot}%{_libexecdir}/ksamples/bpf +popd +# install pktgen samples +pushd pktgen +install -d %{buildroot}%{_libexecdir}/ksamples/pktgen +find . -type f -executable -exec install -m755 {} %{buildroot}%{_libexecdir}/ksamples/pktgen/{} \; +find . -type f ! -executable -exec install -m644 {} %{buildroot}%{_libexecdir}/ksamples/pktgen/{} \; +popd +popd +# install mm selftests +pushd tools/testing/selftests/mm +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/mm/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/mm/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/mm/{} \; +popd +# install cgroup selftests +pushd tools/testing/selftests/cgroup +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/cgroup/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/cgroup/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/cgroup/{} \; +popd +# install drivers/net/mlxsw selftests +pushd tools/testing/selftests/drivers/net/mlxsw +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/drivers/net/mlxsw/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/drivers/net/mlxsw/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/drivers/net/mlxsw/{} \; +popd +# install drivers/net/netdevsim selftests +pushd tools/testing/selftests/drivers/net/netdevsim +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/drivers/net/netdevsim/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/drivers/net/netdevsim/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/drivers/net/netdevsim/{} \; +popd +# install drivers/net/bonding selftests +pushd tools/testing/selftests/drivers/net/bonding +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/drivers/net/bonding/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/drivers/net/bonding/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/drivers/net/bonding/{} \; +popd +# install net/forwarding selftests +pushd tools/testing/selftests/net/forwarding +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/net/forwarding/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/net/forwarding/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/net/forwarding/{} \; +popd +# install net/mptcp selftests +pushd tools/testing/selftests/net/mptcp +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/net/mptcp/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/net/mptcp/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/net/mptcp/{} \; +popd +# install tc-testing selftests +pushd tools/testing/selftests/tc-testing +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/tc-testing/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/tc-testing/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/tc-testing/{} \; +popd +# install livepatch selftests +pushd tools/testing/selftests/livepatch +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/livepatch/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/livepatch/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/livepatch/{} \; +popd +# install netfilter selftests +pushd tools/testing/selftests/netfilter +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/netfilter/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/netfilter/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/netfilter/{} \; +popd + +# install memfd selftests +pushd tools/testing/selftests/memfd +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/memfd/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/memfd/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/memfd/{} \; +popd +# install iommu selftests +pushd tools/testing/selftests/iommu +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/iommu/{} \; +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/iommu/{} \; +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/iommu/{} \; +popd +%endif + +### +### clean +### + +### +### scripts +### + +%if %{with_tools} +%post -n %{package_name}-tools-libs +/sbin/ldconfig + +%postun -n %{package_name}-tools-libs +/sbin/ldconfig +%endif + +# +# This macro defines a %%post script for a kernel*-devel package. +# %%kernel_devel_post [] +# Note we don't run hardlink if ostree is in use, as ostree is +# a far more sophisticated hardlink implementation. +# https://github.com/projectatomic/rpm-ostree/commit/58a79056a889be8814aa51f507b2c7a4dccee526 +# +# The deletion of *.hardlink-temporary files is a temporary workaround +# for this bug in the hardlink binary (fixed in util-linux 2.38): +# https://github.com/util-linux/util-linux/issues/1602 +# +%define kernel_devel_post() \ +%{expand:%%post %{?1:%{1}-}devel}\ +if [ -f /etc/sysconfig/kernel ]\ +then\ + . /etc/sysconfig/kernel || exit $?\ +fi\ +if [ "$HARDLINK" != "no" -a -x /usr/bin/hardlink -a ! -e /run/ostree-booted ] \ +then\ + (cd /usr/src/kernels/%{KVERREL}%{?1:+%{1}} &&\ + /usr/bin/find . -type f | while read f; do\ + hardlink -c /usr/src/kernels/*%{?dist}.*/$f $f > /dev/null\ + done;\ + /usr/bin/find /usr/src/kernels -type f -name '*.hardlink-temporary' -delete\ + )\ +fi\ +%if %{with_cross}\ + echo "Building scripts and resolve_btfids"\ + env --unset=ARCH make -C /usr/src/kernels/%{KVERREL}%{?1:+%{1}} prepare_after_cross\ +%endif\ +%{nil} + +# +# This macro defines a %%post script for a kernel*-modules-extra package. +# It also defines a %%postun script that does the same thing. +# %%kernel_modules_extra_post [] +# +%define kernel_modules_extra_post() \ +%{expand:%%post %{?1:%{1}-}modules-extra}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil}\ +%{expand:%%postun %{?1:%{1}-}modules-extra}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil} + +# +# This macro defines a %%post script for a kernel*-modules-internal package. +# It also defines a %%postun script that does the same thing. +# %%kernel_modules_internal_post [] +# +%define kernel_modules_internal_post() \ +%{expand:%%post %{?1:%{1}-}modules-internal}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil}\ +%{expand:%%postun %{?1:%{1}-}modules-internal}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil} + +# +# This macro defines a %%post script for a kernel*-modules-partner package. +# It also defines a %%postun script that does the same thing. +# %%kernel_modules_partner_post [] +# +%define kernel_modules_partner_post() \ +%{expand:%%post %{?1:%{1}-}modules-partner}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil}\ +%{expand:%%postun %{?1:%{1}-}modules-partner}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil} + +%if %{with_realtime} +# +# This macro defines a %%post script for a kernel*-kvm package. +# It also defines a %%postun script that does the same thing. +# %%kernel_kvm_post [] +# +%define kernel_kvm_post() \ +%{expand:%%post %{?1:%{1}-}kvm}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil}\ +%{expand:%%postun %{?1:%{1}-}kvm}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil} +%endif + +# +# This macro defines a %%post script for a kernel*-modules package. +# It also defines a %%postun script that does the same thing. +# %%kernel_modules_post [] +# +%define kernel_modules_post() \ +%{expand:%%post %{?1:%{1}-}modules}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +if [ ! -f %{_localstatedir}/lib/rpm-state/%{name}/installing_core_%{KVERREL}%{?1:+%{1}} ]; then\ + mkdir -p %{_localstatedir}/lib/rpm-state/%{name}\ + touch %{_localstatedir}/lib/rpm-state/%{name}/need_to_run_dracut_%{KVERREL}%{?1:+%{1}}\ +fi\ +%{nil}\ +%{expand:%%postun %{?1:%{1}-}modules}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil}\ +%{expand:%%posttrans %{?1:%{1}-}modules}\ +if [ -f %{_localstatedir}/lib/rpm-state/%{name}/need_to_run_dracut_%{KVERREL}%{?1:+%{1}} ]; then\ + rm -f %{_localstatedir}/lib/rpm-state/%{name}/need_to_run_dracut_%{KVERREL}%{?1:+%{1}}\ + echo "Running: dracut -f --kver %{KVERREL}%{?1:+%{1}}"\ + dracut -f --kver "%{KVERREL}%{?1:+%{1}}" || exit $?\ +fi\ +%{nil} + +# +# This macro defines a %%post script for a kernel*-modules-core package. +# %%kernel_modules_core_post [] +# +%define kernel_modules_core_post() \ +%{expand:%%posttrans %{?1:%{1}-}modules-core}\ +/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\ +%{nil} + +# This macro defines a %%posttrans script for a kernel package. +# %%kernel_variant_posttrans [-v ] [-u uki-suffix] +# More text can follow to go at the end of this variant's %%post. +# +%define kernel_variant_posttrans(v:u:) \ +%{expand:%%posttrans %{?-v:%{-v*}-}%{!?-u*:core}%{?-u*:uki-%{-u*}}}\ +%if 0%{!?fedora:1}\ +%if !%{with_automotive}\ +if [ -x %{_sbindir}/weak-modules ]\ +then\ + %{_sbindir}/weak-modules --add-kernel %{KVERREL}%{?-v:+%{-v*}} || exit $?\ +fi\ +%endif\ +%endif\ +rm -f %{_localstatedir}/lib/rpm-state/%{name}/installing_core_%{KVERREL}%{?-v:+%{-v*}}\ +/bin/kernel-install add %{KVERREL}%{?-v:+%{-v*}} /lib/modules/%{KVERREL}%{?-v:+%{-v*}}/vmlinuz%{?-u:-%{-u*}.efi} || exit $?\ +if [[ ! -e "/boot/symvers-%{KVERREL}%{?-v:+%{-v*}}.%compext" ]]; then\ + cp "/lib/modules/%{KVERREL}%{?-v:+%{-v*}}/symvers.%compext" "/boot/symvers-%{KVERREL}%{?-v:+%{-v*}}.%compext"\ + if command -v restorecon &>/dev/null; then\ + restorecon "/boot/symvers-%{KVERREL}%{?-v:+%{-v*}}.%compext"\ + fi\ +fi\ +%{nil} + +# +# This macro defines a %%post script for a kernel package and its devel package. +# %%kernel_variant_post [-v ] [-r ] +# More text can follow to go at the end of this variant's %%post. +# +%define kernel_variant_post(v:r:) \ +%{expand:%%kernel_devel_post %{?-v*}}\ +%{expand:%%kernel_modules_post %{?-v*}}\ +%{expand:%%kernel_modules_core_post %{?-v*}}\ +%{expand:%%kernel_modules_extra_post %{?-v*}}\ +%{expand:%%kernel_modules_internal_post %{?-v*}}\ +%if 0%{!?fedora:1}\ +%{expand:%%kernel_modules_partner_post %{?-v*}}\ +%endif\ +%{expand:%%kernel_variant_posttrans %{?-v*:-v %{-v*}}}\ +%{expand:%%post %{?-v*:%{-v*}-}core}\ +%{-r:\ +if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ] &&\ + [ -f /etc/sysconfig/kernel ]; then\ + /bin/sed -r -i -e 's/^DEFAULTKERNEL=%{-r*}$/DEFAULTKERNEL=kernel%{?-v:-%{-v*}}/' /etc/sysconfig/kernel || exit $?\ +fi}\ +mkdir -p %{_localstatedir}/lib/rpm-state/%{name}\ +touch %{_localstatedir}/lib/rpm-state/%{name}/installing_core_%{KVERREL}%{?-v:+%{-v*}}\ +%{nil} + +# +# This macro defines a %%preun script for a kernel package. +# %%kernel_variant_preun [-v ] -u [uki-suffix] +# +%define kernel_variant_preun(v:u:) \ +%{expand:%%preun %{?-v:%{-v*}-}%{!?-u*:core}%{?-u*:uki-%{-u*}}}\ +/bin/kernel-install remove %{KVERREL}%{?-v:+%{-v*}} || exit $?\ +%if !%{with_automotive}\ +if [ -x %{_sbindir}/weak-modules ]\ +then\ + %{_sbindir}/weak-modules --remove-kernel %{KVERREL}%{?-v:+%{-v*}} || exit $?\ +fi\ +%endif\ +%{nil} + +%if %{with_up_base} && %{with_efiuki} +%kernel_variant_posttrans -u virt +%kernel_variant_preun -u virt +%endif + +%if %{with_up_base} +%kernel_variant_preun +%kernel_variant_post +%endif + +%if %{with_zfcpdump} +%kernel_variant_preun -v zfcpdump +%kernel_variant_post -v zfcpdump +%endif + +%if %{with_up} && %{with_debug} && %{with_efiuki} +%kernel_variant_posttrans -v debug -u virt +%kernel_variant_preun -v debug -u virt +%endif + +%if %{with_up} && %{with_debug} +%kernel_variant_preun -v debug +%kernel_variant_post -v debug +%endif + +%if %{with_arm64_16k_base} +%kernel_variant_preun -v 16k +%kernel_variant_post -v 16k +%endif + +%if %{with_debug} && %{with_arm64_16k} +%kernel_variant_preun -v 16k-debug +%kernel_variant_post -v 16k-debug +%endif + +%if %{with_arm64_16k} && %{with_debug} && %{with_efiuki} +%kernel_variant_posttrans -v 16k-debug -u virt +%kernel_variant_preun -v 16k-debug -u virt +%endif + +%if %{with_arm64_16k_base} && %{with_efiuki} +%kernel_variant_posttrans -v 16k -u virt +%kernel_variant_preun -v 16k -u virt +%endif + +%if %{with_arm64_64k_base} +%kernel_variant_preun -v 64k +%kernel_variant_post -v 64k +%endif + +%if %{with_debug} && %{with_arm64_64k} +%kernel_variant_preun -v 64k-debug +%kernel_variant_post -v 64k-debug +%endif + +%if %{with_arm64_64k} && %{with_debug} && %{with_efiuki} +%kernel_variant_posttrans -v 64k-debug -u virt +%kernel_variant_preun -v 64k-debug -u virt +%endif + +%if %{with_arm64_64k_base} && %{with_efiuki} +%kernel_variant_posttrans -v 64k -u virt +%kernel_variant_preun -v 64k -u virt +%endif + +%if %{with_realtime_base} +%kernel_variant_preun -v rt +%kernel_variant_post -v rt -r kernel +%kernel_kvm_post rt +%endif + +%if %{with_automotive_base} +%kernel_variant_preun -v automotive +%kernel_variant_post -v automotive -r kernel +%endif + +%if %{with_realtime} && %{with_debug} +%kernel_variant_preun -v rt-debug +%kernel_variant_post -v rt-debug +%kernel_kvm_post rt-debug +%endif + +%if %{with_automotive} && %{with_debug} +%kernel_variant_preun -v automotive-debug +%kernel_variant_post -v automotive-debug +%endif + +### +### file lists +### + +%if %{with_headers} +%files headers +/usr/include/* +%exclude %{_includedir}/cpufreq.h +%endif + +%if %{with_cross_headers} +%files cross-headers +/usr/*-linux-gnu/include/* +%endif + +%if %{with_kernel_abi_stablelists} +%files -n %{package_name}-abi-stablelists +/lib/modules/kabi-* +%endif + +%if %{with_kabidw_base} +%ifarch x86_64 s390x ppc64 ppc64le aarch64 riscv64 +%files kernel-kabidw-base-internal +%defattr(-,root,root) +/kabidw-base/%{_target_cpu}/* +%endif +%endif + +# only some architecture builds need kernel-doc +%if %{with_doc} +%files doc +%defattr(-,root,root) +%{_datadir}/doc/kernel-doc-%{specversion}-%{pkgrelease}/Documentation/* +%dir %{_datadir}/doc/kernel-doc-%{specversion}-%{pkgrelease}/Documentation +%dir %{_datadir}/doc/kernel-doc-%{specversion}-%{pkgrelease} +%{_datadir}/doc/kernel-doc-%{specversion}-%{pkgrelease}/kernel.changelog.xz +%endif + +%if %{with_perf} +%files -n perf +%{_bindir}/perf +%{_libdir}/libperf-jvmti.so +%dir %{_libexecdir}/perf-core +%{_libexecdir}/perf-core/* +%{_datadir}/perf-core/* +%{_mandir}/man[1-8]/perf* +%{_sysconfdir}/bash_completion.d/perf +%doc linux-%{KVERREL}/tools/perf/Documentation/examples.txt +%{_docdir}/perf-tip/tips.txt +%{_includedir}/perf/perf_dlfilter.h + +%files -n python3-perf +%{python3_sitearch}/* + +%if %{with_debuginfo} +%files -f perf-debuginfo.list -n perf-debuginfo + +%files -f python3-perf-debuginfo.list -n python3-perf-debuginfo +%endif +# with_perf +%endif + +%if %{with_libperf} +%files -n libperf +%{_libdir}/libperf.so.0 +%{_libdir}/libperf.so.0.0.1 + +%files -n libperf-devel +%{_libdir}/libperf.so +%{_libdir}/pkgconfig/libperf.pc +%{_includedir}/internal/*.h +%{_includedir}/perf/bpf_perf.h +%{_includedir}/perf/core.h +%{_includedir}/perf/cpumap.h +%{_includedir}/perf/event.h +%{_includedir}/perf/evlist.h +%{_includedir}/perf/evsel.h +%{_includedir}/perf/mmap.h +%{_includedir}/perf/threadmap.h +%{_mandir}/man3/libperf.3.gz +%{_mandir}/man7/libperf-counting.7.gz +%{_mandir}/man7/libperf-sampling.7.gz +%{_docdir}/libperf/examples/sampling.c +%{_docdir}/libperf/examples/counting.c +%{_docdir}/libperf/html/libperf.html +%{_docdir}/libperf/html/libperf-counting.html +%{_docdir}/libperf/html/libperf-sampling.html + +%if %{with_debuginfo} +%files -f libperf-debuginfo.list -n libperf-debuginfo +%endif + +# with_libperf +%endif + + +%if %{with_tools} +%ifnarch %{cpupowerarchs} +%files -n %{package_name}-tools +%else +%files -n %{package_name}-tools -f cpupower.lang +%{_bindir}/cpupower +%{_datadir}/bash-completion/completions/cpupower +%ifarch x86_64 +%{_bindir}/centrino-decode +%{_bindir}/powernow-k8-decode +%endif +%{_mandir}/man[1-8]/cpupower* +%ifarch x86_64 +%{_bindir}/x86_energy_perf_policy +%{_mandir}/man8/x86_energy_perf_policy* +%{_bindir}/turbostat +%{_mandir}/man8/turbostat* +%{_bindir}/intel-speed-select +%{_sbindir}/intel_sdsi +%endif +# cpupowerarchs +%endif +%{_bindir}/tmon +%{_bindir}/bootconfig +%{_bindir}/iio_event_monitor +%{_bindir}/iio_generic_buffer +%{_bindir}/lsiio +%{_bindir}/lsgpio +%{_bindir}/gpio-hammer +%{_bindir}/gpio-event-mon +%{_bindir}/gpio-watch +%{_mandir}/man1/kvm_stat* +%{_bindir}/kvm_stat +%{_unitdir}/kvm_stat.service +%config(noreplace) %{_sysconfdir}/logrotate.d/kvm_stat +%{_bindir}/page_owner_sort +%{_bindir}/slabinfo + +%if %{with_debuginfo} +%files -f %{package_name}-tools-debuginfo.list -n %{package_name}-tools-debuginfo +%endif + +%ifarch %{cpupowerarchs} +%files -n %{package_name}-tools-libs +%{_libdir}/libcpupower.so.1 +%{_libdir}/libcpupower.so.0.0.1 + +%files -n %{package_name}-tools-libs-devel +%{_libdir}/libcpupower.so +%{_includedir}/cpufreq.h +%{_includedir}/cpuidle.h +%{_includedir}/powercap.h +%endif + +%files -n rtla +%{_bindir}/rtla +%{_bindir}/hwnoise +%{_bindir}/osnoise +%{_bindir}/timerlat +%{_mandir}/man1/rtla-hwnoise.1.gz +%{_mandir}/man1/rtla-osnoise-hist.1.gz +%{_mandir}/man1/rtla-osnoise-top.1.gz +%{_mandir}/man1/rtla-osnoise.1.gz +%{_mandir}/man1/rtla-timerlat-hist.1.gz +%{_mandir}/man1/rtla-timerlat-top.1.gz +%{_mandir}/man1/rtla-timerlat.1.gz +%{_mandir}/man1/rtla.1.gz + +%files -n rv +%{_bindir}/rv +%{_mandir}/man1/rv-list.1.gz +%{_mandir}/man1/rv-mon-wip.1.gz +%{_mandir}/man1/rv-mon-wwnr.1.gz +%{_mandir}/man1/rv-mon.1.gz +%{_mandir}/man1/rv.1.gz + +# with_tools +%endif + +%if %{with_selftests} +%files selftests-internal +%{_libexecdir}/ksamples +%{_libexecdir}/kselftests +%endif + +# empty meta-package +%if %{with_up_base} +%ifnarch %nobuildarches noarch +%files +%endif +%endif + +# This is %%{image_install_path} on an arch where that includes ELF files, +# or empty otherwise. +%define elf_image_install_path %{?kernel_image_elf:%{image_install_path}} + +# +# This macro defines the %%files sections for a kernel package +# and its devel and debuginfo packages. +# %%kernel_variant_files [-k vmlinux] +# +%define kernel_variant_files(k:) \ +%if %{2}\ +%{expand:%%files %{?1:-f kernel-%{?3:%{3}-}ldsoconf.list} %{?3:%{3}-}core}\ +%{!?_licensedir:%global license %%doc}\ +%%license linux-%{KVERREL}/COPYING-%{version}-%{release}\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/%{?-k:%{-k*}}%{!?-k:vmlinuz}\ +%ghost /%{image_install_path}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-%{KVERREL}%{?3:+%{3}}\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/.vmlinuz.hmac \ +%ghost /%{image_install_path}/.vmlinuz-%{KVERREL}%{?3:+%{3}}.hmac \ +%ifarch aarch64 riscv64\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/dtb \ +%ghost /%{image_install_path}/dtb-%{KVERREL}%{?3:+%{3}} \ +%endif\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/System.map\ +%ghost /boot/System.map-%{KVERREL}%{?3:+%{3}}\ +%dir /lib/modules\ +%dir /lib/modules/%{KVERREL}%{?3:+%{3}}\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/symvers.%compext\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/config\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.builtin*\ +%ghost %attr(0644, root, root) /boot/symvers-%{KVERREL}%{?3:+%{3}}.%compext\ +%ghost %attr(0600, root, root) /boot/initramfs-%{KVERREL}%{?3:+%{3}}.img\ +%ghost %attr(0644, root, root) /boot/config-%{KVERREL}%{?3:+%{3}}\ +%{expand:%%files -f kernel-%{?3:%{3}-}modules-core.list %{?3:%{3}-}modules-core}\ +%dir /lib/modules\ +%dir /lib/modules/%{KVERREL}%{?3:+%{3}}\ +%dir /lib/modules/%{KVERREL}%{?3:+%{3}}/kernel\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/build\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/source\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/updates\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/weak-updates\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/systemtap\ +%{_datadir}/doc/kernel-keys/%{KVERREL}%{?3:+%{3}}\ +%if %{1}\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/vdso\ +%endif\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.block\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.drm\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.modesetting\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.networking\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.order\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.alias\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.alias.bin\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.builtin.alias.bin\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.builtin.bin\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.dep\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.dep.bin\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.devname\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.softdep\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.symbols\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.symbols.bin\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.weakdep\ +%{expand:%%files -f kernel-%{?3:%{3}-}modules.list %{?3:%{3}-}modules}\ +%{expand:%%files %{?3:%{3}-}devel}\ +%defverify(not mtime)\ +/usr/src/kernels/%{KVERREL}%{?3:+%{3}}\ +%{expand:%%files %{?3:%{3}-}devel-matched}\ +%{expand:%%files -f kernel-%{?3:%{3}-}modules-extra.list %{?3:%{3}-}modules-extra}\ +%{expand:%%files -f kernel-%{?3:%{3}-}modules-internal.list %{?3:%{3}-}modules-internal}\ +%if 0%{!?fedora:1}\ +%{expand:%%files -f kernel-%{?3:%{3}-}modules-partner.list %{?3:%{3}-}modules-partner}\ +%endif\ +%if %{with_debuginfo}\ +%ifnarch noarch\ +%{expand:%%files -f debuginfo%{?3}.list %{?3:%{3}-}debuginfo}\ +%endif\ +%endif\ +%if "%{3}" == "rt" || "%{3}" == "rt-debug"\ +%{expand:%%files -f kernel-%{?3:%{3}-}modules-rt-kvm.list %{?3:%{3}-}kvm}\ +%else\ +%if %{with_efiuki}\ +%{expand:%%files %{?3:%{3}-}uki-virt}\ +%dir /lib/modules\ +%dir /lib/modules/%{KVERREL}%{?3:+%{3}}\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/System.map\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/symvers.%compext\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/config\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.builtin*\ +%attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-virt.efi\ +%attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/.%{?-k:%{-k*}}%{!?-k:vmlinuz}-virt.efi.hmac\ +%ghost /%{image_install_path}/efi/EFI/Linux/%{?-k:%{-k*}}%{!?-k:*}-%{KVERREL}%{?3:+%{3}}.efi\ +%{expand:%%files %{?3:%{3}-}uki-virt-addons}\ +%dir /lib/modules/%{KVERREL}%{?3:+%{3}}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-virt.efi.extra.d/ \ +/lib/modules/%{KVERREL}%{?3:+%{3}}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-virt.efi.extra.d/*.addon.efi\ +%endif\ +%endif\ +%if %{?3:1} %{!?3:0}\ +%{expand:%%files %{3}}\ +%endif\ +%if %{with_gcov}\ +%ifnarch %nobuildarches noarch\ +%{expand:%%files -f kernel-%{?3:%{3}-}gcov.list %{?3:%{3}-}gcov}\ +%endif\ +%endif\ +%endif\ +%{nil} + +%kernel_variant_files %{_use_vdso} %{with_up_base} +%if %{with_up} +%kernel_variant_files %{_use_vdso} %{with_debug} debug +%endif +%if %{with_arm64_16k} +%kernel_variant_files %{_use_vdso} %{with_debug} 16k-debug +%endif +%if %{with_arm64_64k} +%kernel_variant_files %{_use_vdso} %{with_debug} 64k-debug +%endif +%kernel_variant_files %{_use_vdso} %{with_realtime_base} rt +%if %{with_realtime} +%kernel_variant_files %{_use_vdso} %{with_debug} rt-debug +%endif +%kernel_variant_files %{_use_vdso} %{with_automotive_base} automotive +%if %{with_automotive} +%kernel_variant_files %{_use_vdso} %{with_debug} automotive-debug +%endif +%if %{with_debug_meta} +%files debug +%files debug-core +%files debug-devel +%files debug-devel-matched +%files debug-modules +%files debug-modules-core +%files debug-modules-extra +%if %{with_arm64_16k} +%files 16k-debug +%files 16k-debug-core +%files 16k-debug-devel +%files 16k-debug-devel-matched +%files 16k-debug-modules +%files 16k-debug-modules-extra +%endif +%if %{with_arm64_64k} +%files 64k-debug +%files 64k-debug-core +%files 64k-debug-devel +%files 64k-debug-devel-matched +%files 64k-debug-modules +%files 64k-debug-modules-extra +%endif +%endif +%kernel_variant_files %{_use_vdso} %{with_zfcpdump} zfcpdump +%kernel_variant_files %{_use_vdso} %{with_arm64_16k_base} 16k +%kernel_variant_files %{_use_vdso} %{with_arm64_64k_base} 64k + +%define kernel_variant_ipaclones(k:) \ +%if %{1}\ +%if %{with_ipaclones}\ +%{expand:%%files %{?2:%{2}-}ipaclones-internal}\ +%defattr(-,root,root)\ +%defverify(not mtime)\ +/usr/src/kernels/%{KVERREL}%{?2:+%{2}}-ipaclones\ +%endif\ +%endif\ +%{nil} + +%kernel_variant_ipaclones %{with_up_base} + +# plz don't put in a version string unless you're going to tag +# and build. +# +# +%changelog + +### +# The following Emacs magic makes C-c C-e use UTC dates. +# Local Variables: +# rpm-change-log-uses-utc: t +# End: +### diff --git a/ciq/rpm/SRPMS/.gitignore b/ciq/rpm/SRPMS/.gitignore new file mode 100644 index 0000000000000..a5baada18fdb3 --- /dev/null +++ b/ciq/rpm/SRPMS/.gitignore @@ -0,0 +1,3 @@ +* +!.gitignore + diff --git a/ciq/scripts/ci/ark-ci-env.sh b/ciq/scripts/ci/ark-ci-env.sh new file mode 100644 index 0000000000000..b05ef0f992b02 --- /dev/null +++ b/ciq/scripts/ci/ark-ci-env.sh @@ -0,0 +1,204 @@ +#! /bin/bash + +die() +{ + echo "$1" + exit 1 +} + +ci_pre_check() +{ + if test -z "${GITLAB_PROJECT_URL}" || test -z "$GITLAB_PROJECT_PUSHURL"; then + echo "To enable git-push, please run:" + echo "git remote add gitlab " + echo "git remote set-url --push gitlab " + if test -n "${TO_PUSH}"; then + die "Misconfigured 'gitlab' entry for git" + fi + fi + git diff-index --quiet HEAD || die "Dirty tree, please clean before merging." +} + +# wrapper around branches that may not be exist yet +ark_git_branch() +{ + _target_branch="$1" + _source_branch="$2" + + # switch to branch if it exists otherwise create and set to source + # branch + git show-ref -q --heads "$_target_branch" || \ + git branch "$_target_branch" "$_source_branch" +} + +# GitLab can only mirror one project at a time. This wrapper function does +# the mirroring for any other branches. +ark_git_mirror() +{ + target_branch="$1" + upstream_tree="$2" + source_branch="$3" + reset_branch="$4" + + prev_branch="$(git rev-parse --abbrev-ref HEAD)" + remote_branch="$upstream_tree/$source_branch" + ark_git_branch "$target_branch" "$remote_branch" + git checkout "$target_branch" + git fetch "$upstream_tree" "$source_branch" + if test -z "$reset_branch"; then + git merge "$remote_branch" || die "git merge $remote_branch failed" + else + git reset --hard "$remote_branch" || die "git reset $remote_branch failed" + fi + git checkout "$prev_branch" +} + +# Merge wrapper in case issues arise +ark_git_merge() +{ + target_branch="$1" + source_branch="$2" + + prev_branch="$(git rev-parse --abbrev-ref HEAD)" + ark_git_branch "$target_branch" "${source_branch}" + git checkout "$target_branch" + + msg="Merge '${source_branch}' into '$target_branch'" + if ! git merge -m "$msg" "${source_branch}"; then + git merge --abort + printf "Merge conflict; halting!\n" + printf "To reproduce:\n" + printf "* git checkout %s\n" "${target_branch}" + printf "* git merge %s\n" "${source_branch}" + die "Merge conflicts" + fi + + git checkout "$prev_branch" + return 0 +} + +ark_git_rebase() +{ + rebase_branch="$1" + _upstream="$2" + _base="$3" + + # GIT_SEQUENCE_EDITOR is used to filter out some commits + # This requires interactive mode to work, so force it on. + test -n "$GIT_SEQUENCE_EDITOR" && interactive=(-i) || interactive=() + + prev_branch="$(git rev-parse --abbrev-ref HEAD)" + git checkout "${rebase_branch}" + if ! git rebase "${interactive[@]}" --onto "$_base" "$_upstream"; then + git rebase --abort + printf "Rebase conflict; halting!\n" + printf "To reproduce:\n" + printf "* git checkout %s\n" "${rebase_branch}" + printf "* git rebase --onto %s %s\n" "${_base}" "${_upstream}" + die "Rebase conflicts" + fi + git checkout "$prev_branch" + return 0 +} + +ark_update_configs() +{ + config_branch="$1" + skip_configs="$2" + + prev_branch="$(git rev-parse --abbrev-ref HEAD)" + git checkout "${config_branch}" + + # Generates and commits all the pending configs + make -j FLAVOR=fedora dist-configs-commit + # Skip executing gen_config_patches.sh for new Fedora configs + + old_head="$(git rev-parse HEAD)" + make -j FLAVOR=rhel dist-configs-commit + new_head="$(git rev-parse HEAD)" + + + # Converts each new pending config from above into its finalized git + # configs// config_branch. These commits are used for Merge + # Requests. + [ "$old_head" != "$new_head" ] && CONFIGS_ADDED="1" || CONFIGS_ADDED="" + + if test "$CONFIGS_ADDED"; then + if test -z "$skip_configs"; then + git checkout "$prev_branch" + ./redhat/scripts/genspec/gen_config_patches.sh "$config_branch" + fi + else + printf "No new configuration values exposed from " + printf "merging %s into $BRANCH\n" "$UPSTREAM_REF" + fi + + git checkout "$prev_branch" + test -z "$CONFIGS_ADDED" && return 0 || return 1 +} + +ark_push_changes() +{ + push_branch="$1" + skip_configs="$2" + + prev_branch="$(git rev-parse --abbrev-ref HEAD)" + git checkout "${push_branch}" + + TMPFILE=".push-warnings" + touch "$TMPFILE" + + test "$ARK_REBASE" && FORCE=(-f) || FORCE=() + test "$TO_PUSH" && PUSH_VERB="Pushing" || PUSH_VERB="To push" + PUSH_STR="branch ${push_branch} to ${GITLAB_URL}" + PUSH_CMD="git push ${FORCE[*]} gitlab ${push_branch}" + PUSH_CONFIG_STR="config update branches" + PUSH_CONFIG_CMD="for conf_branch in \$(git branch | grep configs/${push_branch}/\"\$(date +%F)\"); do + git push \\ + -o merge_request.create \\ + -o merge_request.target=\"$push_branch\" \\ + -o merge_request.remove_source_branch \\ + gitlab \"\$conf_branch\" 2>&1 | tee -a $TMPFILE + done + " + + #Push push_branch + echo "# $PUSH_VERB $PUSH_STR" + echo "$PUSH_CMD" + test "$TO_PUSH" && eval "$PUSH_CMD" + + #Push config branches if created + if test -z "$skip_configs"; then + echo + echo "# $PUSH_VERB $PUSH_CONFIG_STR" + echo "$PUSH_CONFIG_CMD" + test "$TO_PUSH" && eval "$PUSH_CONFIG_CMD" + fi + + # GitLab server side warnings do not fail git-push but leave verbose + # WARNING messages. Grep for those and consider it a script + # failure. Make sure all push_branches are pushed first as follow up + # git-pushes may succeed. + grep -q "remote:[ ]* WARNINGS" "$TMPFILE" && die "Server side warnings" + + rm "$TMPFILE" + git checkout "$prev_branch" + return 0 +} + +# Common variables for all CI scripts +UPSTREAM_REF=${1:-"master"} +BRANCH=${2:-"os-build"} +PROJECT_ID=${PROJECT_ID:-"13604247"} +TO_PUSH=${DIST_PUSH:-""} +GITLAB_PROJECT_URL="$(git remote get-url gitlab 2>/dev/null)" || true +GITLAB_PROJECT_PUSHURL="$(git config --get remote.gitlab.pushurl 2>/dev/null)" || true + +ci_pre_check + +export UPSTREAM_REF +export BRANCH +export PROJECT_ID +export TO_PUSH +export GITLAB_PROJECT_URL +export GITLAB_PROJECT_PUSHURL diff --git a/ciq/scripts/ci/ark-create-release.sh b/ciq/scripts/ci/ark-create-release.sh new file mode 100755 index 0000000000000..088873d793940 --- /dev/null +++ b/ciq/scripts/ci/ark-create-release.sh @@ -0,0 +1,80 @@ +#!/bin/bash +# +# Generate a release tag and, if based on a tagged upstream release, a set +# of release branches. This script will rebase the ark-patches branch, update +# os-build with the latest configurations, and apply any merge requests labeled +# with "Include in Releases". + +set -e + +# This script requires the `gitlab` command to locate `Include in Releases` content. +if ! command -v gitlab > /dev/null 2>&1 ; then + echo "Required command 'gitlab' (from python-gitlab package) not present." + exit 1 +fi + +# source common CI functions and variables +# shellcheck disable=SC1091 +. "$(dirname "$0")"/ark-ci-env.sh + +git checkout "${BRANCH}" +touch localversion +old_head="$(git rev-parse HEAD)" +make dist-release + +# prep ark-latest branch +git checkout --detach "${BRANCH}" && git describe + +MR_PATCHES=$(gitlab project-merge-request list --project-id="$PROJECT_ID" \ + --labels="Include in Releases" --state=opened | grep -v "^$" | sort | \ + awk '{ print "https://gitlab.com/cki-project/kernel-ark/-/merge_requests/" $2 ".patch" }') +for patch_url in $MR_PATCHES; do + curl -sL "$patch_url" | git am -3 +done + +# if dist-release doesn't update anything, then there is a good chance the +# tag already exists and infra changes have already been applied. Let's +# skip those conditions and exit gracefully. +make dist-release +new_head="$(git rev-parse HEAD)" +if test "$old_head" == "$new_head"; then + echo "Nothing changed, skipping updates" + exit 0 +fi + +make dist-release-tag +RELEASE=$(git describe) #grab the tag +git checkout ark-latest +git reset --hard "$RELEASE" + +# Update ark-infra branch +git checkout ark-infra + +# Using ark-latest because it has latest fixes +rm -rf makefile Makefile.rhelver Kconfig.redhat redhat/ +git archive --format=tar ark-latest makefile Makefile.rhelver Kconfig.redhat redhat/ | tar -x + +# Manually add hook instead of cherry-pick +# Add to middle to avoid git merge conflicts +# NOTE: commented out but left for future info to rebuild from scratch +# sed -i '/# We are using a recursive / i include Makefile.rhelver\n' Makefile + +git add makefile Makefile.rhelver Makefile Kconfig.redhat redhat + +git commit -m "bulk merge ark-infra as of $(date)" + +echo +test "$TO_PUSH" && PUSH_VERB="Pushing" || PUSH_VERB="To push" +PUSH_STR="all release artifacts" +PUSH_CMD="git push gitlab ${BRANCH} && \\ + git push gitlab \"${RELEASE}\" && \\ + git push -f gitlab ark-latest && \\ + git push -f gitlab ark-infra +" + +#Push branch +echo "# $PUSH_VERB $PUSH_STR" +echo "$PUSH_CMD" +test "$TO_PUSH" && eval "$PUSH_CMD" + +exit 0 diff --git a/ciq/scripts/ci/ark-merge-rt.sh b/ciq/scripts/ci/ark-merge-rt.sh new file mode 100755 index 0000000000000..d7ac44e5c06cc --- /dev/null +++ b/ciq/scripts/ci/ark-merge-rt.sh @@ -0,0 +1,194 @@ +#!/bin/bash +# +# This script is intended to sync up the RT and automotive branch (derivative +# of RT). It adds the extra twist of detecting the right upstream rt branch +# to sync with depending on the existance of the next branch. Sometimes the +# rt-devel branch waits until -rc1/2 to create new branches. +# Finally the code handles the rebases in those cases where newer branches +# are available. +# +# Why the complexity? +# Development branches will need to be periodically rebased unfortunately. +# Using 'git rebase --onto ' only works with one common +# branch to rebase from not two. Meanwhile, the -devel branches are formed +# from two upstream branches, os-build and linux-rt-devel. The idea is +# to merge the two branches into a single throwaway branch that can be +# recreated from scratch anytime then use that as the base for -devel. + +set -e + +# source common CI functions and variables +# shellcheck disable=SC1091 +. "$(dirname "$0")"/ark-ci-env.sh + +#Upstream RT tree git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git +UPSTREAM_RT_TREE_URL="git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git" +UPSTREAM_RT_TREE_NAME="linux-rt-devel" +RT_DEVEL_BRANCH="os-build-rt-devel" +AUTOMOTIVE_DEVEL_BRANCH="os-build-automotive-devel" + +# verify git remote rt is setup +if ! git remote get-url "$UPSTREAM_RT_TREE_NAME" 2>/dev/null; then + die "Please 'git remote add linux-rt-devel $UPSTREAM_RT_TREE_URL'" +fi + +# grab the os-build base branches +ark_git_mirror "os-build" "origin" "os-build" +ark_git_mirror "master" "origin" "master" + +# make sure tags are available for git-describe to correctly work +git fetch -t origin + +# what are the current versions of rt-devel and os-build (use 'master' to +# avoid fedora tagging of kernel-X.Y.0.0.....) +# use git tags which are always 'vX.Y-rcZ-aaa-gbbbbb' or 'vX.Y-aaa-gbbbbb' +# where X.Y is the version number that maps to linux-rt's branch of +# 'linux-X.Y.y' +get_upstream_version() +{ + branch=$1 + upstream="master" + + # Thanks to pre-rc1 merging, we have a 2 week window with an + # incorrect version number. Detect and correct. + mergebase="$(git merge-base "$branch" "$upstream")" + raw_version="$(git describe "$mergebase")" + version="$(git show "$branch":Makefile | sed -ne '/^VERSION\ =\ /{s///;p;q}')" + patchlevel="$(git show "$branch":Makefile | sed -ne '/^PATCHLEVEL\ =\ /{s///;p;q}')" + rhelrel="$(git show "$branch":Makefile.rhelver | sed -ne '/^RHEL_RELEASE\ =\ /{s///;p;q}')" + kver="${version}.${patchlevel}" + + #-rc indicates no tricks necessary, return version + if echo "${raw_version}" | grep -q -- "-rc"; then + echo "$kver" + return + fi + + #must be a post tag release with -g but not -rcX, IOW an rc0. + if echo "${raw_version}" | grep -q -- "-g"; then + #Add a 1 to the version number + echo "${version}.$((patchlevel + 1))" + return + fi + + #if -gXXX is _not_ there, must be a GA release, but there are 2 GA releases: + #pre-rebase and post-rebase. + + #post-rebase resets the RHEL_RELEASE + #treat like the beginning of rc0 and bump version + #7 is arbituary and ties to a minimum of 7 RCs + if ((rhelrel < 7)); then + #Add a 1 to the version number + echo "${version}.$((patchlevel + 1))" + return + fi + + #pre-rebase + echo "$kver" +} + +# To handle missing branches, precalculate previous kernel versions to fetch +get_prev_version() +{ + version_str=$1 + + version="$(echo "$version_str" | cut -d'.' -f1)" + patchlevel="$(echo "$version_str" | cut -d'.' -f2)" + + echo "${version}.$((patchlevel - 1))" +} + +OS_BUILD_VER="$(get_upstream_version os-build)" +OS_BUILD_VER_prev="$(get_prev_version "$OS_BUILD_VER")" + +# upstream -rt devel branches are aligned with version numbers and are not +# always up to date with master. Figure out which branch to mirror based on +# version number and existance. We may have to trigger a rebase. + +# check latest upstream RT branch +OS_BUILD_PREV_BASE_BRANCH="origin/archived-${OS_BUILD_VER_prev}" +if git fetch -q "$UPSTREAM_RT_TREE_NAME" "linux-${OS_BUILD_VER}.y-rt"; then + UPSTREAM_RT_DEVEL_VER="${OS_BUILD_VER}" + OS_BUILD_BASE_BRANCH="os-build" +elif git fetch -q "$UPSTREAM_RT_TREE_NAME" "linux-${OS_BUILD_VER_prev}.y-rt"; then + UPSTREAM_RT_DEVEL_VER="${OS_BUILD_VER_prev}" + OS_BUILD_BASE_BRANCH="$OS_BUILD_PREV_BASE_BRANCH" +else + die "Neither version ($OS_BUILD_VER, $OS_BUILD_VER_prev) in upstream tree: $UPSTREAM_RT_TREE_NAME" +fi + +UPSTREAM_RT_PREV_BRANCH="" + +# verify the core branches exist or use provided defaults +UPSTREAM_RT_DEVEL_BRANCH="linux-${UPSTREAM_RT_DEVEL_VER}.y-rt" +ark_git_branch "$RT_DEVEL_BRANCH" "$OS_BUILD_BASE_BRANCH" +ark_git_branch "$AUTOMOTIVE_DEVEL_BRANCH" "$OS_BUILD_BASE_BRANCH" + +RT_DEVEL_VER="$(get_upstream_version $RT_DEVEL_BRANCH)" +AUTOMOTIVE_DEVEL_VER="$(get_upstream_version $AUTOMOTIVE_DEVEL_BRANCH)" + +# handle rebasing +if test "$UPSTREAM_RT_DEVEL_VER" != "$RT_DEVEL_VER" -o \ + "$UPSTREAM_RT_DEVEL_VER" != "$AUTOMOTIVE_DEVEL_VER"; then + + # we need the previous rt branch for rebase purposes + UPSTREAM_RT_PREV_BRANCH="linux-${OS_BUILD_VER_prev}.y-rt" + git fetch -q "$UPSTREAM_RT_TREE_NAME" "$UPSTREAM_RT_PREV_BRANCH" + + # handle the rebase + # rebases usually go from prev version to new version + # rebuild the prev merge base as it isn't saved. + # then rebuild the current merge base as it isn't saved either + prev_branch="$(git rev-parse --abbrev-ref HEAD)" + temp_prev_branch="_temp_prev_rt_devel_$(date +%F)" + git branch -D "$temp_prev_branch" 2>/dev/null || true + git fetch "$UPSTREAM_RT_TREE_NAME" "$UPSTREAM_RT_PREV_BRANCH" + git checkout -b "$temp_prev_branch" "$OS_BUILD_PREV_BASE_BRANCH" + msg="Merge branch $UPSTREAM_RT_TREE_NAME/$UPSTREAM_RT_PREV_BRANCH" + git merge -m "$msg" "$UPSTREAM_RT_TREE_NAME/$UPSTREAM_RT_PREV_BRANCH" + + # create devel merge branch to base merge on. + temp_devel_branch="_temp_devel_rt_devel_$(date +%F)" + git branch -D "$temp_devel_branch" 2>/dev/null || true + git checkout -b "$temp_devel_branch" "$OS_BUILD_BASE_BRANCH" + msg="Merge branch $UPSTREAM_RT_TREE_NAME/$UPSTREAM_RT_DEVEL_BRANCH" + git merge -m "$msg" "$UPSTREAM_RT_TREE_NAME/$UPSTREAM_RT_DEVEL_BRANCH" + + git checkout "$prev_branch" + # do the git rebase --onto $temp_devel_branch $temp_prev_branch + prev_rt_branch="$(git rev-parse $RT_DEVEL_BRANCH)" + + # rt-devel branch AUTOMATIC config merges will conflict with + # os-build AUTOMATIC merges if -stable makes changes. Filter them + # out and let them properly come in through os-build. + # The conflicts are in the text sections of pending-fedora/rhel + # configs. + export GIT_SEQUENCE_EDITOR="sed -i '/AUTOMATIC/d;/Remove rt pending/d'" + ark_git_rebase "$RT_DEVEL_BRANCH" "$temp_prev_branch" "$temp_devel_branch" + + # use the pre-rebase rt-devel branch and the post-rebase rt-devel + # branch as input to git rebase + ark_git_rebase "$AUTOMOTIVE_DEVEL_BRANCH" "$prev_rt_branch" "$RT_DEVEL_BRANCH" + git branch -D "$temp_prev_branch" + git branch -D "$temp_devel_branch" + export -n "GIT_SEQUENCE_EDITOR" + + # allow force git push + export ARK_REBASE="true" +fi + +## Build -rt-devel branch, generate pending-rhel configs +ark_git_merge "$RT_DEVEL_BRANCH" "$OS_BUILD_BASE_BRANCH" +ark_git_merge "$RT_DEVEL_BRANCH" "$UPSTREAM_RT_TREE_NAME/$UPSTREAM_RT_DEVEL_BRANCH" +# don't care if configs were added or not hence '|| true' +ark_update_configs "$RT_DEVEL_BRANCH" || true +# skip pushing config update MRs, keep them in pending-rhel +ark_push_changes "$RT_DEVEL_BRANCH" "skip" + +## Build -automotive-devel branch based on the rt-devel branch, generate +## pending-rhel configs +ark_git_merge "$AUTOMOTIVE_DEVEL_BRANCH" "$RT_DEVEL_BRANCH" +# don't care if configs were added or not hence '|| true' +ark_update_configs "$AUTOMOTIVE_DEVEL_BRANCH" || true +# skip pushing config update MRs, keep them in pending-rhel +ark_push_changes "$AUTOMOTIVE_DEVEL_BRANCH" "skip" diff --git a/ciq/scripts/ci/ark-update-configs.sh b/ciq/scripts/ci/ark-update-configs.sh new file mode 100755 index 0000000000000..b2dae85c68d4e --- /dev/null +++ b/ciq/scripts/ci/ark-update-configs.sh @@ -0,0 +1,96 @@ +#!/bin/bash +# +# This script is intended to regularly update the $BRANCH branch with the latest +# configuration options from upstream. It merges the given reference into +# $BRANCH, adds all new configuration symbols to the pending/ config directory, +# and creates a branch for each new config group. +# +# Arguments: +# 1) The git object to merge into $BRANCH. This should be something from +# Linus's master branch, usually either a tag such as v5.5-rc3 or just +# linus/master. The default is "master". +# 2) The Gitlab project ID to file issues against. See the project page on +# Gitlab for the ID. For example, https://gitlab.com/cki-project/kernel-ark/ +# is project ID 13604247. The default is "13604247". + +set -e + +# source common CI functions and variables +# shellcheck disable=SC1091 +. "$(dirname "$0")"/ark-ci-env.sh + +finish() +{ + # shellcheck disable=SC2317 + rm "$TMPFILE" +} +trap finish EXIT + +TMPFILE=".push-warnings" +touch $TMPFILE + +git checkout "${BRANCH}" +if ! git merge -m "Merge '$UPSTREAM_REF' into '$BRANCH'" "$UPSTREAM_REF"; then + git merge --abort + printf "Merge conflict; halting!\n" + die "Merge conflicts" +fi + +# Generates and commits all the pending configs + +make FLAVOR=fedora dist-configs-commit +# Skip executing gen_config_patches.sh for new Fedora configs + +old_head="$(git rev-parse HEAD)" +make FLAVOR=rhel dist-configs-commit +new_head="$(git rev-parse HEAD)" + +# check for config mismatches after setting configs in the commit step above +make dist-configs-check || die "Config mismatch detected" + +# Converts each new pending config from above into its finalized git +# configs// branch. These commits are used for Merge +# Requests. +[ "$old_head" != "$new_head" ] && CONFIGS_ADDED="1" || CONFIGS_ADDED="" + +if test "$CONFIGS_ADDED"; then + ./redhat/scripts/genspec/gen_config_patches.sh "${BRANCH}" + PUSH_VERB="Pushing" +else + printf "No new configuration values exposed from merging %s into $BRANCH\n" "$UPSTREAM_REF" + PUSH_VERB="To push" +fi + +echo +PUSH_STR="branch ${BRANCH} to ${GITLAB_PROJECT_URL}" +PUSH_CMD="git push gitlab ${BRANCH}" +PUSH_CONFIG_STR="config update branches" +PUSH_CONFIG_CMD="for branch in \$(git branch | grep configs/${BRANCH}/\"\$(date +%F)\"); do + git push \\ + -o merge_request.create \\ + -o merge_request.target=\"$BRANCH\" \\ + -o merge_request.remove_source_branch \\ + gitlab \"\$branch\" 2>&1 | tee -a $TMPFILE +done +" + +#Push branch +echo "# $PUSH_VERB $PUSH_STR" +echo "$PUSH_CMD" +test "$TO_PUSH" && eval "$PUSH_CMD" + +#Push config branches if created +if test "$CONFIGS_ADDED"; then + echo + echo "# $PUSH_VERB $PUSH_CONFIG_STR" + echo "$PUSH_CONFIG_CMD" + test "$TO_PUSH" && eval "$PUSH_CONFIG_CMD" +fi + +# GitLab server side warnings do not fail git-push but leave verbose +# WARNING messages. Grep for those and consider it a script +# failure. Make sure all branches are pushed first as follow up +# git-pushes may succeed. +grep -q "remote:[ ]* WARNINGS" $TMPFILE && die "Server side warnings" + +exit 0 diff --git a/ciq/scripts/configdiff.sh b/ciq/scripts/configdiff.sh new file mode 100755 index 0000000000000..190a762085d9f --- /dev/null +++ b/ciq/scripts/configdiff.sh @@ -0,0 +1,165 @@ +#! /bin/bash + +RHCP=redhat/configs +RHCP_RHEL=$RHCP +WORK=.work +PACKAGE_NAME='kernel' # should come from Makefile.common + +die() +{ + echo "$1" + exit 1 +} + +get_configarch() +{ + # given a filename provide the for $RHCP_RHEL/pending-common/generic/ + # the supported arch is embedded in the filename, translate that + # to the srcarch used in the $RHCP_RHEL/pending-common/generic path. + file=$1 + + # make dist-configs-prep uses --.config + # the trick is to get the and filter it out + arch="${file/$PACKAGE_NAME-/}" + arch="${arch/-*/}" + + # translate arch + case $arch in + x86_64 ) echo "x86/x86_64" ;; + ppc64le ) echo "powerpc" ;; + s390x ) echo "s390x" ;; + aarch64 ) echo "arm/aarch64" ;; + riscv64 ) echo "riscv/riscv64" ;; + *) die "Unsupported arch $arch" ;; + esac +} + +find_conflicts() +{ + # create master array, duplicate entries should have matching values + # if they don't, we can't create a 'pending-common/generic/' entry. We will have to + # resort to a 'pending-common/generic/' entry instead. Print config options that + # have conflicting defaults. + /usr/bin/awk ' + + /is not set/ { + split($0, a, "#"); + split(a[2], b); + if (configs[b[1]] == "") { + configs[b[1]]="is not set"; + } else { + if (configs[b[1]] != "is not set") + print "configs[b[1]]" + } + } + + /=/ { + split($0, a, "="); + if (configs[a[1]] == "") { + configs[a[1]]=a[2]; + } else { + if (configs[a[1]] != a[2]) + print "configs[a[1]]" + } + } + # punt all arch specific stuff to the directory + /CONFIG_X86/ || /CONFIG_PPC/ || /CONFIG_ARM/ || /CONFIG_S390/ || /CONFIG_RISCV/ + + ' $WORK/kernel*.config +} + +save_defaults() +{ + conflicts=$1 + + echo "Saving config defaults" + + # write shared config values to $RHCP_RHEL/pending-common/generic + # combine all configs and filter out conflicts, then unique sort them + # this avoids the duplicate configs from each kernel*.config file. + # With conflicts filtered out, all files should be new. + cat $WORK/kernel*.config | grep -v -f "$conflicts" | sort -u > $WORK/.configs + while read -r config + do + file="$(echo "$config" | cut -f1 -d '=')" + path="$RHCP_RHEL/pending-common/generic/$file" + + # translate the =n to 'is not set' + if [[ "$config" = *"=n" ]] + then + value="# $file is not set" + else + value="$config" + fi + + # normal path + test ! -e "$path" && echo "$value" > "$path" && continue + + # Existing files should come from newly invalid config values + # if so, let's find and overwrite all instances of it + paths="$(find $RHCP_RHEL -name "$file")" + for path in $paths + do + # special case, anything not set, don't overwrite, keep disabled. + # a disabled config option is never invalid + grep -q 'is not set' "$path" && continue + + echo "$value" > "$path" + done + + done < $WORK/.configs + + # write conflicting config values to $RHCP_RHEL/pending-common/generic/arch + for f in "$WORK"/kernel*.config + do + grep -f "$conflicts" "$f" > $WORK/.configs + test ! -s $WORK/.configs && continue + arch="$(get_configarch "$(basename "$f")")" || die "$arch" + + while read -r config + do + file="$(echo "$config" | cut -f1 -d '=')" + path="$RHCP_RHEL/pending-common/generic/$arch/$file" + + # translate the =n to 'is not set' + if [[ "$config" = *"=n" ]] + then + value="# $file is not set" + else + value="$config" + fi + + echo "$value" > "$path" + done < $WORK/.configs + done +} + +generate_rh_config() +{ + echo "Generating rh_config diffs" + rm -rf $WORK + mkdir $WORK + + # generate the new config options + # invalid config values are handle inherently here because the kconf tool + # spits them out as new configs + for f in "$RHCP"/kernel*.config + do + echo "Working on $f" + + cp "$f" .config + config="$(basename "$f")" + arch="$(head -1 "$f" | cut -b 3-)" || die "$arch" + + make ARCH="$arch" listnewconfig 2>/dev/null | grep -E 'CONFIG_' | cut -d'#' -f1 > $WORK/"$config" + done + + # check for conflicting default config values + find_conflicts > $WORK/.conflicts + save_defaults "$WORK/.conflicts" + + rm -rf $WORK +} + +make dist-configs-prep > /dev/null || die "Failed make dist-prep" +generate_rh_config diff --git a/ciq/scripts/create-tarball.sh b/ciq/scripts/create-tarball.sh new file mode 100755 index 0000000000000..8a33a4b646ccf --- /dev/null +++ b/ciq/scripts/create-tarball.sh @@ -0,0 +1,34 @@ +#!/bin/sh + +# shellcheck disable=SC2153 +[ "$DISTRO" != "fedora" ] && _GITID="$GITID" || _GITID="$MARKER" + +# shellcheck disable=SC1083 +XZ_THREADS="--threads $RHJOBS" + +ARCH=$(arch) +XZ_OPTIONS="" + +# convert from shortened git sha to standard 40 digit git sha +_GITID="$(git rev-parse "$_GITID")" + +if [ "$ARCH" != "x86_64" ] +then + XZ_OPTIONS="-M 3G" +fi + +if [ -f "$TARBALL" ]; then + TARID=$(xzcat -qq "$TARBALL" | git get-tar-commit-id 2>/dev/null) + if [ "$_GITID" = "$TARID" ]; then + echo "$(basename "$TARBALL") unchanged..." + exit 0 + fi + rm -f "$TARBALL" +fi + +echo "Creating $(basename "$TARBALL")..." +trap 'rm -vf "$TARBALL"' INT +# XZ_OPTIONS and XZ_THREADS DEPEND on word splitting, so don't disable it here: +# shellcheck disable=SC2086 +cd ../ && + git archive --prefix="linux-$SPECTARFILE_RELEASE"/ --format=tar "$_GITID" | xz $XZ_OPTIONS $XZ_THREADS > "$TARBALL"; diff --git a/ciq/scripts/create_headers_tarball.sh b/ciq/scripts/create_headers_tarball.sh new file mode 100755 index 0000000000000..7e1f7e00d0f3d --- /dev/null +++ b/ciq/scripts/create_headers_tarball.sh @@ -0,0 +1,34 @@ +#!/bin/bash +# shellcheck disable=SC2035 +# shellcheck disable=SC2038 +# shellcheck disable=SC3044 +# This script is aimed at generating the headers from the kernel sources. + +set -e + +# ARCH_LIST below has the default list of supported architectures +# (the architectures names may be different from rpm, you list here the +# names of arch/ directories in the kernel sources) +ARCH_LIST="arm arm64 powerpc riscv s390 x86" + +headers_dir=$(mktemp -d) +trap 'rm -rf "$headers_dir"' SIGHUP SIGINT SIGTERM EXIT + +archs=${ARCH_LIST:-$(ls arch)} + +# Upstream rmeoved the headers_install_all target so do it manually +for arch in $archs; do + cd "$TOPDIR" + mkdir "$headers_dir/arch-$arch" + make ARCH="$arch" INSTALL_HDR_PATH="$headers_dir/arch-$arch" KBUILD_HEADERS=install headers_install +done +find "$headers_dir" \ + \( -name .install -o -name .check -o \ + -name ..install.cmd -o -name ..check.cmd \) | xargs rm -f + +TARBALL="$SOURCES/kernel-headers-$UPSTREAM_TARBALL_NAME.tar.xz" +pushd "$headers_dir" + tar -Jcf "$TARBALL" * +popd + +echo wrote "$TARBALL" diff --git a/ciq/scripts/cross-compile/download_cross.sh b/ciq/scripts/cross-compile/download_cross.sh new file mode 100755 index 0000000000000..b60841c8e8a88 --- /dev/null +++ b/ciq/scripts/cross-compile/download_cross.sh @@ -0,0 +1,54 @@ +#!/bin/bash +# +# Download and install cross-compile tools if necessary. If there is +# a cross-compiler already in the path, assume all is ready and there +# is nothing to do. +# +# In some cases, it may be necessary to download & install the latest +# EPEL7 repo information to get to the right packages. +# +# Argument(s) to this script is a list of rpm names to install. If there +# is a value for the environment variable ARCH, we will use that, too. + +# if there's already a cross-compiler specified, assume we're done +if [ "$ARCH" ]; then + if [ "$CROSS_COMPILE" ]; then + crossbin=$(whereis -b "$CROSS_COMPILE"gcc | cut -d: -f2 | cut -d' ' -f2) + if [ "$crossbin" ]; then + echo "Using $crossbin as the cross-compiler." + exit 0 + else + echo "Cross-compiler ${CROSS_COMPILE}gcc does not exist. Standard cross-compiler" + echo "packages will be used instead." + fi + fi +fi + +# if we're not root, all we can do now is see what's installed +if [ "$(whoami)" != "root" ]; then + echo "Checking for RHEL/Centos Stream cross compile packages. If this fails, run \"make dist-cross-download\" as root." + if rpm -q "$@" >& /dev/null; then + echo "Compilers found." + exit 0 + else + echo "FAIL: Some packages are missing." + exit 1 + fi +fi + +# if everything is installed then exit successfully +rpm -q "$@" && exit 0 + +# install epel-release if necessary +dnf -y install /usr/lib/rpm/redhat/dist.sh + +if [ -x /usr/lib/rpm/redhat/dist.sh ]; then + dist=$(/usr/lib/rpm/redhat/dist.sh) + # shellcheck disable=SC2081 + [ "$dist" == el* ] && dnf -y install epel-release +fi + +# install list of rpms for cross compile +yum -y install "$@" + +exit 0 diff --git a/ciq/scripts/cross-compile/generate-cross-report.sh b/ciq/scripts/cross-compile/generate-cross-report.sh new file mode 100755 index 0000000000000..ca47543c71cf7 --- /dev/null +++ b/ciq/scripts/cross-compile/generate-cross-report.sh @@ -0,0 +1,63 @@ +#!/bin/bash +# +# This script is called by the cross compile targets in redhat/Makefile.cross. +# The script outputs information for use by the maintainers to confirm that +# a build was completed. The script output should be placed in the 0/1 header +# patch of a patch submission on RHKL. +# + +echo "===============================================================================" +echo " CROSS COMPILE REPORT" +echo "===============================================================================" +echo "For patch submissions, this text must be cut-and-pasted into patch 0/1." +# satisfy patch verification scripts with a Build info line +echo "Build info: Cross compiled" +echo -n "Date: " +date + +# Note, there is no guarantee that this environment is pristine. +echo -n "Build OS: " +cat /etc/redhat-release + +# System name +echo -n "System name: " +HOSTNAME=$(hostname) + +if [ -e ~/.rpmmacros ]; then + if grep -q smp_mflags ~/.rpmmacros; then + smpflags=$(awk -F " " ' { print $2 } ' ~/.rpmmacros ) + echo "$HOSTNAME with $smpflags" + fi +else + echo "$HOSTNAME" +fi + +# Last known tag +lasttag=$(git describe --abbrev=0 --tags) +echo "Built on: $lasttag" + +# Arches built? +# would have to be passed in on command line as string? +echo -n "Arch built: " +echo "$1" + +# Was CROSS_COMPILE set to use non-standard compilers? +if [ "$CROSS_COMPILE" ]; then + crossbin=$(whereis -b "$CROSS_COMPILE"gcc | cut -d: -f2 | cut -d' ' -f2) + echo "===============================================================================" + echo "For patch submissions, use only supported cross-compilers for testing." + echo "CROSS_COMPILE set to: $CROSS_COMPILE" +else + crossbin=$(whereis -b "$1"-linux-gnu-gcc | cut -d: -f2 | cut -d' ' -f2) +fi +test -x "$crossbin" && echo "Cross-compiler used: $crossbin" + + +echo "===============================================================================" +echo "For patch submissions this can optionally be included to show the changes" +echo "that were compiled into the tree." +echo "diffstat output (relative to $lasttag)" +git diff "$lasttag" | diffstat + +echo "===============================================================================" +echo "===============================================================================" diff --git a/ciq/scripts/cross-compile/x86_rngd.sh b/ciq/scripts/cross-compile/x86_rngd.sh new file mode 100755 index 0000000000000..b67f113855531 --- /dev/null +++ b/ciq/scripts/cross-compile/x86_rngd.sh @@ -0,0 +1,14 @@ +#!/bin/bash +# +# this script is a helper script for i686 and x86_64 builds. It gets the +# random number generator running. + +echo -n "Trying hardware random number generator ..." +if ! rngd -r /dev/hwrandom >& /dev/null; then + echo "failed" + # try the pseudo-random number generator + echo "Using pseudo-random number instead" + rngd -r /dev/urandom >& /dev/null +else + echo "succeeded" +fi diff --git a/ciq/scripts/expand_srpm.sh b/ciq/scripts/expand_srpm.sh new file mode 100755 index 0000000000000..5992e9116fa22 --- /dev/null +++ b/ciq/scripts/expand_srpm.sh @@ -0,0 +1,28 @@ +#!/bin/sh + +die() { + echo "Error: $1" >&2 + exit 1 +} + +# $1: cloned tree +cloned="$1" + +# Avoid accidental "rm *" in the root directory +test "$cloned" || die "$1 is not given" +test "$SPECPACKAGE_NAME" || die "$SPECPACKAGE_NAME is not set" + +cd "$cloned/$SPECPACKAGE_NAME" || die "\"$cloned\" doesn't seem to have a dist-git clone" + +# delete everything in the cloned tree to avoid having stale files +rm -r -- * + +git reset HEAD -- sources +git checkout sources +echo "*.xz" > .gitignore +echo "*.bz2" >> .gitignore + +# expand the srpm into the tree +rpm2cpio "$SRPM" | cpio -idmv + +git add -A diff --git a/ciq/scripts/fedora/BugsFixed b/ciq/scripts/fedora/BugsFixed new file mode 100644 index 0000000000000..4cbc625b780fb --- /dev/null +++ b/ciq/scripts/fedora/BugsFixed @@ -0,0 +1 @@ +On Rebase: diff --git a/ciq/scripts/fedora/fedora-stable-release.sh b/ciq/scripts/fedora/fedora-stable-release.sh new file mode 100755 index 0000000000000..f3295f37e628d --- /dev/null +++ b/ciq/scripts/fedora/fedora-stable-release.sh @@ -0,0 +1,43 @@ +#!/bin/bash + +# shellcheck disable=all + +releasenum=$1 + +# Releasenum is really just the last digit as we have series based on Fedora Release +# by default we assume 0, but if you need to do a rebuild with a fix before a new release +# you can call the script with a 1 or whatever digit you wish for the releasenum. +if [ -z "$releasenum" ]; then + releasenum="0" +fi + +klist -s +if [ ! $? -eq 0 ]; then + echo "klist couldn't read the credential cache." + echo "Do you need to fix your kerberos tokens?" + exit 1 +fi + + +# Occasionally we have a patch which needs to be applied only to a specific +# Fedora release for whatever reason. If this is the case, we can set +# ApplyPatches="1" under that releases case switch and we will apply any +# patches from redhat/patches for that release only. +ApplyPatches="0" + +for release in $( cat redhat/release_targets ); do + case "$release" in + 40) build=30$releasenum + ;; + 39) build=20$releasenum + ;; + 38) build=10$releasenum + ;; + esac + if [[ $ApplyPatches == "1" ]] ; then + for patch in redhat/patches/* ; do patch -p1 < $patch ; done + fi + make IS_FEDORA=1 DIST=".fc$release" BUILDID="" BUILD=$build RHDISTGIT_BRANCH=f$release dist-git; + sleep 60; + git checkout . +done diff --git a/ciq/scripts/fedora/filter-tools/x86_allow/x86_accel_allow b/ciq/scripts/fedora/filter-tools/x86_allow/x86_accel_allow new file mode 100644 index 0000000000000..1a3444e39c3c6 --- /dev/null +++ b/ciq/scripts/fedora/filter-tools/x86_allow/x86_accel_allow @@ -0,0 +1,22 @@ +{ +"name":"iio_accel", +"driver_path":"drivers/iio/accel/", +"redhat_config_path":"redhat/configs/fedora/generic", +"redhat_x86_config_path":"redhat/configs/fedora/generic/x86", +"allow_list":[ +"CONFIG_BMC150_ACCEL_I2C", +"CONFIG_DA280", +"CONFIG_HID_SENSOR_ACCEL_3D", +"CONFIG_KXCJK1013", +"CONFIG_MMA7660", +"CONFIG_MMA8452", +"CONFIG_MXC4005", +"CONFIG_MXC6255", +"CONFIG_IIO_ST_ACCEL_I2C_3AXIS", +"CONFIG_IIO_ST_ACCEL_3AXIS", +"CONFIG_IIO_CROS_EC_ACCEL_LEGACY", +"CONFIG_BMC150_ACCEL" +], +"commit_title":"Disable accel drivers for Fedora x86", +"commit_msg":"Disable the following accel drivers because they are not used on any x86 boards.\n{{ config_list }}" +} diff --git a/ciq/scripts/fedora/filter-tools/x86_disable_unused_drivers.py b/ciq/scripts/fedora/filter-tools/x86_disable_unused_drivers.py new file mode 100755 index 0000000000000..173928eabd612 --- /dev/null +++ b/ciq/scripts/fedora/filter-tools/x86_disable_unused_drivers.py @@ -0,0 +1,199 @@ +#!/usr/bin/python3 + +# x86_disable_unused_drivers.py allow_list_file +# +# Automatically disable the driver which is not required by x86. +# +# Usage: +# 1. Create a JSON file in redhat/scripts/filter-tools/x86_allow folder. +# 2. Switch to the root of the kernel source tree and run the script. +# +# Example: +# $redhat/scripts/filter-tools/x86_disable_unused_drivers.py redhat/scripts/filter-tools/x86_allow/x86_accel_allow + +import argparse +import jinja2 +import json +import sys +import os +import re +import shutil + +from git import Repo +from git import config +from git import Git + +''' +The allow list files are placed in redhat/scripts/x86_allow folder. +The config file in x86 folder is used to disable the driver and +the example in JSON format is shown below: + +{ + "name": "iio_accel", + "driver_path": "drivers/iio/accel/", + "redhat_config_path": "redhat/configs/fedora/generic", + "redhat_x86_config_path": "redhat/configs/fedora/generic/x86", + "allow_list": ["CONFIG_BMC150_ACCEL_I2C", + "CONFIG_DA280", + "CONFIG_HID_SENSOR_ACCEL_3D", + "CONFIG_KXCJK1013", + "CONFIG_MMA7660", + "CONFIG_MMA8452", + "CONFIG_MXC4005", + "CONFIG_MXC6255", + "CONFIG_IIO_ST_ACCEL_I2C_3AXIS", + "CONFIG_IIO_ST_ACCEL_3AXIS", + "CONFIG_BMC150_ACCEL" + ], + "commit_title": "Disable drivers for Fedora x86", + "commit_msg": "Disable the driver because the driver is not used on any x86 boards and listed below:\n\n{{ config_list }}" +} + +{{ config_list }} is list of disabled config name and it will replaced by Jinja. + +''' + +class GitManager: + def __init__(self, teardown=False): + self.teardown = teardown + self.environment = jinja2.Environment() + + try: + path = os.getcwd() + self.repo = Repo(path) + self.git_obj = Git(path) + except Exception as e: + print(e) + sys.exit(1) + + # switch to working branch + try: + branch = self.repo.active_branch + self.base_branch = branch.name + self.repo.git.checkout(b="wip/driver/x86_auto_disable") + except Exception as e: + print(e) + sys.exit(1) + + def commit_patch(self, redhat_config_x86_path:str, files:list, + commit_title:str, commit_template:str): + last_commit = None + + # get the last commit of the repo + for commit in self.repo.iter_commits(): + last_commit = commit + break + + for file in files: + self.repo.index.add([os.path.join(redhat_config_x86_path, file)]) + + template = self.environment.from_string(commit_template) + file_names = ''.join([file + '\n' for file in files]) + replaced_msg = template.render(config_list=file_names) + + commit_msg = ("{}\n\n" + "{}".format(commit_title, + replaced_msg)) + self.repo.index.commit(commit_msg) + + git_path = shutil.which("git") + self.git_obj.execute([git_path, "commit", "--amend", "--signoff", "--no-edit"]) + self.git_obj.execute([git_path, "format-patch", last_commit.hexsha]) + + def teardown_branch(self): + self.repo.git.checkout(self.base_branch) + self.repo.git.branch("-D", "wip/driver/unused_iio_accel") + +def disable_driver(file:str, redhat_config_path:str, redhat_x86_config_path:str): + valid = re.compile(file+"=m|y") + with open(os.path.join(redhat_config_path, file), "r+") as f: + lines = f.readlines() + # match the first line of the config. + # if the config is set, we create a CONFIG_ file in x86 folder + # to disable the driver. + if valid.match(lines[0]): + with open(os.path.join(redhat_x86_config_path, file), "w") as x86: + x86.write("# "+file+" is not set\n") + +def get_kconfig(driver_path:str, redhat_config_path:str): + config_list = [] + + valid = re.compile("^config [A-Z0-9]+(_[A-Z0-9]*)*") + with open(os.path.join(driver_path, "Kconfig")) as f: + config = f.readlines() + for line in config: + if valid.match(line): + config_list.append("CONFIG_"+line[7:-1]) + + print("Kconfig are found in {}:".format(driver_path)) + for file in config_list: + if os.path.isfile(os.path.join(redhat_config_path, file)): + print(file) + + return config_list + +def is_required(file, allow_list): + if file in allow_list: + return True + else: + return False + +def config_clean(gitobj, driver_path:str, redhat_config_path:str, + x86_redhat_config_path:str, allow_list:list, + commit_title:str, commit_template:str): + kconfig = get_kconfig(driver_path, redhat_config_path) + file_list = [] + + print("Start to scan the config files.") + for file in os.listdir(redhat_config_path): + if os.path.isfile(os.path.join(redhat_config_path, file)) and file in kconfig: + if is_required(file, allow_list) == False: + print("{} is not required.".format(file)) + disable_driver(file, redhat_config_path, x86_redhat_config_path) + file_list.append(file) + + gitobj.commit_patch(x86_redhat_config_path, file_list, commit_title, commit_template) + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("file_name", help="The allow list file name") + parser.add_argument("--teardown", + help="Delete the working branch (wip/driver/unused_iio_accel)", + action="store_true") + args = parser.parse_args() + + gitobj = GitManager(args.teardown) + + file = args.file_name + name = None + driver_path = None + redhat_config_path = None + redhat_x86_config_path = None + allow_list = None + with open(file, "r") as json_file: + try: + json_data = json.load(json_file) + name = json_data.get("name") + driver_path = json_data.get("driver_path") + redhat_config_path = json_data.get("redhat_config_path") + redhat_x86_config_path = json_data.get("redhat_x86_config_path") + allow_list = json_data.get("allow_list") + commit_title = json_data.get("commit_title") + commit_msg = json_data.get("commit_msg") + print("Driver catalog name: {}".format(name)) + print("Driver path: {}".format(driver_path)) + print("Red Hat config path: {}".format(redhat_config_path)) + print("Red Hat x86 config path: {}".format(redhat_x86_config_path)) + except Exception as e: + print("Error: ignore incorrect allow file.") + + config_clean(gitobj, driver_path, redhat_config_path, + redhat_x86_config_path, allow_list, + commit_title, commit_msg) + + #teardown the working branch + if args.teardown: + gitobj.teardown_branch() + +if __name__ == "__main__": + main() diff --git a/ciq/scripts/fedora/release_targets b/ciq/scripts/fedora/release_targets new file mode 100644 index 0000000000000..7fdcbd16098fe --- /dev/null +++ b/ciq/scripts/fedora/release_targets @@ -0,0 +1,2 @@ +39 +38 diff --git a/ciq/scripts/filtermods-testdata/test1.dep b/ciq/scripts/filtermods-testdata/test1.dep new file mode 100644 index 0000000000000..ffa92dbf07473 --- /dev/null +++ b/ciq/scripts/filtermods-testdata/test1.dep @@ -0,0 +1,4 @@ +kernel/kmod1: +kernel/kmod2: kernel/kmod1 +kernel/kmod3: kernel/kmod2 +kernel/kmod4: diff --git a/ciq/scripts/filtermods-testdata/test1.yaml b/ciq/scripts/filtermods-testdata/test1.yaml new file mode 100644 index 0000000000000..5e13f3880688e --- /dev/null +++ b/ciq/scripts/filtermods-testdata/test1.yaml @@ -0,0 +1,20 @@ +packages: + - name: modules-core + depends-on: [] + - name: modules + depends-on: + - modules-core + - name: modules-extra + depends-on: + - modules-core + - name: rt-kvm + if_variant_in: ["rt"] + depends-on: + - modules-core + +rules: + - kmod[2]: modules-core + - kmod4: rt-kvm + if_variant_in: ["rt"] + - default: modules + diff --git a/ciq/scripts/filtermods-testdata/test2.dep b/ciq/scripts/filtermods-testdata/test2.dep new file mode 100644 index 0000000000000..a0edb5e96284e --- /dev/null +++ b/ciq/scripts/filtermods-testdata/test2.dep @@ -0,0 +1,8 @@ +kernel/kmod1: kernel/kmod3 kernel/kmod4 +kernel/kmod2: kernel/kmod3 kernel/kmod4 +kernel/kmod3: +kernel/kmod4: kernel/kmod5 +kernel/kmod5: +kernel/kmod6: kernel/kmod1 +kernel/kmod7: kernel/kmod6 +kernel/kmod8: kernel/kmod2 diff --git a/ciq/scripts/filtermods-testdata/test2.yaml b/ciq/scripts/filtermods-testdata/test2.yaml new file mode 100644 index 0000000000000..09ac7101e2d44 --- /dev/null +++ b/ciq/scripts/filtermods-testdata/test2.yaml @@ -0,0 +1,13 @@ +packages: + - name: modules-core + depends-on: [] + - name: modules + depends-on: + - modules-core + - name: modules-extra + depends-on: + - modules-core + +rules: + - kmod1: modules-extra + - kmod2: modules diff --git a/ciq/scripts/filtermods-testdata/test3.dep b/ciq/scripts/filtermods-testdata/test3.dep new file mode 100644 index 0000000000000..dfe805fff26ff --- /dev/null +++ b/ciq/scripts/filtermods-testdata/test3.dep @@ -0,0 +1,10 @@ +kernel/kmod0: kernel/kmod1 kernel/kmod2 kernel/kmod3 +kernel/kmod1: kernel/kmod4 kernel/kmod5 +kernel/kmod2: kernel/kmod5 +kernel/kmod3: kernel/kmod4 +kernel/kmod4: kernel/kmod5 kernel/kmod6 +kernel/kmod5: kernel/kmod6 +kernel/kmod6: +kernel/kmod7: kernel/kmod8 +kernel/kmod8: kernel/kmod9 +kernel/kmod9: diff --git a/ciq/scripts/filtermods-testdata/test3.yaml b/ciq/scripts/filtermods-testdata/test3.yaml new file mode 100644 index 0000000000000..95e4d048584ea --- /dev/null +++ b/ciq/scripts/filtermods-testdata/test3.yaml @@ -0,0 +1,14 @@ +packages: + - name: modules-core + depends-on: [] + - name: modules + depends-on: + - modules-core + - name: modules-extra + depends-on: + - modules-core + +rules: + - kmod4: modules-extra + - kmod2: modules + - default: modules-core diff --git a/ciq/scripts/filtermods-testdata/test4.dep b/ciq/scripts/filtermods-testdata/test4.dep new file mode 100644 index 0000000000000..dfe805fff26ff --- /dev/null +++ b/ciq/scripts/filtermods-testdata/test4.dep @@ -0,0 +1,10 @@ +kernel/kmod0: kernel/kmod1 kernel/kmod2 kernel/kmod3 +kernel/kmod1: kernel/kmod4 kernel/kmod5 +kernel/kmod2: kernel/kmod5 +kernel/kmod3: kernel/kmod4 +kernel/kmod4: kernel/kmod5 kernel/kmod6 +kernel/kmod5: kernel/kmod6 +kernel/kmod6: +kernel/kmod7: kernel/kmod8 +kernel/kmod8: kernel/kmod9 +kernel/kmod9: diff --git a/ciq/scripts/filtermods-testdata/test4.yaml b/ciq/scripts/filtermods-testdata/test4.yaml new file mode 100644 index 0000000000000..3306ba57b0326 --- /dev/null +++ b/ciq/scripts/filtermods-testdata/test4.yaml @@ -0,0 +1,22 @@ +packages: + - name: modules-core + depends-on: [] + - name: modules + depends-on: + - modules-core + - name: modules-extra + depends-on: + - modules-core + - name: modules-partner-core + depends-on: [] + - name: modules-partner + depends-on: + - modules-partner-core + - name: modules-partner2 + depends-on: + - modules-partner + +rules: + - kmod1: modules + - kmod8: modules-partner + - default: modules diff --git a/ciq/scripts/filtermods-testdata/test5.dep b/ciq/scripts/filtermods-testdata/test5.dep new file mode 100644 index 0000000000000..dfe805fff26ff --- /dev/null +++ b/ciq/scripts/filtermods-testdata/test5.dep @@ -0,0 +1,10 @@ +kernel/kmod0: kernel/kmod1 kernel/kmod2 kernel/kmod3 +kernel/kmod1: kernel/kmod4 kernel/kmod5 +kernel/kmod2: kernel/kmod5 +kernel/kmod3: kernel/kmod4 +kernel/kmod4: kernel/kmod5 kernel/kmod6 +kernel/kmod5: kernel/kmod6 +kernel/kmod6: +kernel/kmod7: kernel/kmod8 +kernel/kmod8: kernel/kmod9 +kernel/kmod9: diff --git a/ciq/scripts/filtermods-testdata/test5.yaml b/ciq/scripts/filtermods-testdata/test5.yaml new file mode 100644 index 0000000000000..fd75896795f20 --- /dev/null +++ b/ciq/scripts/filtermods-testdata/test5.yaml @@ -0,0 +1,18 @@ +packages: + - name: modules-core + depends-on: [] + - name: modules + depends-on: + - modules-core + - name: modules-extra + depends-on: + - modules-core + - name: modules-partner + depends-on: + - modules-core + +rules: + - kmod1: modules-extra + - kmod[12]: modules + - kmod[234]: modules-partner + - default: modules diff --git a/ciq/scripts/filtermods-testdata/test6.dep b/ciq/scripts/filtermods-testdata/test6.dep new file mode 100644 index 0000000000000..ffa92dbf07473 --- /dev/null +++ b/ciq/scripts/filtermods-testdata/test6.dep @@ -0,0 +1,4 @@ +kernel/kmod1: +kernel/kmod2: kernel/kmod1 +kernel/kmod3: kernel/kmod2 +kernel/kmod4: diff --git a/ciq/scripts/filtermods-testdata/test6.yaml b/ciq/scripts/filtermods-testdata/test6.yaml new file mode 100644 index 0000000000000..4e4fdc764cb7e --- /dev/null +++ b/ciq/scripts/filtermods-testdata/test6.yaml @@ -0,0 +1,17 @@ +packages: + - name: modules-core + depends-on: [] + - name: modules + depends-on: + - modules-core + - name: modules-extra + depends-on: + - modules-core + - name: modules-other + depends-on: [] + +rules: + - kmod[2]: modules-core + - kmod1: modules-other + - default: modules + diff --git a/ciq/scripts/filtermods-testdata/test7.dep b/ciq/scripts/filtermods-testdata/test7.dep new file mode 100644 index 0000000000000..ffa92dbf07473 --- /dev/null +++ b/ciq/scripts/filtermods-testdata/test7.dep @@ -0,0 +1,4 @@ +kernel/kmod1: +kernel/kmod2: kernel/kmod1 +kernel/kmod3: kernel/kmod2 +kernel/kmod4: diff --git a/ciq/scripts/filtermods-testdata/test7.yaml b/ciq/scripts/filtermods-testdata/test7.yaml new file mode 100644 index 0000000000000..e5823f8abe7d9 --- /dev/null +++ b/ciq/scripts/filtermods-testdata/test7.yaml @@ -0,0 +1,14 @@ +packages: + - name: modules-core + depends-on: [] + - name: modules + depends-on: + - modules-core + - name: modules-other + depends-on: + - modules-core + +rules: + - kmod3: modules-other + - default: modules + diff --git a/ciq/scripts/filtermods.adoc b/ciq/scripts/filtermods.adoc new file mode 100644 index 0000000000000..f562b4b16fe61 --- /dev/null +++ b/ciq/scripts/filtermods.adoc @@ -0,0 +1,263 @@ += filtermods.py(1) +:ext: adoc +:doctype: manpage + +== NAME +filtermods.py - filter kernel modules + +== DESCRIPTION +Filter/sort/allocate kmods into groups for packaging. Main use case for +the script is to run as part of kernel packaging scripts (e.g. kernel.spec) +to decide where each kmod should go (modules, modules-extra, etc.) + +While the tool gives a user flexibility in how yaml config is organized, +there are some best practices for configs used in kernel builds: + +* Make modules package the default +* Write as few rules for modules package as possible +* Keep the rule list alphabetical where possible + +*usage:* filtermods.py [-h] [-v] [-q] [-l LOG_FILENAME] {sort,rulemap,selftest,cmp2rpm} ... + +== Common command line options +These options apply to all subcommands. + +* -h / --help : display help +* -v / --verbose : increases stdout verbosity +* -q / --quiet : lowers stdout verbosity +* -l / --log-filename : name of the logfile which captures detailed logs (filtermods.log by default) + +== SUBCOMMANDS +=== sort +$ filtermods.py sort [-h] -c CONFIG -d DEPMOD [-o OUTPUT] [-r VARIANTS] [-g] + +Using modules.dep and yaml config as input, sort kmods into groups, +satisfy all rules and assign each kmod to a package, respect kmod +dependency relations, respect module dependency relations. + +This means, that if you install any combination of module packages, +all kmods dependencies have to be available as well - either directly +come from the package of one of packages it depends on. + +==== yaml config (-c option) +The yaml config describes module packages, their dependencies and rules +(or constraints) for kmods. + +* There are two main rule types: +** "wants" - rule is satisfied if kmod ends up in listed package + (or any package it depends on - meaning it can move + down in package hierarchy) +** "default" - specifies that all kmods which were not covered + by other rules (implicitly or explicitely) become + "wants" for listed package +* Rules are evaluated in order they appear in yaml config. +* Rules can be regexes to match multiple kmods. +* If multiple rules apply to a kmod, first one wins. +* It is not required to explicitely list all kmods or their dependencies. +* Rules can propagate transitively to children or parents of a kmod. + For example "kmod A" dependencies have to end up in a package, which is + in dependency chain of "kmod A"'s package (see example below). +* General rule format is: "kmod_regex: module_name" +* Packages and rules can be conditional (see 'if_variant_in' attribute below) + +Rule examples: + +---- +- drivers/base/.*(kunit|test).*: modules-internal +- drivers/net/amt.ko: modules-core +- fs/.*test.*: modules-internal +- net/appletalk/appletalk.*: modules-extra +- default: modules +---- + +==== depmod file (-d option) +This is file that describes kmod dependencies. It follows the format +of modules.dep (created by depmod), which you can find in +/lib/modules/$(uname -r)/ directory. + +==== output directory (-o option) +Directory where filtermods.py should store resulting package lists. +Filenames are derived from package names defined in yaml config. + +==== variants (-r option) +This option conditionally enables parts of config which are specific +to provided variants. A good example is -rt variant, which is 99% identical +to base kernel, with the exception of kvm subpackage. It's an alternative +to creating entirely new yaml config that would be 99% identical with base one. +Sample usage can be seen in `filtermods-testdata/test1.yaml`. + +==== graphviz (-g option) +For experiments and debugging it's handy to vizualize what's going on. +If you have graphviz installed, -g option will generate svg files +for initial and final states. These contain graphs representing +kmod and package relations. + +==== Example 1 +Let's take a look at first example with just 3 kmods. + +.example1.dep +[source,txt] +---- +kernel/drivers/input/joystick/iforce/iforce.ko.xz: +kernel/drivers/input/joystick/iforce/iforce-serio.ko.xz: kernel/drivers/input/joystick/iforce/iforce.ko.xz +kernel/drivers/input/joystick/iforce/iforce-usb.ko.xz: kernel/drivers/input/joystick/iforce/iforce.ko.xz +---- + +.example1.yaml +[source,yaml] +---- +packages: + - name: modules-core + depends-on: [] + - name: modules + depends-on: + - modules-core + - name: modules-extra + depends-on: + - modules-core + - modules + +rules: + - drivers/input/joystick/iforce/iforce.ko: modules-extra + - default: modules +---- + +In yaml config above we are saying 2 things: + 1. we want iforce.ko to be in modules-extra + 2. and any unassigned kmods to go to modules package (default bucket) + +---- +$ ./redhat/scripts/filtermods.py sort -c example1.yaml -d example1.dep -o . +... +06:10:44 INFO write_modules_lists: 772 Module list ./modules-core.list created with 0 kmods +06:10:44 INFO write_modules_lists: 772 Module list ./modules.list created with 0 kmods +06:10:44 INFO write_modules_lists: 772 Module list ./modules-extra.list created with 3 kmods +---- +Not surprisingly all kmods ended up in modules-extra package. That's because +iforce-serio.ko and iforce-usb.ko depend on iforce.ko. If they were in +modules-core or modules package, and modules-extra were not installed they +would be missing a dependency (iforce.ko). + +Now consider, we modify rules to: + +.example1.yaml +[source,yaml] +---- +... +rules: + - drivers/input/joystick/iforce/iforce.ko: modules-extra + - drivers/input/joystick/iforce/iforce-usb.ko: modules + - default: modules +---- + +This seems impossible at first look, but remember that these are +"soft rules". That means that kmod can end up in specified package +*or* any package it depends on. In other words, if those packages +are installed and kmod is available, that is considered as satisfying +rules as well. + +---- +$ ./redhat/scripts/filtermods.py sort -c example1.yaml -d example1.dep -o . +... +06:14:18 INFO print_report: 709 ************************** REPORT ************************** +06:14:18 INFO print_report: 745 iforce.ko: wanted by ['modules-extra'] but ended up in ['modules'] +06:14:18 INFO print_report: 747 has conflicting parent: iforce-serio.ko(modules), iforce-usb.ko(modules) +06:14:18 INFO print_report: 753 No. of kmod(s) assigned to preferred package: 2 +06:14:18 INFO print_report: 754 No. of kmod(s) moved to a related package: 1 +06:14:18 INFO print_report: 755 No. of kmod(s) which could not be assigned: 0 +06:14:18 INFO print_report: 756 ************************************************************ +06:14:18 INFO write_modules_lists: 772 Module list ./modules-core.list created with 0 kmods +06:14:18 INFO write_modules_lists: 772 Module list ./modules.list created with 3 kmods +06:14:18 INFO write_modules_lists: 772 Module list ./modules-extra.list created with 0 kmods +---- +What happened? We asked iforce-usb.ko to be in modules, but that would lead +to broken dependency with iforce.ko (in modules-extra). So the tool does the +next best thing, it moves iforce.ko to modules, and all kmods end up in modules +package. This move, to a "related" package is allowed for "soft rules". + +==== More examples +Have a look at filtermods-testdata directory for more examples. + +You can also run all self tests with -g option: +---- +$ filtermods.py selftest -g +---- +and then inspect generated test*_f.svg files to easily see what was input +and what the tool decided to do. + +=== rulemap +$ filtermods.py rulemap [-h] -c CONFIG -d DEPMOD [-r VARIANTS] + +Expand all rules and for each kmod print its desired module package name. +With complex yaml config rules it may be handy to double check that a specific +kmod is covered by correct rule. This doesn't do any sorting, it only prints +yaml config rules in expanded form. Since a kmod can be covered by multiple +rules and packages, this output is "what rule/package won for each kmod". + +---- +$ ./redhat/scripts/filtermods.py rulemap -c redhat/fedora_files/def_variants.yaml.fedora -d ~/tmp/modules.dep | grep 'kernel/drivers/block/' +modules-core kernel/drivers/block/aoe/aoe.ko.xz +modules-core kernel/drivers/block/brd.ko.xz +modules-core kernel/drivers/block/drbd/drbd.ko.xz +modules-extra kernel/drivers/block/floppy.ko.xz +modules-core kernel/drivers/block/loop.ko.xz +modules-core kernel/drivers/block/mtip32xx/mtip32xx.ko.xz +modules-core kernel/drivers/block/nbd.ko.xz +modules-core kernel/drivers/block/null_blk/null_blk.ko.xz +modules-core kernel/drivers/block/pktcdvd.ko.xz +modules-core kernel/drivers/block/rbd.ko.xz +modules kernel/drivers/block/rnbd/rnbd-client.ko.xz +modules kernel/drivers/block/rnbd/rnbd-server.ko.xz +modules-core kernel/drivers/block/ublk_drv.ko.xz +modules-core kernel/drivers/block/virtio_blk.ko.xz +modules-core kernel/drivers/block/xen-blkback/xen-blkback.ko.xz +modules-core kernel/drivers/block/xen-blkfront.ko.xz +modules-core kernel/drivers/block/zram/zram.ko.xz +---- + + +=== cmp2rpm +$ filtermods.py cmp2rpm [-h] -c CONFIG -k KMOD_RPMS + +Compare yaml config rules with kmod RPMs. This is a check that helps to review how +yaml config rules deviate from existing RPMs. It unpacks supplied RPMs and for +each kmod it compares where config would like this kmod to end up, with the +package name where it's present in existing RPMs. This is useful when creating +a new config from scratch and you want to see how is the config different from +existing RPMs. The alternative is to go through the build, and then compare old +and new RPMs. + +---- +$ mkdir ~/tmp/kernel-6.8.0-0.rc6.20240227git45ec2f5f6ed3.50.eln136 +$ cd ~/tmp/kernel-6.8.0-0.rc6.20240227git45ec2f5f6ed3.50.eln136 +$ koji download-build kernel-6.8.0-0.rc6.20240227git45ec2f5f6ed3.50.eln136 +$ cd - +$ ./redhat/scripts/filtermods.py cmp2rpm -c redhat/rhel_files/def_variants.yaml.rhel -k "$(ls -1 ~/tmp/kernel-6.8.0-0.rc6.20240227git45ec2f5f6ed3.50.eln136/*modules*.rpm)" +... +09:34:06 WARNIN do_rpm_mapping_test: 914 kmod kernel/lib/percpu_test.ko.xz wanted by config in ['modules-internal'], in tree it is: ['modules-core'] +... +---- + +=== selftest +$ filtermods.py selftest [-h] [-g] + +Run selftests using data from filtermods-testdata directory. + +== How does it work? +It is inspired by "label propagation algorithm". Each kmod keeps a +track of plausible packages that won't break the rules. Initially +only kmods mentioned in yaml config have these set. Then it +iterates over all kmods and traverses kmod's children and parents +and tries to refine set of plausible packages by removing ones +that would break any of the rules. + +.There are 3 phases: +1. Apply initial labels based on yaml config. +2. If some kmods satisfy rules for more than one package, + pick the preferred one specified by config "wants" rules. +3. If some kmods still satisfy rules for more than one package, + prefer one from default rule. + For all remaining (not yet assigned) kmods, try to use default rule. + +== AUTHOR +Jan Stancek diff --git a/ciq/scripts/filtermods.py b/ciq/scripts/filtermods.py new file mode 100755 index 0000000000000..fbfe56c5c1436 --- /dev/null +++ b/ciq/scripts/filtermods.py @@ -0,0 +1,1096 @@ +#!/usr/bin/env python3 +""" +filter kmods into groups for packaging, see filtermods.adoc +""" + +import argparse +import os +import re +import subprocess +import sys +import yaml +import unittest + +from logging import getLogger, DEBUG, INFO, WARN, ERROR, CRITICAL, NOTSET, FileHandler, StreamHandler, Formatter, Logger +from typing import Optional + +log = getLogger('filtermods') + + +def get_td(filename): + script_dir = os.path.dirname(os.path.realpath(__file__)) + return os.path.join(script_dir, 'filtermods-testdata', filename) + + +def run_command(cmd, cwddir=None): + p = subprocess.Popen(cmd, cwd=cwddir, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) + out, err = p.communicate() + out_str = out.decode('utf-8') + err_str = err.decode('utf-8') + return p.returncode, out_str, err_str + + +def safe_run_command(cmd, cwddir=None): + log.info('%s', cmd) + retcode, out, err = run_command(cmd, cwddir) + if retcode != 0: + log.warning('Command failed: %s, ret_code: %d', cmd, retcode) + log.warning(out) + log.warning(err) + raise Exception(err) + log.info(' ^^[OK]') + return retcode, out, err + + +def setup_logging(log_filename, stdout_log_level): + log_format = '%(asctime)s %(levelname)7.7s %(funcName)20.20s:%(lineno)4s %(message)s' + log = getLogger('filtermods') + log.setLevel(DEBUG) + + handler = StreamHandler(sys.stdout) + formatter = Formatter(log_format, '%H:%M:%S') + handler.setFormatter(formatter) + handler.setLevel(stdout_log_level) + log.addHandler(handler) + log.debug('stdout logging on') + + if log_filename: + file_handler = FileHandler(log_filename, 'w') + file_handler.setFormatter(formatter) + file_handler.setLevel(DEBUG) + log.addHandler(file_handler) + log.info('file logging on: %s', log_filename) + + return log + + +def canon_modname(kmod_pathname: str) -> str: + name = os.path.basename(kmod_pathname) + if name.endswith('.xz'): + name = name[:-3] + return name + + +class HierarchyObject: + def __init__(self): + self.depends_on = set() + + +def get_topo_order(obj_list: list[HierarchyObject], func_get_linked_objs=lambda x: x.depends_on) -> list[HierarchyObject]: + topo_order = [] + objs_to_sort = set(obj_list) + objs_sorted = set() + + while len(objs_to_sort) > 0: + no_deps = set() + for obj in objs_to_sort: + linked = func_get_linked_objs(obj) + if not linked: + no_deps.add(obj) + else: + all_deps_sorted = True + for dep in linked: + if dep not in objs_sorted: + all_deps_sorted = False + break + if all_deps_sorted: + no_deps.add(obj) + + for obj in no_deps: + topo_order.append(obj) + objs_sorted.add(obj) + objs_to_sort.remove(obj) + + return topo_order + + +class KMod(HierarchyObject): + def __init__(self, kmod_pathname: str) -> None: + super(KMod, self).__init__() + self.name: str = canon_modname(kmod_pathname) + self.kmod_pathname: str = kmod_pathname + self.is_dependency_for: set[KMod] = set() + self.assigned_to_pkg: Optional[KModPackage] = None + self.preferred_pkg: Optional[KModPackage] = None + self.rule_specifity: int = 0 + self.allowed_list: Optional[set[KModPackage]] = None + self.err = 0 + + def __str__(self): + depends_on = '' + for kmod in self.depends_on: + depends_on = depends_on + ' ' + kmod.name + return '%s {%s}' % (self.name, depends_on) + + +class KModList(): + def __init__(self) -> None: + self.name_to_kmod_map: dict[str, KMod] = {} + self.topo_order: Optional[list[KMod]] = None + + def get(self, kmod_pathname, create_if_missing=False): + kmod_name = canon_modname(kmod_pathname) + if kmod_name in self.name_to_kmod_map: + return self.name_to_kmod_map[kmod_name] + if not create_if_missing: + return None + + kmod = KMod(kmod_pathname) + # log.debug('Adding kmod %s (%s) to list', kmod.name, kmod.kmod_pathname) + if kmod.kmod_pathname != kmod_pathname: + raise Exception('Already have %s, but path changed? %s', kmod_name, kmod_pathname) + if not kmod.name: + raise Exception('Each kmod needs a name') + self.name_to_kmod_map[kmod_name] = kmod + return kmod + + def process_depmod_line(self, line): + tmp = line.split(':') + if len(tmp) != 2: + raise Exception('Depmod line has unexpected format: %s', line) + kmod_pathname = tmp[0].strip() + dependencies_pathnames = tmp[1].strip() + kmod = self.get(kmod_pathname, create_if_missing=True) + + if dependencies_pathnames: + for dep_pathname in dependencies_pathnames.split(' '): + dep_kmod = self.get(dep_pathname, create_if_missing=True) + kmod.depends_on.add(dep_kmod) + dep_kmod.is_dependency_for.add(kmod) + + def load_depmod_file(self, filepath): + with open(filepath) as f: + lines = f.readlines() + for line in lines: + if not line or line.startswith('#'): + continue + self.process_depmod_line(line) + log.info('depmod %s loaded, number of kmods: %s', filepath, len(self.name_to_kmod_map)) + + def dump(self): + for kmod in self.name_to_kmod_map.values(): + print(kmod) + + def get_topo_order(self): + if self.topo_order is None: + self.topo_order = get_topo_order(self.name_to_kmod_map.values()) + # TODO: what if we add something after? + return self.topo_order + + def get_alphabetical_order(self): + kmods = list(self.name_to_kmod_map.values()) + kmods.sort(key=lambda k: k.kmod_pathname) + return kmods + + def load_kmods_from_dir(self, topdir): + ret = [] + for root, dirs, files in os.walk(topdir): + for filename in files: + if filename.endswith('.xz'): + filename = filename[:-3] + if filename.endswith('.ko'): + kmod_pathname = os.path.join(root, filename) + ret.append(kmod_pathname) + + return ret + + def check_depmod_has_all_kmods(self, dirpath): + ret = self.load_kmods_from_dir(dirpath) + for kmod_pathname in ret: + kmod = self.get(kmod_pathname) + if not kmod: + raise Exception('Could not find kmod %s in depmod', kmod_pathname) + log.debug('OK: all (%s) kmods from %s are known', len(ret), dirpath) + + +class KModPackage(HierarchyObject): + def _get_depends_on(pkg): + return pkg.depends_on + + def _get_deps_for(pkg): + return pkg.is_dependency_for + + def __init__(self, name: str, depends_on=[]) -> None: + self.name: str = name + self.depends_on: set[KModPackage] = set(depends_on) + self.is_dependency_for: set[KModPackage] = set() + + for pkg in self.depends_on: + pkg.is_dependency_for.add(self) + self.all_depends_on_list: list[KModPackage] = self._get_all_linked(KModPackage._get_depends_on) + self.all_depends_on: set[KModPackage] = set(self.all_depends_on_list) + self.all_deps_for: Optional[set[KModPackage]] = None + self.default = False + log.debug('KModPackage created %s, depends_on: %s', name, [pkg.name for pkg in depends_on]) + + def __repr__(self): + return self.name + + def get_all_deps_for(self): + if self.all_deps_for is None: + self.all_deps_for = set(self._get_all_linked(KModPackage._get_deps_for)) + return self.all_deps_for + + def _get_all_linked(self, func_get_links): + ret = [] + explore = func_get_links(self) + + while len(explore) > 0: + new_explore = set() + for pkg in explore: + if pkg not in ret: + ret.append(pkg) + for dep in func_get_links(pkg): + new_explore.add(dep) + explore = new_explore + return ret + + +class KModPackageList(HierarchyObject): + def __init__(self) -> None: + self.name_to_obj: dict[str, KModPackage] = {} + self.kmod_pkg_list: list[KModPackage] = [] + self.rules: list[tuple[str, str, str]] = [] + + def get(self, pkgname): + if pkgname in self.name_to_obj: + return self.name_to_obj[pkgname] + return None + + def add_kmod_pkg(self, pkg): + self.name_to_obj[pkg.name] = pkg + self.kmod_pkg_list.append(pkg) + + def __iter__(self): + return iter(self.kmod_pkg_list) + + +def get_kmods_matching_re(kmod_list: KModList, param_re: str) -> list[KMod]: + ret = [] + # first subdir can be anything - this is because during build everything + # goes to kernel, but subpackages can move it (e.g. to extra) + param_re = '[^/]+/' + param_re + pattern = re.compile(param_re) + + for kmod in kmod_list.get_topo_order(): + m = pattern.match(kmod.kmod_pathname) + if m: + ret.append(kmod) + return ret + + +def walk_kmod_chain(kmod, myfunc): + visited = set() + + def visit_kmod(kmod, parent_kmod, func_to_call): + func_to_call(kmod, parent_kmod) + visited.add(kmod) + for dep in kmod.depends_on: + if dep not in visited: + visit_kmod(dep, kmod, func_to_call) + + visit_kmod(kmod, None, myfunc) + return visited + + +# is pkg a parent to any pkg from "alist" +def is_pkg_parent_to_any(pkg: KModPackage, alist: set[KModPackage]) -> bool: + if pkg in alist: + return True + + for some_pkg in alist: + if some_pkg in pkg.all_depends_on: + return True + return False + + +# is pkg a child to any pkg from "alist" +def is_pkg_child_to_any(pkg: KModPackage, alist: set[KModPackage]) -> bool: + if pkg in alist: + return True + + for some_pkg in alist: + if pkg in some_pkg.all_depends_on: + return True + return False + + +def update_allowed(kmod: KMod, visited: set[KMod], update_linked: bool = False) -> int: + num_updated = 0 + init = False + to_remove = set() + + if kmod in visited: + return num_updated + visited.add(kmod) + + # if we have nothing, try to initialise based on parents and children + if kmod.allowed_list is None: + init_allowed_list: set[KModPackage] = set() + + # init from children + for kmod_dep in kmod.depends_on: + if kmod_dep.allowed_list: + init_allowed_list.update(kmod_dep.allowed_list) + init = True + + if init: + # also add any pkgs that pkgs from list could depend on + deps_for = set() + for pkg in init_allowed_list: + deps_for.update(pkg.get_all_deps_for()) + init_allowed_list.update(deps_for) + + # init from parents + if not init: + for kmod_par in kmod.is_dependency_for: + if kmod_par.allowed_list: + init_allowed_list.update(kmod_par.allowed_list) + # also add any pkgs that depend on pkgs from list + for pkg in kmod_par.allowed_list: + init_allowed_list.update(pkg.all_depends_on) + init = True + + if init: + kmod.allowed_list = init_allowed_list + log.debug('%s: init to %s', kmod.name, [x.name for x in kmod.allowed_list]) + + kmod_allowed_list = kmod.allowed_list or set() + # log.debug('%s: update to %s', kmod.name, [x.name for x in kmod_allowed_list]) + + # each allowed is parent to at least one child allowed [for _all_ children] + for pkg in kmod_allowed_list: + for kmod_dep in kmod.depends_on: + if kmod_dep.allowed_list is None or kmod_dep.err: + continue + if not is_pkg_parent_to_any(pkg, kmod_dep.allowed_list): + to_remove.add(pkg) + log.debug('%s: remove %s from allowed, child: %s [%s]', + kmod.name, [pkg.name], kmod_dep.name, [x.name for x in kmod_dep.allowed_list]) + + # each allowed is child to at least one parent allowed [for _all_ parents] + for pkg in kmod_allowed_list: + for kmod_par in kmod.is_dependency_for: + if kmod_par.allowed_list is None or kmod_par.err: + continue + + if not is_pkg_child_to_any(pkg, kmod_par.allowed_list): + to_remove.add(pkg) + log.debug('%s: remove %s from allowed, parent: %s %s', + kmod.name, [pkg.name], kmod_par.name, [x.name for x in kmod_par.allowed_list]) + + for pkg in to_remove: + kmod_allowed_list.remove(pkg) + num_updated = num_updated + 1 + if len(kmod_allowed_list) == 0: + log.error('%s: cleared entire allow list', kmod.name) + kmod.err = 1 + + if init or to_remove or update_linked: + if to_remove: + log.debug('%s: updated to %s', kmod.name, [x.name for x in kmod_allowed_list]) + + for kmod_dep in kmod.depends_on: + num_updated = num_updated + update_allowed(kmod_dep, visited) + + for kmod_dep in kmod.is_dependency_for: + num_updated = num_updated + update_allowed(kmod_dep, visited) + + return num_updated + + +def apply_initial_labels(pkg_list: KModPackageList, kmod_list: KModList, treat_default_as_wants=False): + log.debug('') + for cur_rule in ['needs', 'wants', 'default']: + for package_name, rule_type, rule in pkg_list.rules: + pkg_obj = pkg_list.get(package_name) + + if not pkg_obj: + log.error('no package with name %s', package_name) + + if cur_rule != rule_type: + continue + + if rule_type == 'default' and treat_default_as_wants: + rule_type = 'wants' + + if 'needs' == rule_type: + # kmod_matching is already in topo_order + kmod_matching = get_kmods_matching_re(kmod_list, rule) + for kmod in kmod_matching: + if kmod.assigned_to_pkg and kmod.assigned_to_pkg != pkg_obj: + log.error('%s: can not be required by 2 pkgs %s %s', kmod.name, kmod.assigned_to_pkg, pkg_obj.name) + else: + kmod.assigned_to_pkg = pkg_obj + kmod.allowed_list = set([pkg_obj]) + kmod.rule_specifity = len(kmod_matching) + log.debug('%s: needed by %s', kmod.name, [pkg_obj.name]) + + if 'wants' == rule_type: + # kmod_matching is already in topo_order + kmod_matching = get_kmods_matching_re(kmod_list, rule) + for kmod in kmod_matching: + if kmod.allowed_list is None: + kmod.allowed_list = set(pkg_obj.all_depends_on) + kmod.allowed_list.add(pkg_obj) + kmod.preferred_pkg = pkg_obj + kmod.rule_specifity = len(kmod_matching) + log.debug('%s: wanted by %s, init allowed to %s', kmod.name, [pkg_obj.name], [pkg.name for pkg in kmod.allowed_list]) + else: + if kmod.assigned_to_pkg: + log.debug('%s: ignoring wants by %s, already assigned to %s', kmod.name, pkg_obj.name, kmod.assigned_to_pkg.name) + else: + # rule specifity may not be good idea, so just log it + # e.g. .*test.* may not be more specific than arch/x86/.* + log.debug('already have wants for %s %s, new rule: %s', kmod.name, kmod.preferred_pkg, rule) + + if 'default' == rule_type: + pkg_obj.default = True + + +def settle(kmod_list: KModList) -> None: + kmod_topo_order = list(kmod_list.get_topo_order()) + + for i in range(0, 25): + log.debug('settle start %s', i) + + ret = 0 + for kmod in kmod_topo_order: + visited: set[KMod] = set() + ret = ret + update_allowed(kmod, visited) + log.debug('settle %s updated nodes: %s', i, ret) + + if ret == 0: + break + + kmod_topo_order.reverse() + + +# phase 1 - propagate initial labels +def propagate_labels_1(pkg_list: KModPackageList, kmod_list: KModList): + log.info('') + settle(kmod_list) + + +def pick_closest_to_preffered(preferred_pkg: KModPackage, allowed_set: set[KModPackage]): + for child in preferred_pkg.all_depends_on_list: + if child in allowed_set: + return child + return None + + +# phase 2 - if some kmods allow more than one pkg, pick wanted package +def propagate_labels_2(pkg_list: KModPackageList, kmod_list: KModList): + log.info('') + ret = 0 + for kmod in kmod_list.get_topo_order(): + update_linked = False + + if kmod.allowed_list is None and kmod.preferred_pkg: + log.error('%s: has no allowed list but has preferred_pkg %s', kmod.name, kmod.preferred_pkg.name) + kmod.err = 1 + + if kmod.allowed_list and kmod.preferred_pkg: + chosen_pkg = None + if kmod.preferred_pkg in kmod.allowed_list: + chosen_pkg = kmod.preferred_pkg + else: + chosen_pkg = pick_closest_to_preffered(kmod.preferred_pkg, kmod.allowed_list) + + if chosen_pkg is not None: + kmod.allowed_list = set([chosen_pkg]) + log.debug('%s: making to prefer %s (preffered is %s), allowed: %s', kmod.name, chosen_pkg.name, + kmod.preferred_pkg.name, [pkg.name for pkg in kmod.allowed_list]) + update_linked = True + + visited: set[KMod] = set() + ret = ret + update_allowed(kmod, visited, update_linked) + + log.debug('updated nodes: %s', ret) + settle(kmod_list) + + +# Is this the best pick? ¯\_(ツ)_/¯ +def pick_topmost_allowed(allowed_set: set[KModPackage]) -> KModPackage: + topmost = next(iter(allowed_set)) + for pkg in allowed_set: + if len(pkg.all_depends_on) > len(topmost.all_depends_on): + topmost = pkg + + return topmost + + +# phase 3 - assign everything else that remained +def propagate_labels_3(pkg_list: KModPackageList, kmod_list: KModList): + log.info('') + ret = 0 + kmod_topo_order = list(kmod_list.get_topo_order()) + # do reverse topo order to cover children faster + kmod_topo_order.reverse() + + default_pkg = None + default_name = '' + for pkg_obj in pkg_list: + if pkg_obj.default: + if default_pkg: + log.error('Already have default pkg: %s / %s', default_pkg.name, pkg_obj.name) + else: + default_pkg = pkg_obj + default_name = default_pkg.name + + for kmod in kmod_topo_order: + update_linked = False + chosen_pkg = None + + if kmod.allowed_list is None: + if default_pkg: + chosen_pkg = default_pkg + else: + log.error('%s not assigned and there is no default', kmod.name) + elif len(kmod.allowed_list) > 1: + if default_pkg: + if default_pkg in kmod.allowed_list: + chosen_pkg = default_pkg + else: + chosen_pkg = pick_closest_to_preffered(default_pkg, kmod.allowed_list) + if chosen_pkg: + log.debug('closest is %s', chosen_pkg.name) + if not chosen_pkg: + # multiple pkgs are allowed, but none is preferred or default + chosen_pkg = pick_topmost_allowed(kmod.allowed_list) + log.debug('topmost is %s', chosen_pkg.name) + + if chosen_pkg: + kmod.allowed_list = set([chosen_pkg]) + log.debug('%s: making to prefer %s (default: %s)', kmod.name, [chosen_pkg.name], default_name) + update_linked = True + + visited: set[KMod] = set() + ret = ret + update_allowed(kmod, visited, update_linked) + + log.debug('updated nodes: %s', ret) + settle(kmod_list) + + +def load_config(config_pathname: str, kmod_list: KModList, variants=[]): + kmod_pkg_list = KModPackageList() + + with open(config_pathname, 'r') as file: + yobj = yaml.safe_load(file) + + for pkg_dict in yobj['packages']: + pkg_name = pkg_dict['name'] + depends_on = pkg_dict.get('depends-on', []) + if_variant_in = pkg_dict.get('if_variant_in') + + if if_variant_in is not None: + if not (set(variants) & set(if_variant_in)): + log.debug('Skipping %s for variants %s', pkg_name, variants) + continue + + pkg_dep_list = [] + for pkg_dep_name in depends_on: + pkg_dep = kmod_pkg_list.get(pkg_dep_name) + pkg_dep_list.append(pkg_dep) + + pkg_obj = kmod_pkg_list.get(pkg_name) + if not pkg_obj: + pkg_obj = KModPackage(pkg_name, pkg_dep_list) + kmod_pkg_list.add_kmod_pkg(pkg_obj) + else: + log.error('package %s already exists?', pkg_name) + + rules_list = yobj.get('rules', []) + for rule_dict in rules_list: + if_variant_in = rule_dict.get('if_variant_in') + exact_pkg = rule_dict.get('exact_pkg') + + for key, value in rule_dict.items(): + if key in ['if_variant_in', 'exact_pkg']: + continue + + if if_variant_in is not None: + if not (set(variants) & set(if_variant_in)): + continue + + rule = key + package_name = value + + if not kmod_pkg_list.get(package_name): + raise Exception('Unknown package ' + package_name) + + rule_type = 'wants' + if exact_pkg is True: + rule_type = 'needs' + elif key == 'default': + rule_type = 'default' + rule = '.*' + + log.debug('found rule: %s', (package_name, rule_type, rule)) + kmod_pkg_list.rules.append((package_name, rule_type, rule)) + + log.info('loaded config, rules: %s', len(kmod_pkg_list.rules)) + return kmod_pkg_list + + +def make_pictures(pkg_list: KModPackageList, kmod_list: KModList, filename: str, print_allowed=True): + f = open(filename + '.dot', 'w') + + f.write('digraph {\n') + f.write('node [style=filled fillcolor="#f8f8f8"]\n') + f.write(' subgraph kmods {\n') + f.write(' "Legend" [shape=note label="kmod name\\n{desired package}\\nresulting package(s)"]\n') + + for kmod in kmod_list.get_topo_order(): + pkg_name = '' + attr = '' + if kmod.assigned_to_pkg: + attr = 'fillcolor="#eddad5" color="#b22800"' + pkg_name = kmod.assigned_to_pkg.name + "!" + if kmod.preferred_pkg: + attr = 'fillcolor="#ddddf5" color="#b268fe"' + pkg_name = kmod.preferred_pkg.name + "?" + allowed = '' + if kmod.allowed_list and print_allowed: + allowed = '=' + ' '.join([pkg.name for pkg in kmod.allowed_list]) + f.write(' "%s" [label="%s\\n%s\\n%s" shape=box %s] \n' % (kmod.name, kmod.name, pkg_name, allowed, attr)) + + for kmod in kmod_list.get_topo_order(): + for kmod_dep in kmod.depends_on: + f.write(' "%s" -> "%s";\n' % (kmod.name, kmod_dep.name)) + f.write(' }\n') + + f.write(' subgraph packages {\n') + for pkg in pkg_list: + desc = '' + if pkg.default: + desc = '/default' + f.write(' "%s" [label="%s\\n%s"] \n' % (pkg.name, pkg.name, desc)) + for pkg_dep in pkg.depends_on: + f.write(' "%s" -> "%s";\n' % (pkg.name, pkg_dep.name)) + f.write(' }\n') + f.write('}\n') + + f.close() + + # safe_run_command('dot -Tpng -Gdpi=150 %s.dot > %s.png' % (filename, filename)) + safe_run_command('dot -Tsvg %s.dot > %s.svg' % (filename, filename)) + + +def sort_kmods(depmod_pathname: str, config_str: str, variants=[], do_pictures=''): + log.info('%s %s', depmod_pathname, config_str) + kmod_list = KModList() + kmod_list.load_depmod_file(depmod_pathname) + + pkg_list = load_config(config_str, kmod_list, variants) + + basename = os.path.splitext(config_str)[0] + + apply_initial_labels(pkg_list, kmod_list) + if '0' in do_pictures: + make_pictures(pkg_list, kmod_list, basename + "_0", print_allowed=False) + + try: + + propagate_labels_1(pkg_list, kmod_list) + if '1' in do_pictures: + make_pictures(pkg_list, kmod_list, basename + "_1") + propagate_labels_2(pkg_list, kmod_list) + propagate_labels_3(pkg_list, kmod_list) + finally: + if 'f' in do_pictures: + make_pictures(pkg_list, kmod_list, basename + "_f") + + return pkg_list, kmod_list + + +def abbrev_list_for_report(alist: list[KMod]) -> str: + tmp_str = [] + for kmod in alist: + if kmod.allowed_list: + tmp_str.append('%s(%s)' % (kmod.name, ' '.join([x.name for x in kmod.allowed_list]))) + ret = ', '.join(tmp_str) + return ret + + +def print_report(pkg_list: KModPackageList, kmod_list: KModList): + log.info('*'*26 + ' REPORT ' + '*'*26) + + kmods_err = 0 + kmods_moved = 0 + kmods_good = 0 + for kmod in kmod_list.get_topo_order(): + if not kmod.allowed_list: + log.error('%s: not assigned to any package! Please check the full log for details', kmod.name) + kmods_err = kmods_err + 1 + continue + + if len(kmod.allowed_list) > 1: + log.error('%s: assigned to more than one package! Please check the full log for details', kmod.name) + kmods_err = kmods_err + 1 + continue + + if not kmod.preferred_pkg: + # config doesn't care where it ended up + kmods_good = kmods_good + 1 + continue + + if kmod.preferred_pkg in kmod.allowed_list: + # it ended up where it needs to be + kmods_good = kmods_good + 1 + continue + + bad_parent_list = [] + for kmod_parent in kmod.is_dependency_for: + if not is_pkg_child_to_any(kmod.preferred_pkg, kmod_parent.allowed_list): + bad_parent_list.append(kmod_parent) + + bad_child_list = [] + for kmod_child in kmod.depends_on: + if not is_pkg_parent_to_any(kmod.preferred_pkg, kmod_child.allowed_list): + bad_child_list.append(kmod_parent) + + log.info('%s: wanted by %s but ended up in %s', kmod.name, [kmod.preferred_pkg.name], [pkg.name for pkg in kmod.allowed_list]) + if bad_parent_list: + log.info('\thas conflicting parent: %s', abbrev_list_for_report(bad_parent_list)) + if bad_child_list: + log.info('\thas conflicting children: %s', abbrev_list_for_report(bad_child_list)) + + kmods_moved = kmods_moved + 1 + + log.info('No. of kmod(s) assigned to preferred package: %s', kmods_good) + log.info('No. of kmod(s) moved to a related package: %s', kmods_moved) + log.info('No. of kmod(s) which could not be assigned: %s', kmods_err) + log.info('*'*60) + + return kmods_err + + +def write_modules_lists(path_prefix: str, pkg_list: KModPackageList, kmod_list: KModList): + kmod_list_alphabetical = sorted(kmod_list.get_topo_order(), key=lambda x: x.kmod_pathname) + for pkg in pkg_list: + output_path = os.path.join(path_prefix, pkg.name + '.list') + i = 0 + with open(output_path, "w") as file: + for kmod in kmod_list_alphabetical: + if kmod.allowed_list and pkg in kmod.allowed_list: + file.write(kmod.kmod_pathname) + file.write('\n') + i = i + 1 + log.info('Module list %s created with %s kmods', output_path, i) + + +class FiltermodTests(unittest.TestCase): + do_pictures = '' + + def setUp(self): + self.pkg_list = None + self.kmod_list = None + + def _is_kmod_pkg(self, kmodname, pkgnames): + self.assertIsNotNone(self.pkg_list) + self.assertIsNotNone(self.kmod_list) + + if type(pkgnames) is str: + pkgnames = [pkgnames] + + expected_pkgs = [] + for pkgname in pkgnames: + pkg = self.pkg_list.get(pkgname) + self.assertIsNotNone(pkg) + expected_pkgs.append(pkg) + + kmod = self.kmod_list.get(kmodname) + self.assertIsNotNone(kmod) + + if expected_pkgs: + self.assertTrue(len(kmod.allowed_list) == 1) + self.assertIn(next(iter(kmod.allowed_list)), expected_pkgs) + else: + self.assertEqual(kmod.allowed_list, set()) + + def test1a(self): + self.pkg_list, self.kmod_list = sort_kmods(get_td('test1.dep'), get_td('test1.yaml'), + do_pictures=FiltermodTests.do_pictures) + + self._is_kmod_pkg('kmod1', 'modules-core') + self._is_kmod_pkg('kmod2', 'modules-core') + self._is_kmod_pkg('kmod3', 'modules') + self._is_kmod_pkg('kmod4', 'modules') + + def test1b(self): + self.pkg_list, self.kmod_list = sort_kmods(get_td('test1.dep'), get_td('test1.yaml'), + do_pictures=FiltermodTests.do_pictures, + variants=['rt']) + + self.assertIsNotNone(self.pkg_list.get('rt-kvm')) + self._is_kmod_pkg('kmod1', 'modules-core') + self._is_kmod_pkg('kmod2', 'modules-core') + self._is_kmod_pkg('kmod3', 'modules') + self._is_kmod_pkg('kmod4', 'rt-kvm') + + def test2(self): + self.pkg_list, self.kmod_list = sort_kmods(get_td('test2.dep'), get_td('test2.yaml'), + do_pictures=FiltermodTests.do_pictures) + + self._is_kmod_pkg('kmod1', 'modules-extra') + self._is_kmod_pkg('kmod2', 'modules') + self._is_kmod_pkg('kmod3', 'modules-core') + self._is_kmod_pkg('kmod4', 'modules-core') + self._is_kmod_pkg('kmod5', 'modules-core') + self._is_kmod_pkg('kmod6', 'modules-extra') + self._is_kmod_pkg('kmod8', 'modules') + + def test3(self): + self.pkg_list, self.kmod_list = sort_kmods(get_td('test3.dep'), get_td('test3.yaml'), + do_pictures=FiltermodTests.do_pictures) + + self._is_kmod_pkg('kmod2', ['modules-core', 'modules']) + self._is_kmod_pkg('kmod4', ['modules-core', 'modules-extra']) + self._is_kmod_pkg('kmod5', 'modules-core') + self._is_kmod_pkg('kmod6', 'modules-core') + + def test4(self): + self.pkg_list, self.kmod_list = sort_kmods(get_td('test4.dep'), get_td('test4.yaml'), + do_pictures=FiltermodTests.do_pictures) + + self._is_kmod_pkg('kmod0', 'modules') + self._is_kmod_pkg('kmod1', 'modules') + self._is_kmod_pkg('kmod2', 'modules') + self._is_kmod_pkg('kmod3', 'modules') + self._is_kmod_pkg('kmod4', 'modules') + self._is_kmod_pkg('kmod5', 'modules') + self._is_kmod_pkg('kmod6', 'modules') + self._is_kmod_pkg('kmod7', 'modules-partner2') + self._is_kmod_pkg('kmod8', 'modules-partner') + self._is_kmod_pkg('kmod9', 'modules-partner') + + def _check_preffered_pkg(self, kmodname, pkgname): + kmod = self.kmod_list.get(kmodname) + self.assertIsNotNone(kmod) + self.assertEqual(kmod.preferred_pkg.name, pkgname) + + def test5(self): + self.pkg_list, self.kmod_list = sort_kmods(get_td('test5.dep'), get_td('test5.yaml'), + do_pictures=FiltermodTests.do_pictures) + + self._check_preffered_pkg('kmod2', 'modules') + self._check_preffered_pkg('kmod3', 'modules-partner') + self._check_preffered_pkg('kmod4', 'modules-partner') + + def test6(self): + self.pkg_list, self.kmod_list = sort_kmods(get_td('test6.dep'), get_td('test6.yaml'), + do_pictures=FiltermodTests.do_pictures) + + self._is_kmod_pkg('kmod2', 'modules-core') + self._is_kmod_pkg('kmod3', 'modules') + self._is_kmod_pkg('kmod4', 'modules') + self._is_kmod_pkg('kmod1', []) + + def test7(self): + self.pkg_list, self.kmod_list = sort_kmods(get_td('test7.dep'), get_td('test7.yaml'), + do_pictures=FiltermodTests.do_pictures) + + self._is_kmod_pkg('kmod1', 'modules-core') + self._is_kmod_pkg('kmod2', 'modules-core') + self._is_kmod_pkg('kmod3', 'modules-other') + self._is_kmod_pkg('kmod4', 'modules') + + +def do_rpm_mapping_test(config_pathname, kmod_rpms): + kmod_dict = {} + + def get_kmods_matching_re(pkgname, param_re): + matched = [] + param_re = '^kernel/' + param_re + pattern = re.compile(param_re) + + for kmod_pathname, kmod_rec in kmod_dict.items(): + m = pattern.match(kmod_pathname) + if m: + matched.append(kmod_pathname) + + return matched + + for kmod_rpm in kmod_rpms.split(): + filename = os.path.basename(kmod_rpm) + + m = re.match(r'.*-modules-([^-]+)', filename) + if not m: + raise Exception('Unrecognized rpm ' + kmod_rpm + ', expected a kernel-modules* rpm') + pkgname = 'modules-' + m.group(1) + m = re.match(r'modules-([0-9.]+)', pkgname) + if m: + pkgname = 'modules' + + tmpdir = os.path.join('tmp.filtermods', filename, pkgname) + if not os.path.exists(tmpdir): + log.info('creating tmp dir %s', tmpdir) + os.makedirs(tmpdir) + safe_run_command('rpm2cpio %s | cpio -id' % (os.path.abspath(kmod_rpm)), cwddir=tmpdir) + else: + log.info('using cached content of tmp dir: %s', tmpdir) + + for path, subdirs, files in os.walk(tmpdir): + for name in files: + ret = re.match(r'.*/'+pkgname+'/lib/modules/[^/]+/[^/]+/(.*)', os.path.join(path, name)) + if not ret: + continue + + kmod_pathname = 'kernel/' + ret.group(1) + if not kmod_pathname.endswith('.xz') and not kmod_pathname.endswith('.ko'): + continue + if kmod_pathname in kmod_dict: + if pkgname not in kmod_dict[kmod_pathname]['target_pkgs']: + kmod_dict[kmod_pathname]['target_pkgs'].append(pkgname) + else: + kmod_dict[kmod_pathname] = {} + kmod_dict[kmod_pathname]['target_pkgs'] = [pkgname] + kmod_dict[kmod_pathname]['pkg'] = None + kmod_dict[kmod_pathname]['matched'] = False + + kmod_pkg_list = load_config(config_pathname, None) + + for package_name, rule_type, rule in kmod_pkg_list.rules: + kmod_names = get_kmods_matching_re(package_name, rule) + + for kmod_pathname in kmod_names: + kmod_rec = kmod_dict[kmod_pathname] + + if not kmod_rec['matched']: + kmod_rec['matched'] = True + kmod_rec['pkg'] = package_name + for kmod_pathname, kmod_rec in kmod_dict.items(): + if kmod_rec['pkg'] not in kmod_rec['target_pkgs']: + log.warning('kmod %s wanted by config in %s, in tree it is: %s', kmod_pathname, [kmod_rec['pkg']], kmod_rec['target_pkgs']) + elif len(kmod_rec['target_pkgs']) > 1: + # if set(kmod_rec['target_pkgs']) != set(['modules', 'modules-core']): + log.warning('kmod %s multiple matches in tree: %s/%s', kmod_pathname, [kmod_rec['pkg']], kmod_rec['target_pkgs']) + + +def cmd_sort(options): + do_pictures = '' + if options.graphviz: + do_pictures = '0f' + + pkg_list, kmod_list = sort_kmods(options.depmod, options.config, + options.variants, do_pictures) + ret = print_report(pkg_list, kmod_list) + if options.output: + write_modules_lists(options.output, pkg_list, kmod_list) + + return ret + + +def cmd_print_rule_map(options): + kmod_list = KModList() + kmod_list.load_depmod_file(options.depmod) + pkg_list = load_config(options.config, kmod_list, options.variants) + apply_initial_labels(pkg_list, kmod_list, treat_default_as_wants=True) + + for kmod in kmod_list.get_alphabetical_order(): + print('%-20s %s' % (kmod.preferred_pkg, kmod.kmod_pathname)) + + +def cmd_selftest(options): + if options.graphviz: + FiltermodTests.do_pictures = '0f' + + for arg in ['selftest', '-g', '--graphviz']: + if arg in sys.argv: + sys.argv.remove(arg) + + unittest.main() + sys.exit(0) + + +def cmd_cmp2rpm(options): + do_rpm_mapping_test(options.config, options.kmod_rpms) + + +def main(): + global log + + parser = argparse.ArgumentParser() + parser.add_argument('-v', '--verbose', dest='verbose', + help='be more verbose', action='count', default=4) + parser.add_argument('-q', '--quiet', dest='quiet', + help='be more quiet', action='count', default=0) + parser.add_argument('-l', '--log-filename', dest='log_filename', + help='log filename', default='filtermods.log') + + subparsers = parser.add_subparsers(dest='cmd') + + def add_graphviz_arg(p): + p.add_argument('-g', '--graphviz', dest='graphviz', + help='generate graphviz visualizations', + action='store_true', default=False) + + def add_config_arg(p): + p.add_argument('-c', '--config', dest='config', required=True, + help='path to yaml config with rules') + + def add_depmod_arg(p): + p.add_argument('-d', '--depmod', dest='depmod', required=True, + help='path to modules.dep file') + + def add_output_arg(p): + p.add_argument('-o', '--output', dest='output', default=None, + help='output $module_name.list files to directory specified by this parameter') + + def add_variants_arg(p): + p.add_argument('-r', '--variants', dest='variants', action='append', default=[], + help='variants to enable in config') + + def add_kmod_rpms_arg(p): + p.add_argument('-k', '--kmod-rpms', dest='kmod_rpms', required=True, + help='compare content of specified rpm(s) against yaml config rules') + + parser_sort = subparsers.add_parser('sort', help='assign kmods specified by modules.dep using rules from yaml config') + add_config_arg(parser_sort) + add_depmod_arg(parser_sort) + add_output_arg(parser_sort) + add_variants_arg(parser_sort) + add_graphviz_arg(parser_sort) + + parser_rule_map = subparsers.add_parser('rulemap', help='print how yaml config maps to kmods') + add_config_arg(parser_rule_map) + add_depmod_arg(parser_rule_map) + add_variants_arg(parser_rule_map) + + parser_test = subparsers.add_parser('selftest', help='runs a self-test') + add_graphviz_arg(parser_test) + + parser_cmp2rpm = subparsers.add_parser('cmp2rpm', help='compare ruleset against RPM(s)') + add_config_arg(parser_cmp2rpm) + add_kmod_rpms_arg(parser_cmp2rpm) + + options = parser.parse_args() + + if options.cmd == "selftest": + options.verbose = options.verbose - 2 + options.verbose = max(options.verbose - options.quiet, 0) + levels = [NOTSET, CRITICAL, ERROR, WARN, INFO, DEBUG] + stdout_log_level = levels[min(options.verbose, len(levels) - 1)] + + log = setup_logging(options.log_filename, stdout_log_level) + + ret = 0 + if options.cmd == "sort": + ret = cmd_sort(options) + elif options.cmd == "rulemap": + cmd_print_rule_map(options) + elif options.cmd == "selftest": + cmd_selftest(options) + elif options.cmd == "cmp2rpm": + cmd_cmp2rpm(options) + else: + parser.print_help() + + return ret + + +if __name__ == '__main__': + # import profile + # profile.run('main()', sort=1) + sys.exit(main()) diff --git a/ciq/scripts/gating/gating.yaml b/ciq/scripts/gating/gating.yaml new file mode 100644 index 0000000000000..f2ce7d20d1938 --- /dev/null +++ b/ciq/scripts/gating/gating.yaml @@ -0,0 +1,14 @@ +--- !Policy +product_versions: + - rhel-* +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: cki.tier1-aarch64.functional} + - !PassingTestCaseRule {test_case_name: cki.tier1-ppc64le.functional} + - !PassingTestCaseRule {test_case_name: cki.tier1-s390x.functional} + - !PassingTestCaseRule {test_case_name: cki.tier1-x86_64.functional} + - !PassingTestCaseRule {test_case_name: s1-aws-ci_x86_64.brew-build.tier1.functional} + - !PassingTestCaseRule {test_case_name: s1-aws-ci_aarch64.brew-build.tier1.functional} + - !PassingTestCaseRule {test_case_name: s1-azure-ci_x86_64.brew-build.tier1.functional} + - !PassingTestCaseRule {test_case_name: s1-azure-ci_aarch64.brew-build.tier1.functional} + - !PassingTestCaseRule {test_case_name: s1-gcp-ci.brew-build.tier1.functional} diff --git a/ciq/scripts/gating/rpminspect.yaml b/ciq/scripts/gating/rpminspect.yaml new file mode 100644 index 0000000000000..ef25971e5f59b --- /dev/null +++ b/ciq/scripts/gating/rpminspect.yaml @@ -0,0 +1,32 @@ +# additional rpminspect configuration for this branch + +--- +inspections: + upstream: off + +badfuncs: + ignore: + - /usr/libexec/ksamples/* + - /usr/libexec/kselftests/* + +emptyrpm: + expected_empty: + - kernel + - kernel-debug + - kernel-debug-devel-matched + - kernel-devel-matched + - kernel-lpae + - kernel-zfcpdump + - kernel-zfcpdump-devel-matched + - kernel-zfcpdump-modules + +patches: + ignore_list: + - linux-kernel-test.patch + - patch-%%SPECKVERSION%%.%%SPECKPATCHLEVEL%%-redhat.patch + +runpath: + ignore: + - /usr/libexec/kselftests/bpf/urandom_read + - /usr/libexec/kselftests/bpf/no_alu32/urandom_read + - /usr/libexec/kselftests/bpf/cpuv4/urandom_read diff --git a/ciq/scripts/genspec/commit_template b/ciq/scripts/genspec/commit_template new file mode 100644 index 0000000000000..51f9ccd183795 --- /dev/null +++ b/ciq/scripts/genspec/commit_template @@ -0,0 +1,14 @@ +Hi, + +As part of the ongoing rebase effort, the following configuration +options need to be reviewed. + +As a reminder, the ARK configuration flow involves moving unreviewed +configuration options from the pending directory to the ark directory. +In the diff below, options are removed from the pending directory and +added to the ark hierarchy. The final options that need to be ACKed +are the files that are being added to the ark hierarchy. + +If the value for a file that is added should be changed, please reply +with a better option. + diff --git a/ciq/scripts/genspec/gen_config_patches.sh b/ciq/scripts/genspec/gen_config_patches.sh new file mode 100755 index 0000000000000..b3c75694264fe --- /dev/null +++ b/ciq/scripts/genspec/gen_config_patches.sh @@ -0,0 +1,133 @@ +#!/bin/bash +# +# Creates commits that moves all configuration options for a subsystem from the +# pending configuration directory to the common configuration directory. Each +# commit is contained on a branch named "configs//. +# +# The commit message is formed from redhat/commit_template and includes Cc +# information for the relevant maintainers using get_maintainers.pl. This +# requires that you have $RHMAINTAINERS pointing to a valid maintainer file. + +target_branch=$1 +prev_branch="$(git rev-parse --abbrev-ref HEAD)" +git checkout "$target_branch" + +if ! git show -s --oneline HEAD | grep -q "AUTOMATIC: New configs"; then + echo "The git HEAD doesn't look like the correct commit" + exit 1 +fi + +config_bundles_dir=$(mktemp -d) +tmpdir=$(mktemp -d) + +function cleanup { + rm -rf "$config_bundles_dir" + rm -rf "$tmpdir" +} +trap cleanup EXIT + +# Easy way to get each of the files to process +# Not interested in Fedora configs +git diff --name-only HEAD HEAD^ | grep -v "pending-fedora" > "$tmpdir"/new_config_files + +if [ ! -s "$tmpdir"/new_config_files ]; then + echo "No config changes after filtering" + exit 0 +fi + +while read -r line; do + # Read all the files and split up by file path of each config item. + # ethernet and net get handled separately others can be added as needed + # + # A sample of the input file we're parsing is: + # # CONFIG_ARCH_RANDOM: + # # + # # Random number generation (part of the ARMv8.5 Extensions) + # # provides a high bandwidth, cryptographically secure + # # hardware random number generator. + # # + # # Symbol: ARCH_RANDOM [=y] + # # Type : bool + # # Prompt: Enable support for random number generation + # # Location: + # # -> Kernel Features + # # -> ARMv8.5 architectural features + # # Defined at arch/arm64/Kconfig:1533 + # # + # CONFIG_ARCH_RANDOM=y + awk -v BASE="$config_bundles_dir" ' + function strip_kconfig_path(path_with_text) + { + sub("#.*Defined at ", "", path_with_text) + sub(":[0-9]+", "", path_with_text) + return path_with_text + } + /Defined at drivers\/net\/ethernet/ { + # For configs in here, bundle configs by vendor + kconfig_path=strip_kconfig_path($0); + split(kconfig_path, path_parts, "/") + # Only use the first component after drivers/net/ethernet + subsystem_path=BASE"/drivers:net:ethernet:"path_parts[4] + print config >> subsystem_path; + next; + } + /Defined at drivers\/net/ { + # For configs in here, bundle configs by driver type + kconfig_path=strip_kconfig_path($0); + split(kconfig_path, path_parts, "/") + subsystem_path=BASE"/drivers:net:"path_parts[3]; + print config >> subsystem_path; + next; + } + /Defined at / { + # Bundle all other configuration by the first two components of the path + kconfig_path=strip_kconfig_path($0); + split(kconfig_path, path_parts, "/") + subsystem_path=BASE"/"path_parts[1]":"path_parts[2] + print config >> subsystem_path; + next; + } + /^# Symbol: .*/ { + split($0, a, " "); + config="CONFIG_"a[3]; + #print config; + } + ' "$line" +done < "$tmpdir"/new_config_files + +# $config_bundles_dir now contains files containing a list of configs per file path +for f in "$config_bundles_dir"/*; do + if [ ! -e "$f" ]; then + echo "Missing generated config file: $f" + exit 1 # No files in config_bundles_dir, abort + fi + # we had to change to : for the file name so switch it back + _f=$(basename "$f" | sed -e 's/:/\//g') + # Commit subject + echo "[redhat] New configs in $_f" > "$tmpdir"/commit + echo "" >> "$tmpdir"/commit + # And the boiler plate + cat redhat/scripts/genspec/commit_template >> "$tmpdir"/commit + # This loop actually grabs the help text to put in the commit + while read -r line; do + # last line is the actual config we need to put in the dir + tail -n 1 redhat/configs/pending-rhel/generic/"$line" > redhat/configs/rhel/generic/"$line" + # get everything except the last line for the commit text + head -n -1 redhat/configs/pending-rhel/generic/"$line" | sed -e 's/^#//g' >> "$tmpdir"/commit + # add a nice separator that renders in gitlab + echo -ne "\n---\n\n" >> "$tmpdir"/commit + # remove the pending option + rm redhat/configs/pending-rhel/generic/"$line" + done < "$f" + # We do a separate branch per config commit + if ! git checkout -b "configs/$target_branch/$(date +%F)/$_f"; then + printf "Unable to check out configs/%s/%s/%s branch!\n" "$target_branch" "$(date +%F)" "$_f" + exit 1 + fi + # One file path is done, time to commit! + git add redhat/configs + git commit -s -F "$tmpdir"/commit + git checkout "$target_branch" +done + +git checkout "$prev_branch" diff --git a/ciq/scripts/genspec/genlog.py b/ciq/scripts/genspec/genlog.py new file mode 100755 index 0000000000000..47f4feca3680c --- /dev/null +++ b/ciq/scripts/genspec/genlog.py @@ -0,0 +1,132 @@ +#!/usr/bin/python3 +# SPDX-License-Identifier: GPL-2.0-only +# Copyright (C) 2023 Red Hat, Inc. + +"""Parses git log from stdin, expecting format of: +$ git log [] -z --format="- %s (%an)%n%N%n^^^NOTES-END^^^%n%b" [] [[--] ...] | ... +and prints changelog output to stdout.""" + +import re +import sys + + +# CommitTags and parse_commit() in kmt and genlog.py should match +class CommitTags: + tag_patterns = { + 'Bugzilla': [ + r'(\d{4,8})\s*$', + r'https?://bugzilla\.redhat\.com/(?:show_bug\.cgi\?id=)?(\d{4,8})', + ], + 'JIRA': [r'https://issues\.redhat\.com/(?:browse|projects/RHEL/issues)/(RHEL-\d{1,8})'], + 'CVE': [r'(CVE-\d{4}-\d{4,7})'], + 'MR': [r'(.*)'], + 'Y-Commit': [r'([0-9a-fA-F]+)'], + 'Patchwork-id': [r'(.*)'], + 'Patchwork-instance': [r'(.*)'], + } + tag_patterns['Y-Bugzilla'] = tag_patterns['Bugzilla'] + tag_patterns['Z-Bugzilla'] = tag_patterns['Bugzilla'] + tag_patterns['Y-JIRA'] = tag_patterns['JIRA'] + tag_patterns['Z-JIRA'] = tag_patterns['JIRA'] + tag_patterns['O-JIRA'] = tag_patterns['JIRA'] + + compiled_patterns = {} + for tag_name, tag_pattern_list in tag_patterns.items(): + tag_pattern_list.append(r'(N/A)') + compiled_patterns[tag_name] = [] + for tag_pattern in tag_pattern_list: + pattern = r'^' + tag_name + ': ' + tag_pattern + r'\s*$' + tag_regex = re.compile(pattern, re.MULTILINE) + compiled_patterns[tag_name].append(tag_regex) + + def __init__(self, input_str): + self.parse_tags(input_str) + + def get_tag_values(self, tag_name): + if tag_name not in CommitTags.tag_patterns: + raise Exception('Unsupported tag name: ' + tag_name) + return self.tag_dict[tag_name] + + def override_by(self, other_commit_tags): + for tag_name, tag_set in other_commit_tags.tag_dict.items(): + if tag_set: + if tag_set == set(['N/A']): + self.tag_dict[tag_name] = set() + else: + self.tag_dict[tag_name] = set(tag_set) + + def parse_tags(self, input_str): + tag_values = {} + for tag_name, tag_pattern_list in CommitTags.compiled_patterns.items(): + tag_values[tag_name] = set() + for tag_regex in tag_pattern_list: + for value in tag_regex.findall(input_str): + tag_values[tag_name].add(value) + self.tag_dict = tag_values + + def convert_to_y_tags(self): + if self.tag_dict['Z-Bugzilla'] or self.tag_dict['Z-JIRA']: + tmp = self.tag_dict['Bugzilla'] + self.tag_dict['Bugzilla'] = self.tag_dict['Z-Bugzilla'] + self.tag_dict['Y-Bugzilla'] = tmp + self.tag_dict['Z-Bugzilla'] = set() + + tmp = self.tag_dict['JIRA'] + self.tag_dict['JIRA'] = self.tag_dict['Z-JIRA'] + self.tag_dict['Y-JIRA'] = tmp + self.tag_dict['Z-JIRA'] = set() + + def get_changelog_str(self): + chnglog = [] + tickets = sorted(self.tag_dict['Bugzilla']) + sorted(self.tag_dict['JIRA']) + if self.tag_dict['Y-Bugzilla'] or self.tag_dict['Y-JIRA']: + tickets = tickets + sorted(self.tag_dict['Y-Bugzilla']) + sorted(self.tag_dict['Y-JIRA']) + if tickets: + chnglog.append('[' + ' '.join(tickets) + ']') + if self.tag_dict['CVE']: + chnglog.append('{' + ' '.join(self.tag_dict['CVE']) + '}') + return ' '.join(chnglog) + + def get_resolved_tickets(self): + ret = set() + for ticket in sorted(self.tag_dict['Bugzilla']) + sorted(self.tag_dict['JIRA']): + if ticket.isnumeric(): + ticket = 'rhbz#' + ticket + ret.add(ticket) + return ret + + +def parse_commit(commit): + if '^^^NOTES-END^^^' in commit: + input_notes, input_commit = commit.split('^^^NOTES-END^^^') + else: + input_notes = '' + input_commit = commit + + tags = CommitTags(input_commit) + if input_notes: + notes_tags = CommitTags(input_notes) + notes_tags.convert_to_y_tags() + tags.override_by(notes_tags) + + return tags + + +if __name__ == "__main__": + all_resolved = set() + commits = sys.stdin.read().split('\0') + for c in commits: + if not c: + continue + # Escape '%' as it will be used inside the rpm spec changelog + entry_pos = c.find('\n') + entry = c[:entry_pos].replace("%", "%%") + + tags = parse_commit(c) + chnglog = tags.get_changelog_str() + if chnglog: + entry = entry + ' ' + chnglog + print(entry) + all_resolved = all_resolved.union(tags.get_resolved_tickets()) + + print('Resolves: ' + ', '.join(sorted(all_resolved)) + '\n') diff --git a/ciq/scripts/genspec/genlog.sh b/ciq/scripts/genspec/genlog.sh new file mode 100755 index 0000000000000..3d7e58f035f0d --- /dev/null +++ b/ciq/scripts/genspec/genlog.sh @@ -0,0 +1,65 @@ +#!/bin/bash + +set -e + +LAST_MARKER=$(cat "${REDHAT}"/marker) +clogf="$1" +# hide [redhat] entries from changelog +HIDE_REDHAT=1; +# hide entries for unsupported arches +HIDE_UNSUPPORTED_ARCH=1; +# override LC_TIME to avoid date conflicts when building the srpm +LC_TIME= + +GIT_FORMAT="--format=- %s (%an)%n%N%n^^^NOTES-END^^^%n%b" +GIT_NOTES="--notes=refs/notes/${RHEL_MAJOR}.${RHEL_MINOR}*" + +lasttag=$(git rev-list --first-parent --grep="^\[redhat\] kernel-${SPECKVERSION}.${SPECKPATCHLEVEL}" --max-count=1 HEAD) +# if we didn't find the proper tag, assume this is the first release +if [[ -z $lasttag ]]; then + if [[ -z ${MARKER//[0-9a-f]/} ]]; then + # if we're doing an untagged release, just use the marker + echo "Using $MARKER" + lasttag=$MARKER + else + lasttag=$(git describe --match="$MARKER" --abbrev=0) + fi +fi +echo "Gathering new log entries since $lasttag" +# master is expected to track mainline. + +cname="$(git var GIT_COMMITTER_IDENT |sed 's/>.*/>/')" +cdate="$(LC_ALL=C date +"%a %b %d %Y")" +cversion="[$DISTBASEVERSION]"; +echo "* $cdate $cname $cversion" > "$clogf" + +git log --topo-order --no-merges -z "$GIT_NOTES" "$GIT_FORMAT" \ + ^"${UPSTREAM}" "$lasttag".. -- ':!/redhat/rhdocs' | "${0%/*}"/genlog.py >> "$clogf" + +if [ "$HIDE_REDHAT" = "1" ]; then + grep -v -e "^- \[redhat\]" "$clogf" | + sed -e 's!\[Fedora\]!!g' > "$clogf.tmp" + mv -f "$clogf.tmp" "$clogf" +fi + +if [ "$HIDE_UNSUPPORTED_ARCH" = "1" ]; then + grep -E -v "^- \[(alpha|arc|arm|avr32|blackfin|c6x|cris|frv|h8300|hexagon|ia64|m32r|m68k|metag|microblaze|mips|mn10300|openrisc|parisc|score|sh|sparc|tile|um|unicore32|xtensa)\]" "$clogf" > "$clogf.tmp" + mv -f "$clogf.tmp" "$clogf" +fi + +# If the markers aren't the same then this a rebase. +# This means we need to zap entries that are already present in the changelog. +if [ "$MARKER" != "$LAST_MARKER" ]; then + # genlog.py always adds a Resolves: line, thus we + # can insert the rebase changelog item before it + sed -i "s/\(^Resolves:.*\)/- Linux v${SPECVERSION}${UPSTREAMBUILD:+-}${UPSTREAMBUILD%.}\n\1/" "$clogf" +fi + +# during rh-dist-git genspec runs again and generates empty changelog +# create empty file to avoid adding extra header to changelog +LENGTH=$(grep -c "^-" "$clogf" | awk '{print $1}') +if [ "$LENGTH" = 0 ]; then + echo -n > "$clogf" +fi + +echo "MARKER is $MARKER" diff --git a/ciq/scripts/genspec/genspec.sh b/ciq/scripts/genspec/genspec.sh new file mode 100755 index 0000000000000..4fe355f97cac0 --- /dev/null +++ b/ciq/scripts/genspec/genspec.sh @@ -0,0 +1,114 @@ +#!/bin/bash +# shellcheck disable=SC2153 + +UPSTREAM=$(git rev-parse -q --verify origin/"${UPSTREAM_BRANCH}" || \ + git rev-parse -q --verify "${UPSTREAM_BRANCH}") + +if [ -n "$DISTLOCALVERSION" ]; then + SPECBUILDID=$(printf "%%define buildid %s" "$DISTLOCALVERSION") +else + SPECBUILDID="# define buildid .local" +fi + +# The SPECRELEASE variable uses the SPECBUILDID variable which is +# defined above. IOW, don't remove SPECBUILDID ;) +SPECRELEASE="${UPSTREAMBUILD}""${BUILD}""%{?buildid}%{?dist}" + +EXCLUDE_FILES=":(exclude,top).get_maintainer.conf \ + :(exclude,top).gitattributes \ + :(exclude,top).gitignore \ + :(exclude,top).gitlab-ci.yml \ + :(exclude,top)makefile \ + :(exclude,top)Makefile.rhelver \ + :(exclude,top)redhat \ + :(exclude,top)configs" + +# If PATCHLIST_URL is not set to "none", generate Patchlist.changelog file that +# holds the shas and commits not included upstream and git commit url. +SPECPATCHLIST_CHANGELOG=0 +if [ "$PATCHLIST_URL" != "none" ]; then + # sed convert + # + # to + # / + # + # + # May need to preserve word splitting in EXCLUDE_FILES + # shellcheck disable=SC2086 + git log --no-merges --pretty=oneline --no-decorate ${UPSTREAM}.. $EXCLUDE_FILES | \ + sed "s!^\([^ ]*\)!$PATCHLIST_URL/\1\n &!; s!\$!\n!" \ + > "$SOURCES"/Patchlist.changelog + SPECPATCHLIST_CHANGELOG=1 +fi + +# self-test begin +test -f "$SOURCES/$SPECFILE" && + sed -i -e " + s/%%SPECBUILDID%%/$SPECBUILDID/ + s/%%SPECKVERSION%%/$SPECKVERSION/ + s/%%SPECKPATCHLEVEL%%/$SPECKPATCHLEVEL/ + s/%%SPECBUILD%%/$SPECBUILD/ + s/%%SPECRELEASE%%/$SPECRELEASE/ + s/%%SPECRELEASED_KERNEL%%/$SPECRELEASED_KERNEL/ + s/%%SPECINCLUDE_FEDORA_FILES%%/$SPECINCLUDE_FEDORA_FILES/ + s/%%SPECINCLUDE_RHEL_FILES%%/$SPECINCLUDE_RHEL_FILES/ + s/%%SPECPATCHLIST_CHANGELOG%%/$SPECPATCHLIST_CHANGELOG/ + s/%%SPECINCLUDE_RT_FILES%%/$SPECINCLUDE_RT_FILES/ + s/%%SPECINCLUDE_AUTOMOTIVE_FILES%%/$SPECINCLUDE_AUTOMOTIVE_FILES/ + s/%%SPECINCLUDE_ROCKY_FILES%%/$SPECINCLUDE_ROCKY_FILES/ + s/%%SPECVERSION%%/$SPECVERSION/ + s/%%SPECRPMVERSION%%/$SPECRPMVERSION/ + s/%%SPECKABIVERSION%%/$SPECKABIVERSION/ + s/%%SPECTARFILE_RELEASE%%/$SPECTARFILE_RELEASE/ + s/%%SPECPACKAGE_NAME%%/$SPECPACKAGE_NAME/ + s/%%SPECGEMINI%%/$SPECGEMINI/ + s/%%SPECSELFTESTS_MUST_BUILD%%/$SPECSELFTESTS_MUST_BUILD/" "$SOURCES/$SPECFILE" +test -n "$RHSELFTESTDATA" && test -f "$SOURCES/$SPECFILE" && sed -i -e " + /%%SPECCHANGELOG%%/r $SOURCES/$SPECCHANGELOG + /%%SPECCHANGELOG%%/d" "$SOURCES/$SPECFILE" +# self-test end + +# We depend on work splitting of BUILDOPTS +# shellcheck disable=SC2086 +for opt in $BUILDOPTS; do + add_opt= + [ -z "${opt##+*}" ] && add_opt="_with_${opt#?}" + [ -z "${opt##-*}" ] && add_opt="_without_${opt#?}" + [ -n "$add_opt" ] && sed -i "s/^\\(# The following build options\\)/%define $add_opt 1\\n\\1/" "$SOURCES/$SPECFILE" +done + +# The self-test data doesn't currently have tests for the changelog or patch file, so the +# rest of the script can be ignored. See redhat/Makefile setup-source target for related +# test changes. +if [ -n "$RHSELFTESTDATA" ]; then + exit 0 +fi + +clogf=$(mktemp) +trap 'rm -f "$clogf" "$clogf".stripped' SIGHUP SIGINT SIGTERM EXIT +"${0%/*}"/genlog.sh "$clogf" + +cat "$clogf" "$SOURCES/$SPECCHANGELOG" > "$clogf.full" +mv -f "$clogf.full" "$SOURCES/$SPECCHANGELOG" + +# genlog.py generates Resolves lines as well, strip these from RPM changelog +grep -v -e "^Resolves: " "$SOURCES/$SPECCHANGELOG" > "$clogf".stripped + +test -f "$SOURCES/$SPECFILE" && + sed -i -e " + /%%SPECCHANGELOG%%/r $clogf.stripped + /%%SPECCHANGELOG%%/d" "$SOURCES/$SPECFILE" + +if [ "$DISTRO" == "fedora" ]; then + # The tarball in the SRPM contains only the upstream sources. + + # May need to preserve word splitting in EXCLUDE_FILES + # shellcheck disable=SC2086 + git diff -p --binary --no-renames --stat "$MARKER".. $EXCLUDE_FILES \ + > ${SOURCES}/patch-${SPECKVERSION}.${SPECKPATCHLEVEL}-redhat.patch +else + # The tarball in the SRPM contains both upstream sources and OS-specifc + # commits. Even though this is the case, an empty file for dist-git + # compatibility is necessary. + touch "${SOURCES}/patch-${SPECKVERSION}.${SPECKPATCHLEVEL}"-redhat.patch +fi diff --git a/ciq/scripts/genspec/headerspec.sh b/ciq/scripts/genspec/headerspec.sh new file mode 100755 index 0000000000000..8ed750fdbd643 --- /dev/null +++ b/ciq/scripts/genspec/headerspec.sh @@ -0,0 +1,35 @@ +#!/bin/bash +# shellcheck disable=SC2153 + +if [ -n "$DISTLOCALVERSION" ]; then + SPECBUILDID=$(printf "%%define buildid %s" "$DISTLOCALVERSION") +else + SPECBUILDID="# define buildid .local" +fi + +# The SPECRELEASE variable uses the SPECBUILDID variable which is +# defined above. IOW, don't remove SPECBUILDID ;) +SPECRELEASE="${UPSTREAMBUILD}""${BUILD}""%{?buildid}%{?dist}" + +# self-test begin +test -f "$SOURCES/kernel-headers.spec" && + sed -i -e " + s/%%SPECBUILDID%%/$SPECBUILDID/ + s/%%SPECKVERSION%%/$SPECKVERSION/ + s/%%SPECKPATCHLEVEL%%/$SPECKPATCHLEVEL/ + s/%%SPECBUILD%%/$SPECBUILD/ + s/%%SPECRELEASE%%/$SPECRELEASE/ + s/%%SPECRELEASED_KERNEL%%/$SPECRELEASED_KERNEL/ + s/%%SPECINCLUDE_FEDORA_FILES%%/$SPECINCLUDE_FEDORA_FILES/ + s/%%SPECINCLUDE_RHEL_FILES%%/$SPECINCLUDE_RHEL_FILES/ + s/%%SPECPATCHLIST_CHANGELOG%%/$SPECPATCHLIST_CHANGELOG/ + s/%%SPECINCLUDE_RT_FILES%%/$SPECINCLUDE_RT_FILES/ + s/%%SPECINCLUDE_AUTOMOTIVE_FILES%%/$SPECINCLUDE_AUTOMOTIVE_FILES/ + s/%%SPECVERSION%%/$SPECVERSION/ + s/%%SPECRPMVERSION%%/$SPECRPMVERSION/ + s/%%SPECKABIVERSION%%/$SPECKABIVERSION/ + s/%%SPECTARFILE_RELEASE%%/$SPECTARFILE_RELEASE/ + s/%%SPECPACKAGE_NAME%%/$SPECPACKAGE_NAME/ + s/%%SPECGEMINI%%/$SPECGEMINI/ + s/%%SPECSELFTESTS_MUST_BUILD%%/$SPECSELFTESTS_MUST_BUILD/" "$SOURCES/kernel-headers.spec" +# self-test end diff --git a/ciq/scripts/kernel-tools/kvm_stat.logrotate b/ciq/scripts/kernel-tools/kvm_stat.logrotate new file mode 100644 index 0000000000000..105e15e651f0f --- /dev/null +++ b/ciq/scripts/kernel-tools/kvm_stat.logrotate @@ -0,0 +1,11 @@ +/var/log/kvm_stat.csv { + size 10M + missingok + compress + maxage 30 + rotate 5 + nodateext + postrotate + /usr/bin/systemctl try-restart kvm_stat.service + endscript +} diff --git a/ciq/scripts/kspdx-tool/kspdx.py b/ciq/scripts/kspdx-tool/kspdx.py new file mode 100755 index 0000000000000..4495216dbecbd --- /dev/null +++ b/ciq/scripts/kspdx-tool/kspdx.py @@ -0,0 +1,231 @@ +#! /usr/bin/python3 + +# SPDX-License-Identifier: LGPL-2.1-or-later + +import argparse +import os +import re +import subprocess +import sys + +# Files to not search for SPDX patterns +ignored_files = [ + # license-rules.rst describe how to write SPDX-License-Identifier tags, skip it + "/process/license-rules.rst", +] + +# Generators, take the first SPDX identifier only to avoid +# parsing the code which adds 'SPDX-License-Identifier' to some +# other code. +generators = [ + "/scripts/atomic/gen-atomic-fallback.sh", + "/scripts/atomic/gen-atomic-instrumented.sh", + "/scripts/atomic/gen-atomic-long.sh", + "/tools/bpf/bpftool/gen.c", + "/tools/net/ynl/lib/nlspec.py", + "/tools/net/ynl/ynl-gen-c.py", + "/tools/testing/selftests/bpf/generate_udp_fragments.py", +] + +def run_command(cmdargs, sysexit=False, canfail=False, input=None): + res = subprocess.run(cmdargs, check=False, capture_output=True, text=True, input=input) + if res.returncode != 0 and not canfail: + print("%s returned %d, stdout: %s stderr: %s" % (res.args, res.returncode, res.stdout, res.stderr), file=sys.stderr) + if sysexit: + sys.exit(1) + else: + raise Exception("%s command failed" % cmdargs[0]) + return res + +def get_file_source(path, commit = None): + if not commit: + try: + with open(path, 'rb') as fp: + return fp.read().decode('utf-8', errors='ignore') + except Exception as e: + print("Failed to read file %s: %s" % (path, e), file=sys.stderr) + return None + else: + try: + res = run_command(['git', 'show', "%s:%s" % (commit, path)]) + return res.stdout + except Exception as e: + print("Failed to show file %s from commit %s: %s" % (path, commit, e), file=sys.stderr) + return None + +# Valid chars in SPDX tag: a-Z,0-9,-,+,_, ,\t,(,),. +spdx_pattern = re.compile(r"(?:--|\*|#|//|\.\.)\s*SPDX-License-Identifier:\s+([a-zA-Z0-9\-_\.\t \(\)\+]+)") + +def get_spdx_string(fpath, commit, default, first_only=False): + content = get_file_source(fpath, commit) + if content is None: + print("Failed to get content of %s" % fpath, file=sys.stderr) + sys.exit(1) + + r = spdx_pattern.findall(content) + + if first_only: + r = r[:1] + elif len(set(r)) > 1: + print("WARNING: %s lists more than one different license, please check!" % fpath, file=sys.stderr) + + changed = True + while changed: + changed = False + for i in range(len(r)): + s = r[i] + # Remove extra spaces + s = " ".join(s.split()) + + # Remove trailing '--' (SVG) + s = re.sub("--$", "", s) + + # Make all operators uppercase + s = re.sub(' or ', ' OR ', s, flags=re.IGNORECASE) + s = re.sub(' with ', ' WITH ', s, flags=re.IGNORECASE) + s = re.sub(' and ', ' AND ', s, flags=re.IGNORECASE) + + # Drop unneded highest level parentheses + s = re.sub("^\((.*)\)$", "\g<1>", s) + + # Drop unneeded inner parentheses when there are no spaces + s = re.sub("\(([^ ]+)\)", "\g<1>", s) + + # (A OR B) OR C equals A OR B OR C + s = re.sub("\((.*) OR (.*)\) OR", "\g<1> OR \g<2> OR", s) + # A OR (B OR C) equals A OR B OR C + s = re.sub("OR \((.*) OR (.*)\)", "OR \g<1> OR \g<2>", s) + + # Assuming there's just one level of ORs, sort the licenses in reverse alphabetical order + # sort only when no parentheses + if s.find(' OR ') != -1 and s.find('(') == -1: + s = ' OR '.join([e.strip() for e in sorted(s.split(' OR '), reverse=True)]) + + # Split A and B into two items but make sure parenthes are balanced + and_pos = 0 + while True: + and_pos = s.find(' AND ', and_pos+1) + if and_pos > 0: + l1 = s[:and_pos] + l2 = s[and_pos+5:] + if l1.count('(') == l1.count(')') and l2.count('(') == l2.count(')'): + r.append(l2) + s = l1 + break + else: + break + + if s != r[i]: + r[i] = s + changed = True + if r == []: + r = [default] + + return r + +def convert_deprecated(license): + # Deprecated ids, see https://spdx.org/licenses/ + # GPL-1.0 equals GPL-1.0-only + license = re.sub("GPL-1.0($| )", "GPL-1.0-only\g<1>", license) + # GPL-1.0+ equals GPL-1.0-or-later + license = re.sub("GPL-1.0\+($| )", "GPL-1.0-or-later\g<1>", license) + + # GPL-2.0 equals GPL-2.0-only + license = re.sub("GPL-2.0($| )", "GPL-2.0-only\g<1>", license) + # GPL-2.0+ equals GPL-2.0-or-later + license = re.sub("GPL-2.0\+($| )", "GPL-2.0-or-later\g<1>", license) + + # LGPL-2.0 equals LGPL-2.0-only + license = re.sub("LGPL-2.0($| )", "LGPL-2.0-only\g<1>", license) + # LGPL-2.0+ equals LGPL-2.0-or-later + license = re.sub("LGPL-2.0\+($| )", "LGPL-2.0-or-later\g<1>", license) + + # LGPL-2.1 equals LGPL-2.1-only + license = re.sub("LGPL-2.1($| )", "LGPL-2.1-only\g<1>", license) + # LGPL-2.1+ equals LGPL-2.1-or-latery + license = re.sub("LGPL-2.1\+($| )", "LGPL-2.1-or-later\g<1>", license) + + # Use standard uppercase 'OR' + license = re.sub(" or ", " OR ", license) + return license + +def unique_licenses(licenses): + res = [] + for license in licenses: + license = convert_deprecated(license) + already_present = False + for existing in res: + if license.upper() == existing.upper(): + already_present = True + if already_present: + continue + res.append(license) + return sorted(res) + +def license_andlist(unique): + s = "" + for i in range(len(unique)): + # Parenthes are needed for everything but a singe item + if unique[i].find(' ') != -1 and len(unique) > 1: + s += '(' + unique[i] + ')' + else: + s += unique[i] + if i != len(unique) - 1: + s += ' AND ' + return s + +if __name__ == '__main__': + parser = argparse.ArgumentParser(description='Report SPDX-License-Identifier tag for a kernel source file/directory', + formatter_class=argparse.ArgumentDefaultsHelpFormatter) + parser.add_argument('path', help='Path in the source tree') + parser.add_argument('-c', '--commit', help='Inspect given commit/HEAD instead of the current state') + parser.add_argument('-d', '--default', help='Default license', default="GPL-2.0-only") + parser.add_argument('-i', '--itemized', help='Print license[s] per file', action="store_true") + parser.add_argument('-j', '--joint', help='Print a single statement for all discovered licenses', action="store_true") + args = parser.parse_args() + + if os.path.isdir(args.path) and args.commit: + print("The specified path %s is a directory and --commit was given, this is unsupported." % args.path, file=sys.stderr) + + files = [] + if os.path.isdir(args.path): + w = os.walk(args.path) + for (dpath, dnames, fnames) in w: + # Skip .git objects + if '.git' in dpath.split('/'): + continue + files.extend([dpath.rstrip('/') + '/' + fname for fname in fnames]) + else: + files = [args.path] + + licenses = [] + for fpath in files: + ignore = False + for ignored in ignored_files: + if fpath.endswith(ignored): + ignore = True + continue + if ignore: + continue + + generator = False + for ignored in generators: + if fpath.endswith(ignored): + generator = True + continue + + file_licenses = get_spdx_string(fpath, args.commit, args.default, generator) + unique = unique_licenses(file_licenses) + if not args.itemized: + licenses.extend(unique) + else: + print("%s: %s" % (fpath, license_andlist(unique))) + + if not args.itemized: + if not args.joint: + for license in sorted(set(licenses)): + print(license) + else: + print(license_andlist(sorted(set(licenses)))) + + sys.exit(0) diff --git a/ciq/scripts/mod/mod-denylist.sh b/ciq/scripts/mod/mod-denylist.sh new file mode 100755 index 0000000000000..e5e65a236d2d7 --- /dev/null +++ b/ciq/scripts/mod/mod-denylist.sh @@ -0,0 +1,67 @@ +#! /bin/bash +# shellcheck disable=SC2164 + +rpm_buildroot="$1" +module_dir="$2" +module_list="$3" + +blacklist_conf_files="$(mktemp)" + +blacklist() +{ + mkdir -p "$rpm_buildroot/etc/modprobe.d/" + cat > "$rpm_buildroot/etc/modprobe.d/$1-blacklist.conf" <<-__EOF__ + # This kernel module can be automatically loaded by non-root users. To + # enhance system security, the module is blacklisted by default to ensure + # system administrators make the module available for use as needed. + # See https://access.redhat.com/articles/3760101 for more details. + # + # Remove the blacklist by adding a comment # at the start of the line. + blacklist $1 +__EOF__ + echo "%config(noreplace) /etc/modprobe.d/$1-blacklist.conf" >> "$blacklist_conf_files" +} + +check_blacklist() +{ + mod="$rpm_buildroot/$1" + [ ! "$mod" ] && return 0 + if modinfo "$mod" | grep -q '^alias:\s\+net-'; then + mod="${1##*/}" + mod="${mod%.ko*}" + echo "$mod has an alias that allows auto-loading. Blacklisting." + blacklist "$mod" + fi +} + +foreachp() +{ + P=$(nproc) + bgcount=0 + while read -r mod; do + $1 "$mod" & + + bgcount=$((bgcount + 1)) + if [ $bgcount -eq "$P" ]; then + wait -n + bgcount=$((bgcount - 1)) + fi + done + + wait +} + +# Many BIOS-es export a PNP-id which causes the floppy driver to autoload +# even though most modern systems don't have a 3.5" floppy driver anymore +# this replaces the old die_floppy_die.patch which removed the PNP-id from +# the module + +floppylist=("$rpm_buildroot"/"$module_dir"/kernel/drivers/block/floppy.ko*) +if [[ -n ${floppylist[0]} && -f ${floppylist[0]} ]]; then + blacklist "floppy" +fi + +foreachp check_blacklist < "$module_list" + +cat "$blacklist_conf_files" >> "$module_list" +rm -f "$blacklist_conf_files" diff --git a/ciq/scripts/mod/mod-sign.sh b/ciq/scripts/mod/mod-sign.sh new file mode 100755 index 0000000000000..535bd59a3f11a --- /dev/null +++ b/ciq/scripts/mod/mod-sign.sh @@ -0,0 +1,37 @@ +#! /bin/bash + +# The modules_sign target checks for corresponding .o files for every .ko that +# is signed. This doesn't work for package builds which re-use the same build +# directory for every variant, and the .config may change between variants. +# So instead of using this script to just sign lib/modules/$KernelVer/extra, +# sign all .ko in the buildroot. + +# This essentially duplicates the 'modules_sign' Kbuild target and runs the +# same commands for those modules. + +MODSECKEY=$1 +MODPUBKEY=$2 +moddir=$3 + +modules=$(find "$moddir" -type f -name '*.ko') + +NPROC=$(nproc) +[ -z "$NPROC" ] && NPROC=1 + +# NB: this loop runs 2000+ iterations. Try to be fast. +echo "$modules" | xargs -r -n16 -P "$NPROC" sh -c " +for mod; do + ./scripts/sign-file sha256 $MODSECKEY $MODPUBKEY \$mod + rm -f \$mod.sig \$mod.dig +done +" DUMMYARG0 # xargs appends ARG1 ARG2..., which go into $mod in for loop. + +RANDOMMOD=$(echo "$modules" | sort -R | head -n 1) +if [ "~Module signature appended~" != "$(tail -c 28 "$RANDOMMOD")" ]; then + echo "*****************************" + echo "*** Modules are unsigned! ***" + echo "*****************************" + exit 1 +fi + +exit 0 diff --git a/ciq/scripts/new_release.sh b/ciq/scripts/new_release.sh new file mode 100755 index 0000000000000..6ee98c912d6b0 --- /dev/null +++ b/ciq/scripts/new_release.sh @@ -0,0 +1,43 @@ +#!/bin/bash +if [ -s "$CIQ/linux-kernel-test.patch" ]; then + echo "linux-kernel-test.patch is not empty, aborting" >&2; + exit 1; +fi + +RELEASE=$(sed -n -e 's/^RHEL_RELEASE\ =\ \(.*\)/\1/p' "$CIQ"/../Makefile.rhelver) + +YVER=$(echo "$RELEASE" | cut -d "." -f 1) +YVER=${YVER:="$RELEASE"} +ZMAJ=$(echo "$RELEASE" | cut -s -d "." -f 2) +ZMAJ=${ZMAJ:=0} +ZMIN=$(echo "$RELEASE" | cut -s -d "." -f 3) +ZMIN=${ZMIN:=0} + +if [ "$BUMP_RELEASE" == "no" ]; then + NEW_RELEASE="$RELEASE"; +elif [ "$ZSTREAM_FLAG" == "no" ]; then + if [ "$YSTREAM_FLAG" == "yes" ]; then + NEW_RELEASE="$((RELEASE + 1))"; + else + EARLY_YBUILD=$(sed -n -e 's/^EARLY_YBUILD:=\(.*\)/\1/p' "$CIQ"/../Makefile.rhelver); + EARLY_YRELEASE=$(sed -n -e 's/^EARLY_YRELEASE:=\(.*\)/\1/p' "$CIQ"/../Makefile.rhelver); + if [ "$EARLY_YBUILD" != "$RELEASE" ]; then + NEW_EARLY_YRELEASE=1; + else + NEW_EARLY_YRELEASE="$((EARLY_YRELEASE + 1))"; + fi + sed -i -e "s/^EARLY_YBUILD:=$EARLY_YBUILD/EARLY_YBUILD:=$RELEASE/" "$CIQ"/../Makefile.rhelver; + sed -i -e "s/^EARLY_YRELEASE:=$EARLY_YRELEASE/EARLY_YRELEASE:=$NEW_EARLY_YRELEASE/" "$CIQ"/../Makefile.rhelver; + NEW_RELEASE=$RELEASE; + fi +elif [ "$ZSTREAM_FLAG" == "yes" ]; then + NEW_RELEASE=$YVER.$((ZMAJ+1)).1; +elif [ "$ZSTREAM_FLAG" == "branch" ]; then + NEW_RELEASE=$YVER.$ZMAJ.$((ZMIN+1)); +else + echo "$(basename "$0") invalid value, allowed [no|yes|branch]" >&2; + exit 1; +fi + +sed -i -e "s/RHEL_RELEASE\ =.*/RHEL_RELEASE\ =\ $NEW_RELEASE/" "$CIQ"/../Makefile.rhelver; + diff --git a/ciq/scripts/rh-dist-git.sh b/ciq/scripts/rh-dist-git.sh new file mode 100755 index 0000000000000..af1f2dc6992ff --- /dev/null +++ b/ciq/scripts/rh-dist-git.sh @@ -0,0 +1,64 @@ +#!/bin/bash + +# clones and updates a dist-git repo + +# shellcheck disable=SC2164 + +function die +{ + echo "Error: $1" >&2; + exit 1; +} + +function upload() +{ + [ -n "$RH_DIST_GIT_TEST" ] && return + $RHPKG_BIN upload "$@" >/dev/null || die "uploading $*"; +} + +if [ -z "$RHDISTGIT_BRANCH" ]; then + echo "$0: RHDISTGIT_BRANCH is not set" >&2 + exit 1 +fi + +echo "Cloning the repository" +# clone the dist-git, considering cache +date=$(date +"%Y-%m-%d") +tmpdir="$(mktemp -d --tmpdir="$RHDISTGIT_TMP" RHEL"$RHEL_MAJOR"."$date".XXXXXXXX)" +cd "$tmpdir" || die "Unable to create temporary directory"; +test -n "$RHDISTGIT_CACHE" && reference="-- --reference $RHDISTGIT_CACHE" +echo "Cloning using $RHPKG_BIN" >&2; +# shellcheck disable=SC2086 +eval $RHPKG_BIN clone "$SPECPACKAGE_NAME" "$reference" >/dev/null || die "Unable to clone using $RHPKG_BIN"; + +echo "Switching the branch" +# change in the correct branch +cd "$tmpdir/$SPECPACKAGE_NAME"; +$RHPKG_BIN switch-branch "$RHDISTGIT_BRANCH" || die "switching to branch $RHDISTGIT_BRANCH"; + +echo "Unpacking from SRPM" +"$REDHAT"/scripts/expand_srpm.sh "$tmpdir" + +# upload tarballs +sed -i "/linux-.*.tar.xz/d" "$tmpdir/$SPECPACKAGE_NAME"/{sources,.gitignore}; +sed -i "/kernel-abi-stablelists.*.tar.xz/d" "$tmpdir/$SPECPACKAGE_NAME"/{sources,.gitignore}; +sed -i "/kernel-kabi-dw-.*.tar.xz/d" "$tmpdir/$SPECPACKAGE_NAME"/{sources,.gitignore}; +upload_list="$TARBALL $KABI_TARBALL $KABIDW_TARBALL" + +echo "Uploading new tarballs: $upload_list" +# We depend on word splitting here: +# shellcheck disable=SC2086 +upload $upload_list + +echo "Creating diff for review ($tmpdir/diff) and changelog" +# diff the result (redhat/git/dontdiff). note: diff reuturns 1 if +# differences were found +diff -X "$REDHAT"/git/dontdiff -upr "$tmpdir/$SPECPACKAGE_NAME" "$REDHAT"/rpm/SOURCES/ > "$tmpdir"/diff; +# creating the changelog file + +# changelog has been created by genspec.sh, including Resolves line, just copy it here +echo -e "${SPECPACKAGE_NAME}-${DISTBASEVERSION}\n" > "$tmpdir"/changelog +awk '1;/^Resolves: /{exit};' "$REDHAT"/"$SPECCHANGELOG" >> "$tmpdir"/changelog + +# all done +echo "$tmpdir" diff --git a/ciq/scripts/rh-headers-dist-git.sh b/ciq/scripts/rh-headers-dist-git.sh new file mode 100755 index 0000000000000..9ee3a39b7a4e2 --- /dev/null +++ b/ciq/scripts/rh-headers-dist-git.sh @@ -0,0 +1,58 @@ +#!/bin/bash + +# clones and updates a dist-git repo + +# shellcheck disable=SC2164 + +function die +{ + echo "Error: $1" >&2; + exit 1; +} + +function upload() +{ + [ -n "$RH_DIST_GIT_TEST" ] && return + $RHPKG_BIN new-sources "$@" >/dev/null || die "uploading $*"; +} + +if [ -z "$RHDISTGIT_BRANCH" ]; then + echo "$0: RHDISTGIT_BRANCH is not set" >&2 + exit 1 +fi + +echo "Cloning the repository" +# clone the dist-git, considering cache +date=$(date +"%Y-%m-%d") +tmpdir="$(mktemp -d --tmpdir="$RHDISTGIT_TMP" RHEL"$RHEL_MAJOR"."$date".XXXXXXXX)" +cd "$tmpdir" || die "Unable to create temporary directory"; +echo "Cloning using $RHPKG_BIN" >&2; +# shellcheck disable=SC2086 +eval $RHPKG_BIN clone "kernel-headers" >/dev/null || die "Unable to clone using $RHPKG_BIN"; + +echo "Switching the branch" +# change in the correct branch +cd "$tmpdir/kernel-headers"; +$RHPKG_BIN switch-branch "$RHDISTGIT_BRANCH" || die "switching to branch $RHDISTGIT_BRANCH"; + +echo "Unpacking from SRPM" +"$REDHAT"/scripts/expand_srpm.sh "$tmpdir" +git reset HEAD -- README.md +git checkout README.md +git add README.md + +# upload tarballs +upload_list="kernel-headers-$UPSTREAM_TARBALL_NAME.tar.xz" + +echo "Uploading new tarballs: $upload_list" +# We depend on word splitting here: +# shellcheck disable=SC2086 +upload $upload_list + +echo "Creating diff for review ($tmpdir/diff) and changelog" +# diff the result (redhat/git/dontdiff). note: diff reuturns 1 if +# differences were found +diff -X "$REDHAT"/git/dontdiff -upr "$tmpdir/kernel-headers" "$REDHAT"/rpm/SOURCES/ > "$tmpdir"/diff; + +# all done +echo "$tmpdir" diff --git a/ciq/scripts/uki_addons/uki_create_addons.py b/ciq/scripts/uki_addons/uki_create_addons.py new file mode 100755 index 0000000000000..f94af88d5d868 --- /dev/null +++ b/ciq/scripts/uki_addons/uki_create_addons.py @@ -0,0 +1,151 @@ +#!/usr/bin/env python3 +# +# This script inspects a given json proving a list of addons, and +# creates an addon for each key/value pair matching the given uki, distro and +# arch provided in input. +# +# Usage: python uki_create_addons.py input_json out_dir uki distro arch +# +# This tool requires the systemd-ukify and systemd-boot packages. +# +# Addon file +#----------- +# Each addon terminates with .addon +# Each addon contains only two types of lines: +# Lines beginning with '#' are description and thus ignored +# All other lines are command line to be added. +# The name of the end resulting addon is taken from the json hierarchy. +# For example, and addon in json['virt']['rhel']['x86_64']['hello.addon'] will +# result in an UKI addon file generated in out_dir called +# hello-virt.rhel.x86_64.addon.efi +# +# The common key, present in any sub-dict in the provided json (except the leaf dict) +# is used as place for default addons when the same addon is not defined deep +# in the hierarchy. For example, if we define test.addon (text: 'test1\n') in +# json['common']['test.addon'] = ['test1\n'] and another test.addon (text: test2) in +# json['virt']['common']['test.addon'] = ['test2'], any other uki except virt +# will have a test.addon.efi with text "test1", and virt will have a +# test.addon.efi with "test2" +# +# sbat.conf +#---------- +# This dict is containing the sbat string for *all* addons being created. +# This dict is optional, but when used has to be put in a sub-dict with +# { 'sbat' : { 'sbat.conf' : ['your text here'] }} +# It follows the same syntax as the addon files, meaning '#' is comment and +# the rest is taken as sbat string and feed to ukify. + +import os +import sys +import json +import collections +import subprocess + + +UKIFY_PATH = '/usr/lib/systemd/ukify' + +def usage(err): + print(f'Usage: {os.path.basename(__file__)} input_json output_dir uki distro arch') + print(f'Error:{err}') + sys.exit(1) + +def check_clean_arguments(input_json, out_dir): + # Remove end '/' + if out_dir[-1:] == '/': + out_dir = out_dir[:-1] + if not os.path.isfile(input_json): + usage(f'input_json {input_json} is not a file, or does not exist!') + if not os.path.isdir(out_dir): + usage(f'out_dir_dir {out_dir} is not a dir, or does not exist!') + return out_dir + +UKICmdlineAddon = collections.namedtuple('UKICmdlineAddon', ['name', 'cmdline']) +uki_addons_list = [] +uki_addons = {} +addon_sbat_string = None + +def parse_lines(lines, rstrip=True): + cmdline = '' + for l in lines: + l = l.lstrip() + if not l: + continue + if l[0] == '#': + continue + # rstrip is used only for addons cmdline, not sbat.conf, as it replaces + # return lines with spaces. + if rstrip: + l = l.rstrip() + ' ' + cmdline += l + if cmdline == '': + return '' + return cmdline + +def parse_all_addons(in_obj): + global addon_sbat_string + + for el in in_obj.keys(): + # addon found: copy it in our global dict uki_addons + if el.endswith('.addon'): + uki_addons[el] = in_obj[el] + + if 'sbat' in in_obj and 'sbat.conf' in in_obj['sbat']: + # sbat.conf found: override sbat with the most specific one found + addon_sbat_string = parse_lines(in_obj['sbat']['sbat.conf'], rstrip=False) + +def recursively_find_addons(in_obj, folder_list): + # end of recursion, leaf directory. Search all addons here + if len(folder_list) == 0: + parse_all_addons(in_obj) + return + + # first, check for common folder + if 'common' in in_obj: + parse_all_addons(in_obj['common']) + + # second, check if there is a match with the searched folder + if folder_list[0] in in_obj: + folder_next = in_obj[folder_list[0]] + folder_list = folder_list[1:] + recursively_find_addons(folder_next, folder_list) + +def parse_in_json(in_json, uki_name, distro, arch): + with open(in_json, 'r') as f: + in_obj = json.load(f) + recursively_find_addons(in_obj, [uki_name, distro, arch]) + + for addon_name, cmdline in uki_addons.items(): + addon_name = addon_name.replace(".addon","") + addon_full_name = f'{addon_name}-{uki_name}.{distro}.{arch}.addon.efi' + cmdline = parse_lines(cmdline).rstrip() + if cmdline: + uki_addons_list.append(UKICmdlineAddon(addon_full_name, cmdline)) + +def create_addons(out_dir): + for uki_addon in uki_addons_list: + out_path = os.path.join(out_dir, uki_addon.name) + cmd = [ + f'{UKIFY_PATH}', 'build', + '--cmdline', uki_addon.cmdline, + '--output', out_path] + if addon_sbat_string: + cmd.extend(['--sbat', addon_sbat_string.rstrip()]) + + subprocess.check_call(cmd, text=True) + +if __name__ == "__main__": + argc = len(sys.argv) - 1 + if argc != 5: + usage('too few or too many parameters!') + + input_json = sys.argv[1] + out_dir = sys.argv[2] + uki_name = sys.argv[3] + distro = sys.argv[4] + arch = sys.argv[5] + + out_dir = check_clean_arguments(input_json, out_dir) + parse_in_json(input_json, uki_name, distro, arch) + create_addons(out_dir) + + diff --git a/ciq/scripts/uki_addons/uki_create_json.py b/ciq/scripts/uki_addons/uki_create_json.py new file mode 100755 index 0000000000000..f8e89b2f647b8 --- /dev/null +++ b/ciq/scripts/uki_addons/uki_create_json.py @@ -0,0 +1,104 @@ +#!/usr/bin/env python3 +# +# This script recursively inspects the 'redhat/uki_addons' directory, +# and creates a json file containing name and description of each addon found. +# +# Usage: python uki_create_json.py output_file +# +# Addon file +#----------- +# The addon files are contained into the 'redhat/uki_addons' folder. +# Each addon terminates with .addon. +# Each addon contains only two types of lines: +# Lines beginning with '#' are description and thus ignored +# All other lines are command line to be added. +# This script just parses the folder structure and creates a json reflecting +# all addons and their line found. +# For example, if we define test.addon (text: 'test1\n') in +# redhat/uki_addons/virt/rhel/x86_64, the resulting output_file will contain +# { 'virt' : { 'rhel' : { 'x86_64' : { 'test.addon' : ['test1\n'] }}}} +# +# The name of the end resulting addon is taken from the folder hierarchy, but this +# is handled by uki_create_addons.py when building the rpm. This script only +# prepares the json file to be added in the srpm. For more information about +# the folder hierarchy, what the 'common' and 'sbat' folder are, look at +# uki_create_addons.py. +# +# The common folder, present in any folder under redhat/uki_addons +# (except the leaf folders) is used as place for default addons when the same +# addon is not defined deep in the hierarchy. +# +# How to extend the script and kernel.spec with a new arch or uki or distro +#-------------------------------------------------------------------------- +# A new distro has to be added by creating the folder in redhat/uki_addons. +# See uki_create_addons.py to how the directory hierarchy in redhat/uki_addons +# is expected to be. +# After that, if the distro is a different arch from the one already supported, +# one needs to extend the %define with_efiuki in kernel.spec.template. +# If a new UKI has to be created with a different name from the existing ones, +# the logic to create the addons and call this script has to be implemented too +# in kernel.spec.template. As an example, see how the 'virt' UKI addons are +# created. + +import os +import sys +import json +import subprocess + +def usage(err): + print(f'Usage: {os.path.basename(__file__)} dest_file') + print(f'Error:{err}') + sys.exit(1) + +def find_addons(): + cmd = ['/usr/bin/find', 'uki_addons', "(", '-name', '*.addon', '-o', '-name', 'sbat.conf', ")"] + proc_out = subprocess.run(cmd, check=True, capture_output=True, text=True) + if proc_out.returncode == 0: + return proc_out.stdout + return None + +def add_keys_to_obj(ret_data, keys, value): + if len(keys) == 0: + return + key = keys[0] + val = {} + if len(keys) == 1: + val = value + if not key in ret_data: + ret_data[key] = val + ret_data = ret_data[key] + add_keys_to_obj(ret_data, keys[1:], value) + +def create_json(addons): + obj = {} + for el in addons: + print(f'Processing {el} ...') + with open(el, 'r') as f: + lines = f.readlines() + dirs, name = os.path.split(el) + keys = dirs.split('/') + if keys[0] == 'uki_addons': + keys = keys[1:] + keys.append(name) + add_keys_to_obj(obj, keys, lines) + print(f'Processing {el} completed') + return obj + +def write_json(obj, dest_file): + with open(dest_file, 'w') as f: + json.dump(obj , f, indent=4) + print(f'Processed addons files are in {dest_file}') + +if __name__ == "__main__": + argc = len(sys.argv) - 1 + if argc != 1: + usage('too few or too many parameters!') + dest = sys.argv[1] + + output = find_addons() + if output is None: + usage('error finding the addons') + addons_list = output.split() + obj = create_json(addons_list) + write_json(obj, dest) + diff --git a/ciq/scripts/yamlsanity.py b/ciq/scripts/yamlsanity.py new file mode 100755 index 0000000000000..a250b48a87eca --- /dev/null +++ b/ciq/scripts/yamlsanity.py @@ -0,0 +1,17 @@ +#!/usr/bin/env python3 + +import sys +import yaml + +def default_ctor(loader, tag_suffix, node): + return None + +if __name__ == '__main__': + print('yaml sanity check', sys.argv[1], end=' ') + + loader = yaml.SafeLoader + loader.add_multi_constructor('', default_ctor) + + with open(sys.argv[1], 'r') as file: + yaml.load(file, Loader=loader) + print('OK') diff --git a/ciq/self-test/0001-shellcheck.bats b/ciq/self-test/0001-shellcheck.bats new file mode 100644 index 0000000000000..aee37704cdd43 --- /dev/null +++ b/ciq/self-test/0001-shellcheck.bats @@ -0,0 +1,12 @@ +#!/usr/bin/env bats +# Purpose: This test runs shellcheck on all .sh files in the redhat directory. + +load test-lib.bash + +@test "shellcheck" { + if ! test -x /usr/bin/shellcheck; then + skip "The ShellCheck package is not installed" + fi + run shellcheck $(find $BATS_TEST_DIRNAME/.. -name "*.sh" -not -path "$BATS_TEST_DIRNAME/../rpm/*") + check_status +} diff --git a/ciq/self-test/1002-basic-structural-test.bats b/ciq/self-test/1002-basic-structural-test.bats new file mode 100644 index 0000000000000..e4ddd76c3112f --- /dev/null +++ b/ciq/self-test/1002-basic-structural-test.bats @@ -0,0 +1,76 @@ +#!/usr/bin/env bats +# Purpose: This test runs tests on the SRPM. + +load test-lib.bash + +_SRPM_unpacks_OK() { + rpm2cpio "$srpm" | cpio -idm +} + +@test "SRPM unpacks OK" { + numsrpms=$(find "$BATS_TEST_DIRNAME"/.. -name "*.src.rpm" | wc -l) + if [ "$numsrpms" != "1" ]; then + skip "Only one SRPM should be in $BATS_TEST_DIRNAME/redhat/rpms/SRPMS." + fi + + srpm=$(find "$BATS_TEST_DIRNAME"/.. -name "*.src.rpm") + pushd "$BATS_TMPDIR" + if [ -e SRPMS ]; then + rm -fr SRPMS + fi + mkdir SRPMS + cd SRPMS + run _SRPM_unpacks_OK + check_status + popd >& /dev/null +} + +@test "Linux tree unpacks OK" { +numsrpms=$(find "$BATS_TEST_DIRNAME"/.. -name "*.src.rpm" | wc -l) + if [ "$numsrpms" != "1" ]; then + skip "Only one SRPM should be in $BATS_TEST_DIRNAME/redhat/rpms/SRPMS." + fi + + pushd "$BATS_TMPDIR"/SRPMS >& /dev/null + ls | wc + linuxname=$(ls linux*.tar.xz) + run tar --extract --xz -f "$linuxname" + check_status + popd >& /dev/null +} + +@test "Linux top level structural check" { + numsrpms=$(find "$BATS_TEST_DIRNAME"/.. -name "*.src.rpm" | wc -l) + if [ "$numsrpms" != "1" ]; then + skip "Only one SRPM should be in $BATS_TEST_DIRNAME/redhat/rpms/SRPMS." + fi + + pushd "$BATS_TMPDIR"/SRPMS >& /dev/null + linuxtree=$(ls linux*.tar.xz) + linuxtree=${linuxtree/.tar.xz} + cd $linuxtree + run test -d arch && \ + test -d block && \ + test -d certs && \ + test -d crypto && \ + test -d Documentation && \ + test -d drivers && \ + test -d fs && \ + test -d include && \ + test -d init && \ + test -d ipc && \ + test -d kernel && \ + test -d lib + test -d LICENSES && \ + test -d mm && \ + test -d net && \ + test -d samples && \ + test -d scripts && \ + test -d security && \ + test -d sound && \ + test -d tools && \ + test -d usr && \ + test -d virt + check_status + popd >& /dev/null +} diff --git a/ciq/self-test/1003-rpminspect.bats b/ciq/self-test/1003-rpminspect.bats new file mode 100644 index 0000000000000..8465d2bbfb2cb --- /dev/null +++ b/ciq/self-test/1003-rpminspect.bats @@ -0,0 +1,21 @@ +#!/usr/bin/env bats +# Purpose: This test runs rpminspect on the SRPM. + +load test-lib.bash + +@test "rpminspect" { + if ! test -x /usr/bin/rpminspect; then + skip "The rpminspect package is not installed" + else + skip "Skip rpminspect test pending fixes" + fi + + numsrpms=$(find "$BATS_TEST_DIRNAME"/.. -name "*.src.rpm" | wc -l) + if [ "$numsrpms" != "1" ]; then + skip "Only one SRPM should be in $BATS_TEST_DIRNAME/redhat/rpms/SRPMS." + fi + + srpm=$(find "$BATS_TEST_DIRNAME"/.. -name "*.src.rpm") + run rpminspect $srpm + check_status +} diff --git a/ciq/self-test/1005-dist-dump-variables.bats b/ciq/self-test/1005-dist-dump-variables.bats new file mode 100644 index 0000000000000..93f6bb79fa056 --- /dev/null +++ b/ciq/self-test/1005-dist-dump-variables.bats @@ -0,0 +1,30 @@ +#!/usr/bin/env bats +# Purpose: This test creates a set of Makefile variables, and a set of +# variables that are used in the specfile. This data is diff'd against a +# "known good" set of data and if there is a difference an error is reported. + +load test-lib.bash + +@test "self-test-data check" { + mkdir -p $BATS_TMPDIR/data + RHDISTDATADIR=$BATS_TMPDIR/data make dist-self-test-data + + redhat=$(make dist-dump-variables | grep "REDHAT=" | cut -d"=" -f2 | xargs) + + echo "Diffing directories ${redhat}/self-test/data and $BATS_TMPDIR/data" + run diff -urNp -x create-data.sh ${redhat}/self-test/data $BATS_TMPDIR/data + [ -d $BATS_TMPDIR ] && rm -rf $BATS_TMPDIR/data + check_status +} + +# Purpose: This test verifies the BUILD_TARGET value is "eln" for DIST=".eln". +# The BUILD_TARGET & DISTRO environment variables need to be unset or the +# redhat/Makefile will just pick up existing values and not reconsider the +# DIST=".eln" passed to the make dist-dump-variables below. +@test "eln BUILD_TARGET test" { + unset BUILD_TARGET + unset DISTRO + bt=$(make DIST=".eln" dist-dump-variables | grep "BUILD_TARGET=" | cut -d"=" -f2) + run [ "$bt" = "eln" ] + check_status +} diff --git a/ciq/self-test/1006-verify-SPEC-variables.bats b/ciq/self-test/1006-verify-SPEC-variables.bats new file mode 100644 index 0000000000000..8c82b1560bc98 --- /dev/null +++ b/ciq/self-test/1006-verify-SPEC-variables.bats @@ -0,0 +1,31 @@ +#!/usr/bin/env bats +# Purpose: This test looks at the spec file variable replacement code in +# redhat/scripts/genspec/genspec.sh and confirms that each variable begins with "SPEC". + +load test-lib.bash + +_verify_SPEC_variables() { +# This looks at the code and replaces each / with a new-line character, removes +# any whitespace and entry entries beginning with valid "%%SPEC" or $"SPEC". +# "$SOURCES" lines are also okay as it is used to point to the changelog and +# the specfile. +awk '/# self-test begin/, /# self-test end/' $BATS_TEST_DIRNAME/../scripts/genspec/genspec.sh | grep -v "^#" | tr "/" "\n" | tr -d "\"" | sed -r '/^\s*$/d' | grep -v "%%SPEC" | grep -v "\$SPEC" | grep -v "\$SOURCES" | while read LINE +do + echo $LINE + case $(echo $LINE | xargs) in + s) ;; + d) ;; + "sed -i -e") ;; + *) + echo " " + echo "ERROR: Variables passed between genspec.sh and the spec file must begin with %%SPEC or \$SPEC." + exit 1 + ;; + esac +done +} + +@test "verify SPEC variables" { + run _verify_SPEC_variables + check_status +} diff --git a/ciq/self-test/1007-spdx-licenses.bats b/ciq/self-test/1007-spdx-licenses.bats new file mode 100644 index 0000000000000..de331b53fe6d2 --- /dev/null +++ b/ciq/self-test/1007-spdx-licenses.bats @@ -0,0 +1,55 @@ +#!/usr/bin/env bats +# Purpose: This test checks SPDX-License-Identifier: tags in all source files against redhat/LICENSES. + +load test-lib.bash + +SPEC=$BATS_TEST_DIRNAME/../kernel.spec.template + +ERRMSG="ERROR: The kernel RPM spec file License: field does not match the licenses available in the source tree. +Fedora, Centos Stream, and RHEL require that the RPM License field match the licenses in the source tree. See +https://docs.fedoraproject.org/en-US/legal/license-approval/ for further information. +A list of licenses can be generated by executing the redhat/scripts/license/kspdx.py utility. New licenses can +be added to the RPM License field only if they are listed in the Allowed Licenses list +https://docs.fedoraproject.org/en-US/legal/allowed-licenses/). Licenses cannot be added if they are in the +'Not Allowed' Licenses (https://docs.fedoraproject.org/en-US/legal/not-allowed-licenses/). Licenses can be added +to the 'Allowed' or 'Not Allowed' Licenses by following the License Review Process +(https://docs.fedoraproject.org/en-US/legal/license-review-process/)." + +_verify_one_license_tag() { + if [[ $(grep -c '^License:' $SPEC) != "1" ]]; then + echo "ERROR: The specfile is supposed to have exactly one License: tag!" + return 1 + fi +} + +_verify_spdx_licenses() { + spec_licenses=`mktemp` + source_licenses=`mktemp` + grep '^License:' $SPEC | sed 's,License[[:space:]]*:[[:space:]]*,,' | sed 's, AND ,\n,g' | sed 's,^(\(.*\))$,\1,' | sort -u > $spec_licenses + + if ! $BATS_TEST_DIRNAME/../scripts/kspdx-tool/kspdx.py $BATS_TEST_DIRNAME/../../ > $source_licenses; then + echo "ERROR: Failed to gather SPDX-License-Identifier: information from source files!" + return 1 + fi + sort -o $source_licenses $source_licenses + if ! diff -u $spec_licenses $source_licenses; then + echo $ERRMSG + ret=1 + else + ret=0 + fi + rm -f $spec_licenses $source_licenses + return $ret +} + +@test "Verify SPDX-License-Identifier tags" { + if ! test -x $BATS_TEST_DIRNAME/../scripts/kspdx-tool/kspdx.py ; then + skip "kspdx-tool is missing" + fi + + run _verify_one_license_tag + check_status + + _verify_spdx_licenses + check_status +} diff --git a/ciq/self-test/2001-dist-release.bats b/ciq/self-test/2001-dist-release.bats new file mode 100644 index 0000000000000..b9cd8d27f394c --- /dev/null +++ b/ciq/self-test/2001-dist-release.bats @@ -0,0 +1,86 @@ +#!/usr/bin/env bats +# Purpose: These are general dist-release tests. They are run from a git +# worktree created by the first test. + +DIST_RELEASE_REGEX="^\[redhat\] kernel-[0-9.]*" + +load test-lib.bash + +@test "dist-release setup worktree" { + git worktree add $BATS_TMPDIR/distrelease + cd $BATS_TMPDIR/distrelease + # All the tests start off with 'make dist-release', so we can pull + # that out and put it here in the prologue: + DIST=.fc33 make dist-release +} + +@test "dist-release test 1" { + # Test whether a second 'make dist-release' operation creates + # a second commit. It SHOULD NOT. + # Capture 2nd line of log in array; ${loga[0]} is SHA1 + cd $BATS_TMPDIR/distrelease + loga=($(git log --oneline -n 2 | tail -1)) + DIST=.fc33 make dist-release + # Capture 2nd line of log in array; ${logb[0]} is SHA1 + logb=($(git log --oneline -n 2 | tail -1)) + # If SHA1 in loga is the same as the SHA1 in logb, then no + # 2nd commit has been created and the test has succeeded: + run [ ${loga[0]} = ${logb[0]} ] + check_status +} + +_dist-release_test_2() { + echo $pkgrelease | grep -q -w "$build" +} + +@test "dist-release test 2" { + # Test whether release number in commit message matches + # release number in Makefile.rhelver. + # and above in prologue. + cd $BATS_TMPDIR/distrelease + title="$(git log --oneline --grep "${DIST_RELEASE_REGEX}" -n 1 --pretty="format:%s")" + # title = ... [redhat] kernel-5.11.0-0.rc0.20201220git467f8165a2b0.104 + # Just the title message part AFTER "[redhat] ": + title=${title##*\[redhat\] } + # Strip off ...kernel-VV.PP.SS-: + pkgrelease=${title##*kernel-+([5-9]).+([0-9]).+([0-9])-} + build=$(BUILD= DIST=.fc33 make dist-dump-variables | grep -E "^BUILD=" | cut -d"=" -f2 | xargs) + echo "pkgrelease=$pkgrelease" + echo "build=$build" + run _dist-release_test_2 + check_status +} + +_dist-release_test_3() { + [ "$changelog" = "$gitlog" ] +} + +# Note, when running this test on the command line you may have to specifiy the +# RHEL_MAJOR and RHEL_MINOR variables, for example, +# RHEL_MAJOR=9 RHEL_MINOR=99 bats redhat/self-test/2001-dist-release.bats +@test "dist-release test 3" { + # Test whether the version in the commit message matches + # the version in the change log. + cd $BATS_TMPDIR/distrelease + + # Extract just the version part (the part between [ ]) on the first line of + # the change log: + changelog=$(head -1 ./redhat/kernel.changelog-${RHEL_MAJOR}.${RHEL_MINOR} | sed -e 's/.*\[\(.*\)\].*/\1/') + + # Extract the tag in the latest [redhat] kernel commit message + commit="$(git log --oneline --grep "${DIST_RELEASE_REGEX}" -n 1 --pretty="format:%s")" + # Extract just the commit message part AFTER "[redhat] ": + gitlog=${commit##*\[redhat\] } + # This time, strip off "kernel-" also: + gitlog=${gitlog/kernel-/} + + echo "The kernel version in the changelog-${RHEL_MAJOR}.${RHEL_MINOR} ("${changelog}") differs from the version in the git log ($gitlog)" + + run _dist-release_test_3 + check_status +} + +@test "dist-release cleanup worktree" { + git worktree remove --force $BATS_TMPDIR/distrelease + git branch -D distrelease +} diff --git a/ciq/self-test/3001-Makefile-contents.bats b/ciq/self-test/3001-Makefile-contents.bats new file mode 100755 index 0000000000000..d1d0d869eb9aa --- /dev/null +++ b/ciq/self-test/3001-Makefile-contents.bats @@ -0,0 +1,29 @@ +#!/usr/bin/env bats +# Purpose: This is a test that verifies that Makefile.variable variable +# declarations are all declared with "?=" + +load test-lib.bash + +_Makefile_variable_declarations_1() { + git grep "?=" $BATS_TEST_DIRNAME/../Makefile.variables | wc -l +} + +_Makefile_variable_declarations_2() { + git grep "?=" $BATS_TEST_DIRNAME/../Makefile | grep -v "\"?=" | wc -l +} + +@test "Makefile variable declarations" { + run _Makefile_variable_declarations_1 + if [ "$output" -eq 0 ]; then + echo "Test failed: No ?= variables found in Makefile.variables" + status=1 + fi + check_status + + run _Makefile_variable_declarations_2 + if [ "$output" -ne 0 ]; then + echo "Test failed: Makefile should not ?= declarations." + status=1 + fi + check_status +} diff --git a/ciq/self-test/data/centos-2585cf9dfaad.el7 b/ciq/self-test/data/centos-2585cf9dfaad.el7 new file mode 100644 index 0000000000000..829bcbbc6afaa --- /dev/null +++ b/ciq/self-test/data/centos-2585cf9dfaad.el7 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.16.0-0.rc5.6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE=-p stream +BUILD_PROFILE_USERDEF= +BUILD_TARGET=c9s-candidate +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .el7" +CURARCH=x86_64 +DIST=.el7 +DISTBASEVERSION=5.16.0-0.rc5.6.test.el7 +DISTRELEASETAG=kernel-5.16.0-0.rc5.6.test.el7 +DISTRO=centos +DISTRO_USERDEF=centos +DIST_USERDEF=.el7 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=2585cf9dfaaddf00b069673f27bb3f8530e2039c +GNUMAKEFLAGS= +HEAD=2585cf9dfaad +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.16.0-0.rc5.6.test.el7.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.16.0-0.rc5.6.test.el7.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=2585cf9dfaad DISTRO=centos DIST=.el7 RHSELFTESTDATA=1 +MARKER=v5.16-rc5 +MERGE_BASE=2585cf9dfaaddf00b069673f27bb3f8530e2039c +NO_CONFIGCHECKS= +PATCHLIST_URL=none +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.16.0-0.rc5.6.test +RHDISTGIT_BRANCH=c9s +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=2585cf9dfaad +RHJOBS=1 +RHPKG_BIN=centpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=0 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=0.rc5.6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.16.0-0.rc5.6.test.el7 +SPECKEXTRAVERSION=-rc5 +SPECKPATCHLEVEL=16 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.16.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16.0-0.rc5.6.test.el7 +SPECVERSION=5.16.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.16.0-0.rc5.6.test.el7.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16.0-0.rc5.6.test.el7.tar.xz +TARFILE=linux-5.16.0-0.rc5.6.test.el7.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD=0.rc5. +UPSTREAMBUILD_GIT_ONLY= +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16-rc5 +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16-rc5 diff --git a/ciq/self-test/data/centos-2585cf9dfaad.el7.spec b/ciq/self-test/data/centos-2585cf9dfaad.el7.spec new file mode 100755 index 0000000000000..9e5ea913d4eb0 --- /dev/null +++ b/ciq/self-test/data/centos-2585cf9dfaad.el7.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 0 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.16.0 +%define specversion 5.16.0 +%define patchversion 5.16 +%define pkgrelease 0.rc5.6.test +%define kversion 5 +%define tarfile_release 5.16.0-0.rc5.6.test.el7 +%define patchlevel 16 +%define specrelease 0.rc5.6%{?buildid}%{?dist} +%define kabiversion 5.16.0-0.rc5.6.test.el7 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.16.0-0.rc5.6.test] diff --git a/ciq/self-test/data/centos-2585cf9dfaad.fc25 b/ciq/self-test/data/centos-2585cf9dfaad.fc25 new file mode 100644 index 0000000000000..de22c9a675f3f --- /dev/null +++ b/ciq/self-test/data/centos-2585cf9dfaad.fc25 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.16.0-0.rc5.6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE=-p stream +BUILD_PROFILE_USERDEF= +BUILD_TARGET=c9s-candidate +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .fc25" +CURARCH=x86_64 +DIST=.fc25 +DISTBASEVERSION=5.16.0-0.rc5.6.test.fc25 +DISTRELEASETAG=kernel-5.16.0-0.rc5.6.test.fc25 +DISTRO=centos +DISTRO_USERDEF=centos +DIST_USERDEF=.fc25 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=2585cf9dfaaddf00b069673f27bb3f8530e2039c +GNUMAKEFLAGS= +HEAD=2585cf9dfaad +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.16.0-0.rc5.6.test.fc25.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.16.0-0.rc5.6.test.fc25.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=2585cf9dfaad DISTRO=centos DIST=.fc25 RHSELFTESTDATA=1 +MARKER=v5.16-rc5 +MERGE_BASE=2585cf9dfaaddf00b069673f27bb3f8530e2039c +NO_CONFIGCHECKS= +PATCHLIST_URL=none +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.16.0-0.rc5.6.test +RHDISTGIT_BRANCH=c9s +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=2585cf9dfaad +RHJOBS=1 +RHPKG_BIN=centpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=0 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=0.rc5.6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.16.0-0.rc5.6.test.fc25 +SPECKEXTRAVERSION=-rc5 +SPECKPATCHLEVEL=16 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.16.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16.0-0.rc5.6.test.fc25 +SPECVERSION=5.16.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.16.0-0.rc5.6.test.fc25.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16.0-0.rc5.6.test.fc25.tar.xz +TARFILE=linux-5.16.0-0.rc5.6.test.fc25.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD=0.rc5. +UPSTREAMBUILD_GIT_ONLY= +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16-rc5 +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16-rc5 diff --git a/ciq/self-test/data/centos-2585cf9dfaad.fc25.spec b/ciq/self-test/data/centos-2585cf9dfaad.fc25.spec new file mode 100755 index 0000000000000..a8f70914a2f32 --- /dev/null +++ b/ciq/self-test/data/centos-2585cf9dfaad.fc25.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 0 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.16.0 +%define specversion 5.16.0 +%define patchversion 5.16 +%define pkgrelease 0.rc5.6.test +%define kversion 5 +%define tarfile_release 5.16.0-0.rc5.6.test.fc25 +%define patchlevel 16 +%define specrelease 0.rc5.6%{?buildid}%{?dist} +%define kabiversion 5.16.0-0.rc5.6.test.fc25 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.16.0-0.rc5.6.test] diff --git a/ciq/self-test/data/centos-78e36f3b0dae.el7 b/ciq/self-test/data/centos-78e36f3b0dae.el7 new file mode 100644 index 0000000000000..dd24a6f42f8bd --- /dev/null +++ b/ciq/self-test/data/centos-78e36f3b0dae.el7 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.17.0-0.rc0.78e36f3b0dae.6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE=-p stream +BUILD_PROFILE_USERDEF= +BUILD_TARGET=c9s-candidate +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .el7" +CURARCH=x86_64 +DIST=.el7 +DISTBASEVERSION=5.17.0-0.rc0.78e36f3b0dae.6.test.el7 +DISTRELEASETAG=kernel-5.17.0-0.rc0.78e36f3b0dae.6.test.el7 +DISTRO=centos +DISTRO_USERDEF=centos +DIST_USERDEF=.el7 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=78e36f3b0dae586f623c4a37ec5eb5496f5abbe1 +GNUMAKEFLAGS= +HEAD=78e36f3b0dae +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.17.0-0.rc0.78e36f3b0dae.6.test.el7.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.17.0-0.rc0.78e36f3b0dae.6.test.el7.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=78e36f3b0dae DISTRO=centos DIST=.el7 RHSELFTESTDATA=1 +MARKER=78e36f3b0dae +MERGE_BASE=78e36f3b0dae586f623c4a37ec5eb5496f5abbe1 +NO_CONFIGCHECKS= +PATCHLIST_URL=none +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.17.0-0.rc0.78e36f3b0dae.6.test +RHDISTGIT_BRANCH=c9s +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=78e36f3b0dae +RHJOBS=1 +RHPKG_BIN=centpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=1 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=0.rc0.78e36f3b0dae.6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.17.0-0.rc0.78e36f3b0dae.6.test.el7 +SPECKEXTRAVERSION= +SPECKPATCHLEVEL=17 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.17.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.17.0-0.rc0.78e36f3b0dae.6.test.el7 +SPECVERSION=5.17.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.17.0-0.rc0.78e36f3b0dae.6.test.el7.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.17.0-0.rc0.78e36f3b0dae.6.test.el7.tar.xz +TARFILE=linux-5.17.0-0.rc0.78e36f3b0dae.6.test.el7.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD=0.rc0.78e36f3b0dae. +UPSTREAMBUILD_GIT_ONLY=1 +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16-11523-g78e36f3b0dae +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16-11523-g78e36f3b0dae diff --git a/ciq/self-test/data/centos-78e36f3b0dae.el7.spec b/ciq/self-test/data/centos-78e36f3b0dae.el7.spec new file mode 100755 index 0000000000000..3ee52e03d8661 --- /dev/null +++ b/ciq/self-test/data/centos-78e36f3b0dae.el7.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 0 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.17.0 +%define specversion 5.17.0 +%define patchversion 5.17 +%define pkgrelease 0.rc0.78e36f3b0dae.6.test +%define kversion 5 +%define tarfile_release 5.17.0-0.rc0.78e36f3b0dae.6.test.el7 +%define patchlevel 17 +%define specrelease 0.rc0.78e36f3b0dae.6%{?buildid}%{?dist} +%define kabiversion 5.17.0-0.rc0.78e36f3b0dae.6.test.el7 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.17.0-0.rc0.78e36f3b0dae.6.test] diff --git a/ciq/self-test/data/centos-78e36f3b0dae.fc25 b/ciq/self-test/data/centos-78e36f3b0dae.fc25 new file mode 100644 index 0000000000000..8e8c4008ed7ab --- /dev/null +++ b/ciq/self-test/data/centos-78e36f3b0dae.fc25 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.17.0-0.rc0.78e36f3b0dae.6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE=-p stream +BUILD_PROFILE_USERDEF= +BUILD_TARGET=c9s-candidate +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .fc25" +CURARCH=x86_64 +DIST=.fc25 +DISTBASEVERSION=5.17.0-0.rc0.78e36f3b0dae.6.test.fc25 +DISTRELEASETAG=kernel-5.17.0-0.rc0.78e36f3b0dae.6.test.fc25 +DISTRO=centos +DISTRO_USERDEF=centos +DIST_USERDEF=.fc25 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=78e36f3b0dae586f623c4a37ec5eb5496f5abbe1 +GNUMAKEFLAGS= +HEAD=78e36f3b0dae +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.17.0-0.rc0.78e36f3b0dae.6.test.fc25.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.17.0-0.rc0.78e36f3b0dae.6.test.fc25.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=78e36f3b0dae DISTRO=centos DIST=.fc25 RHSELFTESTDATA=1 +MARKER=78e36f3b0dae +MERGE_BASE=78e36f3b0dae586f623c4a37ec5eb5496f5abbe1 +NO_CONFIGCHECKS= +PATCHLIST_URL=none +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.17.0-0.rc0.78e36f3b0dae.6.test +RHDISTGIT_BRANCH=c9s +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=78e36f3b0dae +RHJOBS=1 +RHPKG_BIN=centpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=1 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=0.rc0.78e36f3b0dae.6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.17.0-0.rc0.78e36f3b0dae.6.test.fc25 +SPECKEXTRAVERSION= +SPECKPATCHLEVEL=17 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.17.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.17.0-0.rc0.78e36f3b0dae.6.test.fc25 +SPECVERSION=5.17.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.17.0-0.rc0.78e36f3b0dae.6.test.fc25.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.17.0-0.rc0.78e36f3b0dae.6.test.fc25.tar.xz +TARFILE=linux-5.17.0-0.rc0.78e36f3b0dae.6.test.fc25.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD=0.rc0.78e36f3b0dae. +UPSTREAMBUILD_GIT_ONLY=1 +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16-11523-g78e36f3b0dae +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16-11523-g78e36f3b0dae diff --git a/ciq/self-test/data/centos-78e36f3b0dae.fc25.spec b/ciq/self-test/data/centos-78e36f3b0dae.fc25.spec new file mode 100755 index 0000000000000..15332f147fec6 --- /dev/null +++ b/ciq/self-test/data/centos-78e36f3b0dae.fc25.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 0 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.17.0 +%define specversion 5.17.0 +%define patchversion 5.17 +%define pkgrelease 0.rc0.78e36f3b0dae.6.test +%define kversion 5 +%define tarfile_release 5.17.0-0.rc0.78e36f3b0dae.6.test.fc25 +%define patchlevel 17 +%define specrelease 0.rc0.78e36f3b0dae.6%{?buildid}%{?dist} +%define kabiversion 5.17.0-0.rc0.78e36f3b0dae.6.test.fc25 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.17.0-0.rc0.78e36f3b0dae.6.test] diff --git a/ciq/self-test/data/centos-df0cc57e057f.el7 b/ciq/self-test/data/centos-df0cc57e057f.el7 new file mode 100644 index 0000000000000..65b964244bf1e --- /dev/null +++ b/ciq/self-test/data/centos-df0cc57e057f.el7 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.16.0-6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE=-p stream +BUILD_PROFILE_USERDEF= +BUILD_TARGET=c9s-candidate +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .el7" +CURARCH=x86_64 +DIST=.el7 +DISTBASEVERSION=5.16.0-6.test.el7 +DISTRELEASETAG=kernel-5.16.0-6.test.el7 +DISTRO=centos +DISTRO_USERDEF=centos +DIST_USERDEF=.el7 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=df0cc57e057f18e44dac8e6c18aba47ab53202f9 +GNUMAKEFLAGS= +HEAD=df0cc57e057f +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.16.0-6.test.el7.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.16.0-6.test.el7.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=df0cc57e057f DISTRO=centos DIST=.el7 RHSELFTESTDATA=1 +MARKER=v5.16 +MERGE_BASE=df0cc57e057f18e44dac8e6c18aba47ab53202f9 +NO_CONFIGCHECKS= +PATCHLIST_URL=none +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.16.0-6.test +RHDISTGIT_BRANCH=c9s +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=df0cc57e057f +RHJOBS=1 +RHPKG_BIN=centpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=0 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.16.0-6.test.el7 +SPECKEXTRAVERSION= +SPECKPATCHLEVEL=16 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.16.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16.0-6.test.el7 +SPECVERSION=5.16.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.16.0-6.test.el7.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16.0-6.test.el7.tar.xz +TARFILE=linux-5.16.0-6.test.el7.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD= +UPSTREAMBUILD_GIT_ONLY= +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16 +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16 diff --git a/ciq/self-test/data/centos-df0cc57e057f.el7.spec b/ciq/self-test/data/centos-df0cc57e057f.el7.spec new file mode 100755 index 0000000000000..14c158d7140ce --- /dev/null +++ b/ciq/self-test/data/centos-df0cc57e057f.el7.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 0 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.16.0 +%define specversion 5.16.0 +%define patchversion 5.16 +%define pkgrelease 6.test +%define kversion 5 +%define tarfile_release 5.16.0-6.test.el7 +%define patchlevel 16 +%define specrelease 6%{?buildid}%{?dist} +%define kabiversion 5.16.0-6.test.el7 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.16.0-6.test] diff --git a/ciq/self-test/data/centos-df0cc57e057f.fc25 b/ciq/self-test/data/centos-df0cc57e057f.fc25 new file mode 100644 index 0000000000000..5b2993c2e4a5a --- /dev/null +++ b/ciq/self-test/data/centos-df0cc57e057f.fc25 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.16.0-6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE=-p stream +BUILD_PROFILE_USERDEF= +BUILD_TARGET=c9s-candidate +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .fc25" +CURARCH=x86_64 +DIST=.fc25 +DISTBASEVERSION=5.16.0-6.test.fc25 +DISTRELEASETAG=kernel-5.16.0-6.test.fc25 +DISTRO=centos +DISTRO_USERDEF=centos +DIST_USERDEF=.fc25 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=df0cc57e057f18e44dac8e6c18aba47ab53202f9 +GNUMAKEFLAGS= +HEAD=df0cc57e057f +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.16.0-6.test.fc25.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.16.0-6.test.fc25.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=df0cc57e057f DISTRO=centos DIST=.fc25 RHSELFTESTDATA=1 +MARKER=v5.16 +MERGE_BASE=df0cc57e057f18e44dac8e6c18aba47ab53202f9 +NO_CONFIGCHECKS= +PATCHLIST_URL=none +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.16.0-6.test +RHDISTGIT_BRANCH=c9s +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=df0cc57e057f +RHJOBS=1 +RHPKG_BIN=centpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=0 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.16.0-6.test.fc25 +SPECKEXTRAVERSION= +SPECKPATCHLEVEL=16 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.16.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16.0-6.test.fc25 +SPECVERSION=5.16.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.16.0-6.test.fc25.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16.0-6.test.fc25.tar.xz +TARFILE=linux-5.16.0-6.test.fc25.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD= +UPSTREAMBUILD_GIT_ONLY= +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16 +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16 diff --git a/ciq/self-test/data/centos-df0cc57e057f.fc25.spec b/ciq/self-test/data/centos-df0cc57e057f.fc25.spec new file mode 100755 index 0000000000000..99600b7631e94 --- /dev/null +++ b/ciq/self-test/data/centos-df0cc57e057f.fc25.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 0 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.16.0 +%define specversion 5.16.0 +%define patchversion 5.16 +%define pkgrelease 6.test +%define kversion 5 +%define tarfile_release 5.16.0-6.test.fc25 +%define patchlevel 16 +%define specrelease 6%{?buildid}%{?dist} +%define kabiversion 5.16.0-6.test.fc25 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.16.0-6.test] diff --git a/ciq/self-test/data/centos-fce15c45d3fb.el7 b/ciq/self-test/data/centos-fce15c45d3fb.el7 new file mode 100644 index 0000000000000..ca5348578858e --- /dev/null +++ b/ciq/self-test/data/centos-fce15c45d3fb.el7 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.16.0-0.rc5.fce15c45d3fb.6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE=-p stream +BUILD_PROFILE_USERDEF= +BUILD_TARGET=c9s-candidate +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .el7" +CURARCH=x86_64 +DIST=.el7 +DISTBASEVERSION=5.16.0-0.rc5.fce15c45d3fb.6.test.el7 +DISTRELEASETAG=kernel-5.16.0-0.rc5.fce15c45d3fb.6.test.el7 +DISTRO=centos +DISTRO_USERDEF=centos +DIST_USERDEF=.el7 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=fce15c45d3fbd9fc1feaaf3210d8e3f8b33dfd3a +GNUMAKEFLAGS= +HEAD=fce15c45d3fb +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.16.0-0.rc5.fce15c45d3fb.6.test.el7.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.16.0-0.rc5.fce15c45d3fb.6.test.el7.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=fce15c45d3fb DISTRO=centos DIST=.el7 RHSELFTESTDATA=1 +MARKER=fce15c45d3fb +MERGE_BASE=fce15c45d3fbd9fc1feaaf3210d8e3f8b33dfd3a +NO_CONFIGCHECKS= +PATCHLIST_URL=none +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.16.0-0.rc5.fce15c45d3fb.6.test +RHDISTGIT_BRANCH=c9s +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=fce15c45d3fb +RHJOBS=1 +RHPKG_BIN=centpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=1 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=0.rc5.fce15c45d3fb.6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.16.0-0.rc5.fce15c45d3fb.6.test.el7 +SPECKEXTRAVERSION=-rc5 +SPECKPATCHLEVEL=16 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.16.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16.0-0.rc5.fce15c45d3fb.6.test.el7 +SPECVERSION=5.16.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.16.0-0.rc5.fce15c45d3fb.6.test.el7.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16.0-0.rc5.fce15c45d3fb.6.test.el7.tar.xz +TARFILE=linux-5.16.0-0.rc5.fce15c45d3fb.6.test.el7.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD=0.rc5.fce15c45d3fb. +UPSTREAMBUILD_GIT_ONLY=1 +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16-rc5-1-gfce15c45d3fb +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16-rc5-1-gfce15c45d3fb diff --git a/ciq/self-test/data/centos-fce15c45d3fb.el7.spec b/ciq/self-test/data/centos-fce15c45d3fb.el7.spec new file mode 100755 index 0000000000000..67a31f42b557c --- /dev/null +++ b/ciq/self-test/data/centos-fce15c45d3fb.el7.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 0 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.16.0 +%define specversion 5.16.0 +%define patchversion 5.16 +%define pkgrelease 0.rc5.fce15c45d3fb.6.test +%define kversion 5 +%define tarfile_release 5.16.0-0.rc5.fce15c45d3fb.6.test.el7 +%define patchlevel 16 +%define specrelease 0.rc5.fce15c45d3fb.6%{?buildid}%{?dist} +%define kabiversion 5.16.0-0.rc5.fce15c45d3fb.6.test.el7 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.16.0-0.rc5.fce15c45d3fb.6.test] diff --git a/ciq/self-test/data/centos-fce15c45d3fb.fc25 b/ciq/self-test/data/centos-fce15c45d3fb.fc25 new file mode 100644 index 0000000000000..570dc77e88aa6 --- /dev/null +++ b/ciq/self-test/data/centos-fce15c45d3fb.fc25 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.16.0-0.rc5.fce15c45d3fb.6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE=-p stream +BUILD_PROFILE_USERDEF= +BUILD_TARGET=c9s-candidate +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .fc25" +CURARCH=x86_64 +DIST=.fc25 +DISTBASEVERSION=5.16.0-0.rc5.fce15c45d3fb.6.test.fc25 +DISTRELEASETAG=kernel-5.16.0-0.rc5.fce15c45d3fb.6.test.fc25 +DISTRO=centos +DISTRO_USERDEF=centos +DIST_USERDEF=.fc25 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=fce15c45d3fbd9fc1feaaf3210d8e3f8b33dfd3a +GNUMAKEFLAGS= +HEAD=fce15c45d3fb +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.16.0-0.rc5.fce15c45d3fb.6.test.fc25.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.16.0-0.rc5.fce15c45d3fb.6.test.fc25.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=fce15c45d3fb DISTRO=centos DIST=.fc25 RHSELFTESTDATA=1 +MARKER=fce15c45d3fb +MERGE_BASE=fce15c45d3fbd9fc1feaaf3210d8e3f8b33dfd3a +NO_CONFIGCHECKS= +PATCHLIST_URL=none +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.16.0-0.rc5.fce15c45d3fb.6.test +RHDISTGIT_BRANCH=c9s +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=fce15c45d3fb +RHJOBS=1 +RHPKG_BIN=centpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=1 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=0.rc5.fce15c45d3fb.6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.16.0-0.rc5.fce15c45d3fb.6.test.fc25 +SPECKEXTRAVERSION=-rc5 +SPECKPATCHLEVEL=16 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.16.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16.0-0.rc5.fce15c45d3fb.6.test.fc25 +SPECVERSION=5.16.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.16.0-0.rc5.fce15c45d3fb.6.test.fc25.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16.0-0.rc5.fce15c45d3fb.6.test.fc25.tar.xz +TARFILE=linux-5.16.0-0.rc5.fce15c45d3fb.6.test.fc25.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD=0.rc5.fce15c45d3fb. +UPSTREAMBUILD_GIT_ONLY=1 +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16-rc5-1-gfce15c45d3fb +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16-rc5-1-gfce15c45d3fb diff --git a/ciq/self-test/data/centos-fce15c45d3fb.fc25.spec b/ciq/self-test/data/centos-fce15c45d3fb.fc25.spec new file mode 100755 index 0000000000000..f17d2ee713abe --- /dev/null +++ b/ciq/self-test/data/centos-fce15c45d3fb.fc25.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 0 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.16.0 +%define specversion 5.16.0 +%define patchversion 5.16 +%define pkgrelease 0.rc5.fce15c45d3fb.6.test +%define kversion 5 +%define tarfile_release 5.16.0-0.rc5.fce15c45d3fb.6.test.fc25 +%define patchlevel 16 +%define specrelease 0.rc5.fce15c45d3fb.6%{?buildid}%{?dist} +%define kabiversion 5.16.0-0.rc5.fce15c45d3fb.6.test.fc25 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.16.0-0.rc5.fce15c45d3fb.6.test] diff --git a/ciq/self-test/data/create-data.sh b/ciq/self-test/data/create-data.sh new file mode 100755 index 0000000000000..97008a6acb182 --- /dev/null +++ b/ciq/self-test/data/create-data.sh @@ -0,0 +1,90 @@ +#!/usr/bin/bash + +# This script generates 'dist-dump-variables' output for various configurations +# using known ark commit IDs. It uses this information as well as setting +# different values for DISTRO and DIST. +# +# The ark commit IDs are +# +# 78e36f3b0dae := 5.17.0 merge window (5.16 + additional changes before -rc1) +# 2585cf9dfaad := 5.16-rc5 +# df0cc57e057f := 5.16 +# fce15c45d3fb := 5.16-rc5 + 2 additional commits +# + +[ -z "${RHDISTDATADIR}" ] && echo "ERROR: RHDISTDATADIR undefined." && exit 1 + +# Store variables used in *this* script before unsetting them below. +destdir="${RHDISTDATADIR}" +# shellcheck disable=SC2153 +sources="${SOURCES}" + +# unset all redhat/Makefile variables so they do not interfere with make targets below +makefile_vars=$(make dist-dump-variables | grep "=" | cut -d"=" -f1) +while read -r VAR; do unset "$VAR"; done < <(echo "$makefile_vars") + +specfile_helper () { + local specfilename + + specfilename=$1 + cp ./kernel.spec.template "${varfilename}.spec.template" + make RHSELFTESTDATA=1 SPECFILE="${specfilename}.spec" DIST="${DIST}" DISTRO="${DISTRO}" HEAD="${commit}" setup-source + grep -Fvx -f "${specfilename}.spec.template" "${sources}/${specfilename}.spec" > "${destdir}"/"${specfilename}".spec + # Ignore bpftoolversion definition as it may change. + sed -i '/^%define bpftoolversion /d' "${destdir}"/"${specfilename}".spec + rm -f "${specfilename}.spec.template" +} + +for DISTRO in fedora rhel centos +do + for commit in 78e36f3b0dae 2585cf9dfaad df0cc57e057f fce15c45d3fb + do + for DIST in .fc25 .el7 + do + varfilename="${DISTRO}-${commit}${DIST}" + + echo "building ${destdir}/$varfilename" + + # Ignored Makefile variables: + # CURDIR is a make special target and cannot be easily changed. + # UPSTREAM is the base merge commit and can change from day-to-day as + # the tree is changed. + # RHEL_RELEASE can change build-to-build. + # SHELL can change depending on user's environment + # RHGITURL may change depending on the user's method of cloning + # RHDISTDATADIR will change based on these tests + # VARS is a list of variables added for the 'dist-dump-variables' target + # and can be ignored. + make RHSELFTESTDATA=1 DIST="${DIST}" DISTRO="${DISTRO}" HEAD=${commit} dist-dump-variables | grep "=" |\ + grep -v -w CURDIR |\ + grep -v -w UPSTREAM |\ + grep -v -w RHEL_RELEASE |\ + grep -v -w SHELL |\ + grep -v -w RHGITURL |\ + grep -v -w RHDISTDATADIR |\ + grep -v -w VARS |\ + sort -u >& "${destdir}/${varfilename}" && \ + sed -i 's/ \S*\(rhpkg.mk\)\S*//g' "${destdir}/${varfilename}" & + + # shellcheck disable=SC2004 + waitpids[${count}]=$! + ((count++)) + + echo "building ${destdir}/${varfilename}.spec" + specfile_helper "${varfilename}" & + # shellcheck disable=SC2004 + waitpids[${count}]=$! + ((count++)) + done + + # There isn't an easy way to make sure the parallel execution doesn't go crazy + # and hammer a system. Putting the wait loop here will artificially limit the + # number of jobs. + # shellcheck disable=SC2048 + for pid in ${waitpids[*]}; do + wait "${pid}" + done + done +done + +exit 0 diff --git a/ciq/self-test/data/fedora-2585cf9dfaad.el7 b/ciq/self-test/data/fedora-2585cf9dfaad.el7 new file mode 100644 index 0000000000000..ab477a886e43e --- /dev/null +++ b/ciq/self-test/data/fedora-2585cf9dfaad.el7 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.16.0-0.rc5.6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE= +BUILD_PROFILE_USERDEF= +BUILD_TARGET=rawhide +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .el7" +CURARCH=x86_64 +DIST=.el7 +DISTBASEVERSION=5.16.0-0.rc5.6.test +DISTRELEASETAG=kernel-5.16.0-0.rc5.6.test +DISTRO=fedora +DISTRO_USERDEF=fedora +DIST_USERDEF=.el7 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=2585cf9dfaaddf00b069673f27bb3f8530e2039c +GNUMAKEFLAGS= +HEAD=2585cf9dfaad +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.16.0.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.16.0.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=2585cf9dfaad DISTRO=fedora DIST=.el7 RHSELFTESTDATA=1 +MARKER=v5.16-rc5 +MERGE_BASE=2585cf9dfaaddf00b069673f27bb3f8530e2039c +NO_CONFIGCHECKS= +PATCHLIST_URL=https://gitlab.com/cki-project/kernel-ark/-/commit +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.16.0-0.rc5.6.test +RHDISTGIT_BRANCH=rawhide +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=2585cf9dfaad +RHJOBS=1 +RHPKG_BIN=fedpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=0 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=0.rc5.6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.16.0 +SPECKEXTRAVERSION=-rc5 +SPECKPATCHLEVEL=16 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.16.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16-rc5 +SPECVERSION=5.16.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.16.0-0.rc5.6.test.el7.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16-rc5.tar.xz +TARFILE=linux-5.16-rc5.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD=0.rc5. +UPSTREAMBUILD_GIT_ONLY= +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16-rc5 +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16-rc5 diff --git a/ciq/self-test/data/fedora-2585cf9dfaad.el7.spec b/ciq/self-test/data/fedora-2585cf9dfaad.el7.spec new file mode 100755 index 0000000000000..c794a83c15f3e --- /dev/null +++ b/ciq/self-test/data/fedora-2585cf9dfaad.el7.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 1 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.16.0 +%define specversion 5.16.0 +%define patchversion 5.16 +%define pkgrelease 0.rc5.6.test +%define kversion 5 +%define tarfile_release 5.16-rc5 +%define patchlevel 16 +%define specrelease 0.rc5.6%{?buildid}%{?dist} +%define kabiversion 5.16.0 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.16.0-0.rc5.6.test] diff --git a/ciq/self-test/data/fedora-2585cf9dfaad.fc25 b/ciq/self-test/data/fedora-2585cf9dfaad.fc25 new file mode 100644 index 0000000000000..5b4a5c66e2f67 --- /dev/null +++ b/ciq/self-test/data/fedora-2585cf9dfaad.fc25 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.16.0-0.rc5.6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE= +BUILD_PROFILE_USERDEF= +BUILD_TARGET=rawhide +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .fc25" +CURARCH=x86_64 +DIST=.fc25 +DISTBASEVERSION=5.16.0-0.rc5.6.test +DISTRELEASETAG=kernel-5.16.0-0.rc5.6.test +DISTRO=fedora +DISTRO_USERDEF=fedora +DIST_USERDEF=.fc25 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=2585cf9dfaaddf00b069673f27bb3f8530e2039c +GNUMAKEFLAGS= +HEAD=2585cf9dfaad +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.16.0.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.16.0.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=2585cf9dfaad DISTRO=fedora DIST=.fc25 RHSELFTESTDATA=1 +MARKER=v5.16-rc5 +MERGE_BASE=2585cf9dfaaddf00b069673f27bb3f8530e2039c +NO_CONFIGCHECKS= +PATCHLIST_URL=https://gitlab.com/cki-project/kernel-ark/-/commit +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.16.0-0.rc5.6.test +RHDISTGIT_BRANCH=rawhide +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=2585cf9dfaad +RHJOBS=1 +RHPKG_BIN=fedpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=0 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=0.rc5.6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.16.0 +SPECKEXTRAVERSION=-rc5 +SPECKPATCHLEVEL=16 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.16.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16-rc5 +SPECVERSION=5.16.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.16.0-0.rc5.6.test.fc25.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16-rc5.tar.xz +TARFILE=linux-5.16-rc5.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD=0.rc5. +UPSTREAMBUILD_GIT_ONLY= +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16-rc5 +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16-rc5 diff --git a/ciq/self-test/data/fedora-2585cf9dfaad.fc25.spec b/ciq/self-test/data/fedora-2585cf9dfaad.fc25.spec new file mode 100755 index 0000000000000..c794a83c15f3e --- /dev/null +++ b/ciq/self-test/data/fedora-2585cf9dfaad.fc25.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 1 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.16.0 +%define specversion 5.16.0 +%define patchversion 5.16 +%define pkgrelease 0.rc5.6.test +%define kversion 5 +%define tarfile_release 5.16-rc5 +%define patchlevel 16 +%define specrelease 0.rc5.6%{?buildid}%{?dist} +%define kabiversion 5.16.0 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.16.0-0.rc5.6.test] diff --git a/ciq/self-test/data/fedora-78e36f3b0dae.el7 b/ciq/self-test/data/fedora-78e36f3b0dae.el7 new file mode 100644 index 0000000000000..5a3de64091de9 --- /dev/null +++ b/ciq/self-test/data/fedora-78e36f3b0dae.el7 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.17.0-0.rc0.78e36f3b0dae.6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE= +BUILD_PROFILE_USERDEF= +BUILD_TARGET=rawhide +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .el7" +CURARCH=x86_64 +DIST=.el7 +DISTBASEVERSION=5.17.0-0.rc0.78e36f3b0dae.6.test +DISTRELEASETAG=kernel-5.17.0-0.rc0.78e36f3b0dae.6.test +DISTRO=fedora +DISTRO_USERDEF=fedora +DIST_USERDEF=.el7 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=78e36f3b0dae586f623c4a37ec5eb5496f5abbe1 +GNUMAKEFLAGS= +HEAD=78e36f3b0dae +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.17.0.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.17.0.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=78e36f3b0dae DISTRO=fedora DIST=.el7 RHSELFTESTDATA=1 +MARKER=78e36f3b0dae +MERGE_BASE=78e36f3b0dae586f623c4a37ec5eb5496f5abbe1 +NO_CONFIGCHECKS= +PATCHLIST_URL=https://gitlab.com/cki-project/kernel-ark/-/commit +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.17.0-0.rc0.78e36f3b0dae.6.test +RHDISTGIT_BRANCH=rawhide +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=78e36f3b0dae +RHJOBS=1 +RHPKG_BIN=fedpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=1 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=0.rc0.78e36f3b0dae.6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.17.0 +SPECKEXTRAVERSION= +SPECKPATCHLEVEL=17 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.17.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16-11523-g78e36f3b0dae +SPECVERSION=5.17.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.17.0-0.rc0.78e36f3b0dae.6.test.el7.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16-11523-g78e36f3b0dae.tar.xz +TARFILE=linux-5.16-11523-g78e36f3b0dae.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD=0.rc0.78e36f3b0dae. +UPSTREAMBUILD_GIT_ONLY=1 +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16-11523-g78e36f3b0dae +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16-11523-g78e36f3b0dae diff --git a/ciq/self-test/data/fedora-78e36f3b0dae.el7.spec b/ciq/self-test/data/fedora-78e36f3b0dae.el7.spec new file mode 100755 index 0000000000000..4ffbd664f1714 --- /dev/null +++ b/ciq/self-test/data/fedora-78e36f3b0dae.el7.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 1 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.17.0 +%define specversion 5.17.0 +%define patchversion 5.17 +%define pkgrelease 0.rc0.78e36f3b0dae.6.test +%define kversion 5 +%define tarfile_release 5.16-11523-g78e36f3b0dae +%define patchlevel 17 +%define specrelease 0.rc0.78e36f3b0dae.6%{?buildid}%{?dist} +%define kabiversion 5.17.0 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.17.0-0.rc0.78e36f3b0dae.6.test] diff --git a/ciq/self-test/data/fedora-78e36f3b0dae.fc25 b/ciq/self-test/data/fedora-78e36f3b0dae.fc25 new file mode 100644 index 0000000000000..14b3538c00cd6 --- /dev/null +++ b/ciq/self-test/data/fedora-78e36f3b0dae.fc25 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.17.0-0.rc0.78e36f3b0dae.6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE= +BUILD_PROFILE_USERDEF= +BUILD_TARGET=rawhide +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .fc25" +CURARCH=x86_64 +DIST=.fc25 +DISTBASEVERSION=5.17.0-0.rc0.78e36f3b0dae.6.test +DISTRELEASETAG=kernel-5.17.0-0.rc0.78e36f3b0dae.6.test +DISTRO=fedora +DISTRO_USERDEF=fedora +DIST_USERDEF=.fc25 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=78e36f3b0dae586f623c4a37ec5eb5496f5abbe1 +GNUMAKEFLAGS= +HEAD=78e36f3b0dae +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.17.0.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.17.0.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=78e36f3b0dae DISTRO=fedora DIST=.fc25 RHSELFTESTDATA=1 +MARKER=78e36f3b0dae +MERGE_BASE=78e36f3b0dae586f623c4a37ec5eb5496f5abbe1 +NO_CONFIGCHECKS= +PATCHLIST_URL=https://gitlab.com/cki-project/kernel-ark/-/commit +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.17.0-0.rc0.78e36f3b0dae.6.test +RHDISTGIT_BRANCH=rawhide +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=78e36f3b0dae +RHJOBS=1 +RHPKG_BIN=fedpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=1 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=0.rc0.78e36f3b0dae.6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.17.0 +SPECKEXTRAVERSION= +SPECKPATCHLEVEL=17 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.17.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16-11523-g78e36f3b0dae +SPECVERSION=5.17.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.17.0-0.rc0.78e36f3b0dae.6.test.fc25.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16-11523-g78e36f3b0dae.tar.xz +TARFILE=linux-5.16-11523-g78e36f3b0dae.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD=0.rc0.78e36f3b0dae. +UPSTREAMBUILD_GIT_ONLY=1 +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16-11523-g78e36f3b0dae +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16-11523-g78e36f3b0dae diff --git a/ciq/self-test/data/fedora-78e36f3b0dae.fc25.spec b/ciq/self-test/data/fedora-78e36f3b0dae.fc25.spec new file mode 100755 index 0000000000000..4ffbd664f1714 --- /dev/null +++ b/ciq/self-test/data/fedora-78e36f3b0dae.fc25.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 1 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.17.0 +%define specversion 5.17.0 +%define patchversion 5.17 +%define pkgrelease 0.rc0.78e36f3b0dae.6.test +%define kversion 5 +%define tarfile_release 5.16-11523-g78e36f3b0dae +%define patchlevel 17 +%define specrelease 0.rc0.78e36f3b0dae.6%{?buildid}%{?dist} +%define kabiversion 5.17.0 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.17.0-0.rc0.78e36f3b0dae.6.test] diff --git a/ciq/self-test/data/fedora-df0cc57e057f.el7 b/ciq/self-test/data/fedora-df0cc57e057f.el7 new file mode 100644 index 0000000000000..75c5b242f1625 --- /dev/null +++ b/ciq/self-test/data/fedora-df0cc57e057f.el7 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.16.0-6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE= +BUILD_PROFILE_USERDEF= +BUILD_TARGET=rawhide +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .el7" +CURARCH=x86_64 +DIST=.el7 +DISTBASEVERSION=5.16.0-6.test +DISTRELEASETAG=kernel-5.16.0-6.test +DISTRO=fedora +DISTRO_USERDEF=fedora +DIST_USERDEF=.el7 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=df0cc57e057f18e44dac8e6c18aba47ab53202f9 +GNUMAKEFLAGS= +HEAD=df0cc57e057f +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.16.0.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.16.0.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=df0cc57e057f DISTRO=fedora DIST=.el7 RHSELFTESTDATA=1 +MARKER=v5.16 +MERGE_BASE=df0cc57e057f18e44dac8e6c18aba47ab53202f9 +NO_CONFIGCHECKS= +PATCHLIST_URL=https://gitlab.com/cki-project/kernel-ark/-/commit +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.16.0-6.test +RHDISTGIT_BRANCH=rawhide +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=df0cc57e057f +RHJOBS=1 +RHPKG_BIN=fedpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=0 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.16.0 +SPECKEXTRAVERSION= +SPECKPATCHLEVEL=16 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.16.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16 +SPECVERSION=5.16.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.16.0-6.test.el7.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16.tar.xz +TARFILE=linux-5.16.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD= +UPSTREAMBUILD_GIT_ONLY= +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16 +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16 diff --git a/ciq/self-test/data/fedora-df0cc57e057f.el7.spec b/ciq/self-test/data/fedora-df0cc57e057f.el7.spec new file mode 100755 index 0000000000000..58b3c85bf2391 --- /dev/null +++ b/ciq/self-test/data/fedora-df0cc57e057f.el7.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 1 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.16.0 +%define specversion 5.16.0 +%define patchversion 5.16 +%define pkgrelease 6.test +%define kversion 5 +%define tarfile_release 5.16 +%define patchlevel 16 +%define specrelease 6%{?buildid}%{?dist} +%define kabiversion 5.16.0 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.16.0-6.test] diff --git a/ciq/self-test/data/fedora-df0cc57e057f.fc25 b/ciq/self-test/data/fedora-df0cc57e057f.fc25 new file mode 100644 index 0000000000000..e0e1f91a611de --- /dev/null +++ b/ciq/self-test/data/fedora-df0cc57e057f.fc25 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.16.0-6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE= +BUILD_PROFILE_USERDEF= +BUILD_TARGET=rawhide +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .fc25" +CURARCH=x86_64 +DIST=.fc25 +DISTBASEVERSION=5.16.0-6.test +DISTRELEASETAG=kernel-5.16.0-6.test +DISTRO=fedora +DISTRO_USERDEF=fedora +DIST_USERDEF=.fc25 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=df0cc57e057f18e44dac8e6c18aba47ab53202f9 +GNUMAKEFLAGS= +HEAD=df0cc57e057f +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.16.0.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.16.0.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=df0cc57e057f DISTRO=fedora DIST=.fc25 RHSELFTESTDATA=1 +MARKER=v5.16 +MERGE_BASE=df0cc57e057f18e44dac8e6c18aba47ab53202f9 +NO_CONFIGCHECKS= +PATCHLIST_URL=https://gitlab.com/cki-project/kernel-ark/-/commit +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.16.0-6.test +RHDISTGIT_BRANCH=rawhide +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=df0cc57e057f +RHJOBS=1 +RHPKG_BIN=fedpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=0 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.16.0 +SPECKEXTRAVERSION= +SPECKPATCHLEVEL=16 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.16.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16 +SPECVERSION=5.16.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.16.0-6.test.fc25.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16.tar.xz +TARFILE=linux-5.16.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD= +UPSTREAMBUILD_GIT_ONLY= +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16 +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16 diff --git a/ciq/self-test/data/fedora-df0cc57e057f.fc25.spec b/ciq/self-test/data/fedora-df0cc57e057f.fc25.spec new file mode 100755 index 0000000000000..58b3c85bf2391 --- /dev/null +++ b/ciq/self-test/data/fedora-df0cc57e057f.fc25.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 1 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.16.0 +%define specversion 5.16.0 +%define patchversion 5.16 +%define pkgrelease 6.test +%define kversion 5 +%define tarfile_release 5.16 +%define patchlevel 16 +%define specrelease 6%{?buildid}%{?dist} +%define kabiversion 5.16.0 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.16.0-6.test] diff --git a/ciq/self-test/data/fedora-fce15c45d3fb.el7 b/ciq/self-test/data/fedora-fce15c45d3fb.el7 new file mode 100644 index 0000000000000..9ab4bbf0b8eb0 --- /dev/null +++ b/ciq/self-test/data/fedora-fce15c45d3fb.el7 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.16.0-0.rc5.fce15c45d3fb.6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE= +BUILD_PROFILE_USERDEF= +BUILD_TARGET=rawhide +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .el7" +CURARCH=x86_64 +DIST=.el7 +DISTBASEVERSION=5.16.0-0.rc5.fce15c45d3fb.6.test +DISTRELEASETAG=kernel-5.16.0-0.rc5.fce15c45d3fb.6.test +DISTRO=fedora +DISTRO_USERDEF=fedora +DIST_USERDEF=.el7 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=fce15c45d3fbd9fc1feaaf3210d8e3f8b33dfd3a +GNUMAKEFLAGS= +HEAD=fce15c45d3fb +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.16.0.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.16.0.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=fce15c45d3fb DISTRO=fedora DIST=.el7 RHSELFTESTDATA=1 +MARKER=fce15c45d3fb +MERGE_BASE=fce15c45d3fbd9fc1feaaf3210d8e3f8b33dfd3a +NO_CONFIGCHECKS= +PATCHLIST_URL=https://gitlab.com/cki-project/kernel-ark/-/commit +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.16.0-0.rc5.fce15c45d3fb.6.test +RHDISTGIT_BRANCH=rawhide +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=fce15c45d3fb +RHJOBS=1 +RHPKG_BIN=fedpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=1 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=0.rc5.fce15c45d3fb.6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.16.0 +SPECKEXTRAVERSION=-rc5 +SPECKPATCHLEVEL=16 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.16.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16-rc5-1-gfce15c45d3fb +SPECVERSION=5.16.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.16.0-0.rc5.fce15c45d3fb.6.test.el7.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16-rc5-1-gfce15c45d3fb.tar.xz +TARFILE=linux-5.16-rc5-1-gfce15c45d3fb.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD=0.rc5.fce15c45d3fb. +UPSTREAMBUILD_GIT_ONLY=1 +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16-rc5-1-gfce15c45d3fb +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16-rc5-1-gfce15c45d3fb diff --git a/ciq/self-test/data/fedora-fce15c45d3fb.el7.spec b/ciq/self-test/data/fedora-fce15c45d3fb.el7.spec new file mode 100755 index 0000000000000..912247bfba8da --- /dev/null +++ b/ciq/self-test/data/fedora-fce15c45d3fb.el7.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 1 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.16.0 +%define specversion 5.16.0 +%define patchversion 5.16 +%define pkgrelease 0.rc5.fce15c45d3fb.6.test +%define kversion 5 +%define tarfile_release 5.16-rc5-1-gfce15c45d3fb +%define patchlevel 16 +%define specrelease 0.rc5.fce15c45d3fb.6%{?buildid}%{?dist} +%define kabiversion 5.16.0 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.16.0-0.rc5.fce15c45d3fb.6.test] diff --git a/ciq/self-test/data/fedora-fce15c45d3fb.fc25 b/ciq/self-test/data/fedora-fce15c45d3fb.fc25 new file mode 100644 index 0000000000000..aa332d0cc1ab4 --- /dev/null +++ b/ciq/self-test/data/fedora-fce15c45d3fb.fc25 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.16.0-0.rc5.fce15c45d3fb.6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE= +BUILD_PROFILE_USERDEF= +BUILD_TARGET=rawhide +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .fc25" +CURARCH=x86_64 +DIST=.fc25 +DISTBASEVERSION=5.16.0-0.rc5.fce15c45d3fb.6.test +DISTRELEASETAG=kernel-5.16.0-0.rc5.fce15c45d3fb.6.test +DISTRO=fedora +DISTRO_USERDEF=fedora +DIST_USERDEF=.fc25 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=fce15c45d3fbd9fc1feaaf3210d8e3f8b33dfd3a +GNUMAKEFLAGS= +HEAD=fce15c45d3fb +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.16.0.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.16.0.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=fce15c45d3fb DISTRO=fedora DIST=.fc25 RHSELFTESTDATA=1 +MARKER=fce15c45d3fb +MERGE_BASE=fce15c45d3fbd9fc1feaaf3210d8e3f8b33dfd3a +NO_CONFIGCHECKS= +PATCHLIST_URL=https://gitlab.com/cki-project/kernel-ark/-/commit +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.16.0-0.rc5.fce15c45d3fb.6.test +RHDISTGIT_BRANCH=rawhide +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=fce15c45d3fb +RHJOBS=1 +RHPKG_BIN=fedpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=1 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=0.rc5.fce15c45d3fb.6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.16.0 +SPECKEXTRAVERSION=-rc5 +SPECKPATCHLEVEL=16 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.16.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16-rc5-1-gfce15c45d3fb +SPECVERSION=5.16.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.16.0-0.rc5.fce15c45d3fb.6.test.fc25.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16-rc5-1-gfce15c45d3fb.tar.xz +TARFILE=linux-5.16-rc5-1-gfce15c45d3fb.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD=0.rc5.fce15c45d3fb. +UPSTREAMBUILD_GIT_ONLY=1 +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16-rc5-1-gfce15c45d3fb +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16-rc5-1-gfce15c45d3fb diff --git a/ciq/self-test/data/fedora-fce15c45d3fb.fc25.spec b/ciq/self-test/data/fedora-fce15c45d3fb.fc25.spec new file mode 100755 index 0000000000000..912247bfba8da --- /dev/null +++ b/ciq/self-test/data/fedora-fce15c45d3fb.fc25.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 1 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.16.0 +%define specversion 5.16.0 +%define patchversion 5.16 +%define pkgrelease 0.rc5.fce15c45d3fb.6.test +%define kversion 5 +%define tarfile_release 5.16-rc5-1-gfce15c45d3fb +%define patchlevel 16 +%define specrelease 0.rc5.fce15c45d3fb.6%{?buildid}%{?dist} +%define kabiversion 5.16.0 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.16.0-0.rc5.fce15c45d3fb.6.test] diff --git a/ciq/self-test/data/rhel-2585cf9dfaad.el7 b/ciq/self-test/data/rhel-2585cf9dfaad.el7 new file mode 100644 index 0000000000000..0491e9a93a955 --- /dev/null +++ b/ciq/self-test/data/rhel-2585cf9dfaad.el7 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.16.0-0.rc5.6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE= +BUILD_PROFILE_USERDEF= +BUILD_TARGET=rhel-9-newest-test-pesign +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .el7" +CURARCH=x86_64 +DIST=.el7 +DISTBASEVERSION=5.16.0-0.rc5.6.test.el7 +DISTRELEASETAG=kernel-5.16.0-0.rc5.6.test.el7 +DISTRO=rhel +DISTRO_USERDEF=rhel +DIST_USERDEF=.el7 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=2585cf9dfaaddf00b069673f27bb3f8530e2039c +GNUMAKEFLAGS= +HEAD=2585cf9dfaad +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.16.0-0.rc5.6.test.el7.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.16.0-0.rc5.6.test.el7.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=2585cf9dfaad DISTRO=rhel DIST=.el7 RHSELFTESTDATA=1 +MARKER=v5.16-rc5 +MERGE_BASE=2585cf9dfaaddf00b069673f27bb3f8530e2039c +NO_CONFIGCHECKS= +PATCHLIST_URL=none +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.16.0-0.rc5.6.test +RHDISTGIT_BRANCH=rhel-9.99.0 +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=2585cf9dfaad +RHJOBS=1 +RHPKG_BIN=rhpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=0 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=0.rc5.6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.16.0-0.rc5.6.test.el7 +SPECKEXTRAVERSION=-rc5 +SPECKPATCHLEVEL=16 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.16.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16.0-0.rc5.6.test.el7 +SPECVERSION=5.16.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.16.0-0.rc5.6.test.el7.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16.0-0.rc5.6.test.el7.tar.xz +TARFILE=linux-5.16.0-0.rc5.6.test.el7.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD=0.rc5. +UPSTREAMBUILD_GIT_ONLY= +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16-rc5 +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16-rc5 diff --git a/ciq/self-test/data/rhel-2585cf9dfaad.el7.spec b/ciq/self-test/data/rhel-2585cf9dfaad.el7.spec new file mode 100755 index 0000000000000..9e5ea913d4eb0 --- /dev/null +++ b/ciq/self-test/data/rhel-2585cf9dfaad.el7.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 0 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.16.0 +%define specversion 5.16.0 +%define patchversion 5.16 +%define pkgrelease 0.rc5.6.test +%define kversion 5 +%define tarfile_release 5.16.0-0.rc5.6.test.el7 +%define patchlevel 16 +%define specrelease 0.rc5.6%{?buildid}%{?dist} +%define kabiversion 5.16.0-0.rc5.6.test.el7 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.16.0-0.rc5.6.test] diff --git a/ciq/self-test/data/rhel-2585cf9dfaad.fc25 b/ciq/self-test/data/rhel-2585cf9dfaad.fc25 new file mode 100644 index 0000000000000..c10786d1e2717 --- /dev/null +++ b/ciq/self-test/data/rhel-2585cf9dfaad.fc25 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.16.0-0.rc5.6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE= +BUILD_PROFILE_USERDEF= +BUILD_TARGET=rhel-9-newest-test-pesign +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .fc25" +CURARCH=x86_64 +DIST=.fc25 +DISTBASEVERSION=5.16.0-0.rc5.6.test.fc25 +DISTRELEASETAG=kernel-5.16.0-0.rc5.6.test.fc25 +DISTRO=rhel +DISTRO_USERDEF=rhel +DIST_USERDEF=.fc25 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=2585cf9dfaaddf00b069673f27bb3f8530e2039c +GNUMAKEFLAGS= +HEAD=2585cf9dfaad +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.16.0-0.rc5.6.test.fc25.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.16.0-0.rc5.6.test.fc25.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=2585cf9dfaad DISTRO=rhel DIST=.fc25 RHSELFTESTDATA=1 +MARKER=v5.16-rc5 +MERGE_BASE=2585cf9dfaaddf00b069673f27bb3f8530e2039c +NO_CONFIGCHECKS= +PATCHLIST_URL=none +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.16.0-0.rc5.6.test +RHDISTGIT_BRANCH=rhel-9.99.0 +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=2585cf9dfaad +RHJOBS=1 +RHPKG_BIN=rhpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=0 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=0.rc5.6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.16.0-0.rc5.6.test.fc25 +SPECKEXTRAVERSION=-rc5 +SPECKPATCHLEVEL=16 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.16.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16.0-0.rc5.6.test.fc25 +SPECVERSION=5.16.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.16.0-0.rc5.6.test.fc25.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16.0-0.rc5.6.test.fc25.tar.xz +TARFILE=linux-5.16.0-0.rc5.6.test.fc25.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD=0.rc5. +UPSTREAMBUILD_GIT_ONLY= +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16-rc5 +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16-rc5 diff --git a/ciq/self-test/data/rhel-2585cf9dfaad.fc25.spec b/ciq/self-test/data/rhel-2585cf9dfaad.fc25.spec new file mode 100755 index 0000000000000..a8f70914a2f32 --- /dev/null +++ b/ciq/self-test/data/rhel-2585cf9dfaad.fc25.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 0 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.16.0 +%define specversion 5.16.0 +%define patchversion 5.16 +%define pkgrelease 0.rc5.6.test +%define kversion 5 +%define tarfile_release 5.16.0-0.rc5.6.test.fc25 +%define patchlevel 16 +%define specrelease 0.rc5.6%{?buildid}%{?dist} +%define kabiversion 5.16.0-0.rc5.6.test.fc25 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.16.0-0.rc5.6.test] diff --git a/ciq/self-test/data/rhel-78e36f3b0dae.el7 b/ciq/self-test/data/rhel-78e36f3b0dae.el7 new file mode 100644 index 0000000000000..d0def37fa8f45 --- /dev/null +++ b/ciq/self-test/data/rhel-78e36f3b0dae.el7 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.17.0-0.rc0.78e36f3b0dae.6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE= +BUILD_PROFILE_USERDEF= +BUILD_TARGET=rhel-9-newest-test-pesign +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .el7" +CURARCH=x86_64 +DIST=.el7 +DISTBASEVERSION=5.17.0-0.rc0.78e36f3b0dae.6.test.el7 +DISTRELEASETAG=kernel-5.17.0-0.rc0.78e36f3b0dae.6.test.el7 +DISTRO=rhel +DISTRO_USERDEF=rhel +DIST_USERDEF=.el7 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=78e36f3b0dae586f623c4a37ec5eb5496f5abbe1 +GNUMAKEFLAGS= +HEAD=78e36f3b0dae +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.17.0-0.rc0.78e36f3b0dae.6.test.el7.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.17.0-0.rc0.78e36f3b0dae.6.test.el7.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=78e36f3b0dae DISTRO=rhel DIST=.el7 RHSELFTESTDATA=1 +MARKER=78e36f3b0dae +MERGE_BASE=78e36f3b0dae586f623c4a37ec5eb5496f5abbe1 +NO_CONFIGCHECKS= +PATCHLIST_URL=none +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.17.0-0.rc0.78e36f3b0dae.6.test +RHDISTGIT_BRANCH=rhel-9.99.0 +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=78e36f3b0dae +RHJOBS=1 +RHPKG_BIN=rhpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=1 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=0.rc0.78e36f3b0dae.6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.17.0-0.rc0.78e36f3b0dae.6.test.el7 +SPECKEXTRAVERSION= +SPECKPATCHLEVEL=17 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.17.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.17.0-0.rc0.78e36f3b0dae.6.test.el7 +SPECVERSION=5.17.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.17.0-0.rc0.78e36f3b0dae.6.test.el7.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.17.0-0.rc0.78e36f3b0dae.6.test.el7.tar.xz +TARFILE=linux-5.17.0-0.rc0.78e36f3b0dae.6.test.el7.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD=0.rc0.78e36f3b0dae. +UPSTREAMBUILD_GIT_ONLY=1 +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16-11523-g78e36f3b0dae +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16-11523-g78e36f3b0dae diff --git a/ciq/self-test/data/rhel-78e36f3b0dae.el7.spec b/ciq/self-test/data/rhel-78e36f3b0dae.el7.spec new file mode 100755 index 0000000000000..3ee52e03d8661 --- /dev/null +++ b/ciq/self-test/data/rhel-78e36f3b0dae.el7.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 0 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.17.0 +%define specversion 5.17.0 +%define patchversion 5.17 +%define pkgrelease 0.rc0.78e36f3b0dae.6.test +%define kversion 5 +%define tarfile_release 5.17.0-0.rc0.78e36f3b0dae.6.test.el7 +%define patchlevel 17 +%define specrelease 0.rc0.78e36f3b0dae.6%{?buildid}%{?dist} +%define kabiversion 5.17.0-0.rc0.78e36f3b0dae.6.test.el7 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.17.0-0.rc0.78e36f3b0dae.6.test] diff --git a/ciq/self-test/data/rhel-78e36f3b0dae.fc25 b/ciq/self-test/data/rhel-78e36f3b0dae.fc25 new file mode 100644 index 0000000000000..c5b48fc84a701 --- /dev/null +++ b/ciq/self-test/data/rhel-78e36f3b0dae.fc25 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.17.0-0.rc0.78e36f3b0dae.6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE= +BUILD_PROFILE_USERDEF= +BUILD_TARGET=rhel-9-newest-test-pesign +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .fc25" +CURARCH=x86_64 +DIST=.fc25 +DISTBASEVERSION=5.17.0-0.rc0.78e36f3b0dae.6.test.fc25 +DISTRELEASETAG=kernel-5.17.0-0.rc0.78e36f3b0dae.6.test.fc25 +DISTRO=rhel +DISTRO_USERDEF=rhel +DIST_USERDEF=.fc25 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=78e36f3b0dae586f623c4a37ec5eb5496f5abbe1 +GNUMAKEFLAGS= +HEAD=78e36f3b0dae +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.17.0-0.rc0.78e36f3b0dae.6.test.fc25.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.17.0-0.rc0.78e36f3b0dae.6.test.fc25.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=78e36f3b0dae DISTRO=rhel DIST=.fc25 RHSELFTESTDATA=1 +MARKER=78e36f3b0dae +MERGE_BASE=78e36f3b0dae586f623c4a37ec5eb5496f5abbe1 +NO_CONFIGCHECKS= +PATCHLIST_URL=none +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.17.0-0.rc0.78e36f3b0dae.6.test +RHDISTGIT_BRANCH=rhel-9.99.0 +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=78e36f3b0dae +RHJOBS=1 +RHPKG_BIN=rhpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=1 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=0.rc0.78e36f3b0dae.6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.17.0-0.rc0.78e36f3b0dae.6.test.fc25 +SPECKEXTRAVERSION= +SPECKPATCHLEVEL=17 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.17.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.17.0-0.rc0.78e36f3b0dae.6.test.fc25 +SPECVERSION=5.17.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.17.0-0.rc0.78e36f3b0dae.6.test.fc25.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.17.0-0.rc0.78e36f3b0dae.6.test.fc25.tar.xz +TARFILE=linux-5.17.0-0.rc0.78e36f3b0dae.6.test.fc25.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD=0.rc0.78e36f3b0dae. +UPSTREAMBUILD_GIT_ONLY=1 +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16-11523-g78e36f3b0dae +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16-11523-g78e36f3b0dae diff --git a/ciq/self-test/data/rhel-78e36f3b0dae.fc25.spec b/ciq/self-test/data/rhel-78e36f3b0dae.fc25.spec new file mode 100755 index 0000000000000..15332f147fec6 --- /dev/null +++ b/ciq/self-test/data/rhel-78e36f3b0dae.fc25.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 0 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.17.0 +%define specversion 5.17.0 +%define patchversion 5.17 +%define pkgrelease 0.rc0.78e36f3b0dae.6.test +%define kversion 5 +%define tarfile_release 5.17.0-0.rc0.78e36f3b0dae.6.test.fc25 +%define patchlevel 17 +%define specrelease 0.rc0.78e36f3b0dae.6%{?buildid}%{?dist} +%define kabiversion 5.17.0-0.rc0.78e36f3b0dae.6.test.fc25 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.17.0-0.rc0.78e36f3b0dae.6.test] diff --git a/ciq/self-test/data/rhel-df0cc57e057f.el7 b/ciq/self-test/data/rhel-df0cc57e057f.el7 new file mode 100644 index 0000000000000..21f3a557b24e7 --- /dev/null +++ b/ciq/self-test/data/rhel-df0cc57e057f.el7 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.16.0-6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE= +BUILD_PROFILE_USERDEF= +BUILD_TARGET=rhel-9-newest-test-pesign +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .el7" +CURARCH=x86_64 +DIST=.el7 +DISTBASEVERSION=5.16.0-6.test.el7 +DISTRELEASETAG=kernel-5.16.0-6.test.el7 +DISTRO=rhel +DISTRO_USERDEF=rhel +DIST_USERDEF=.el7 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=df0cc57e057f18e44dac8e6c18aba47ab53202f9 +GNUMAKEFLAGS= +HEAD=df0cc57e057f +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.16.0-6.test.el7.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.16.0-6.test.el7.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=df0cc57e057f DISTRO=rhel DIST=.el7 RHSELFTESTDATA=1 +MARKER=v5.16 +MERGE_BASE=df0cc57e057f18e44dac8e6c18aba47ab53202f9 +NO_CONFIGCHECKS= +PATCHLIST_URL=none +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.16.0-6.test +RHDISTGIT_BRANCH=rhel-9.99.0 +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=df0cc57e057f +RHJOBS=1 +RHPKG_BIN=rhpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=0 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.16.0-6.test.el7 +SPECKEXTRAVERSION= +SPECKPATCHLEVEL=16 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.16.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16.0-6.test.el7 +SPECVERSION=5.16.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.16.0-6.test.el7.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16.0-6.test.el7.tar.xz +TARFILE=linux-5.16.0-6.test.el7.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD= +UPSTREAMBUILD_GIT_ONLY= +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16 +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16 diff --git a/ciq/self-test/data/rhel-df0cc57e057f.el7.spec b/ciq/self-test/data/rhel-df0cc57e057f.el7.spec new file mode 100755 index 0000000000000..14c158d7140ce --- /dev/null +++ b/ciq/self-test/data/rhel-df0cc57e057f.el7.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 0 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.16.0 +%define specversion 5.16.0 +%define patchversion 5.16 +%define pkgrelease 6.test +%define kversion 5 +%define tarfile_release 5.16.0-6.test.el7 +%define patchlevel 16 +%define specrelease 6%{?buildid}%{?dist} +%define kabiversion 5.16.0-6.test.el7 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.16.0-6.test] diff --git a/ciq/self-test/data/rhel-df0cc57e057f.fc25 b/ciq/self-test/data/rhel-df0cc57e057f.fc25 new file mode 100644 index 0000000000000..26e545217e8cf --- /dev/null +++ b/ciq/self-test/data/rhel-df0cc57e057f.fc25 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.16.0-6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE= +BUILD_PROFILE_USERDEF= +BUILD_TARGET=rhel-9-newest-test-pesign +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .fc25" +CURARCH=x86_64 +DIST=.fc25 +DISTBASEVERSION=5.16.0-6.test.fc25 +DISTRELEASETAG=kernel-5.16.0-6.test.fc25 +DISTRO=rhel +DISTRO_USERDEF=rhel +DIST_USERDEF=.fc25 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=df0cc57e057f18e44dac8e6c18aba47ab53202f9 +GNUMAKEFLAGS= +HEAD=df0cc57e057f +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.16.0-6.test.fc25.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.16.0-6.test.fc25.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=df0cc57e057f DISTRO=rhel DIST=.fc25 RHSELFTESTDATA=1 +MARKER=v5.16 +MERGE_BASE=df0cc57e057f18e44dac8e6c18aba47ab53202f9 +NO_CONFIGCHECKS= +PATCHLIST_URL=none +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.16.0-6.test +RHDISTGIT_BRANCH=rhel-9.99.0 +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=df0cc57e057f +RHJOBS=1 +RHPKG_BIN=rhpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=0 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.16.0-6.test.fc25 +SPECKEXTRAVERSION= +SPECKPATCHLEVEL=16 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.16.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16.0-6.test.fc25 +SPECVERSION=5.16.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.16.0-6.test.fc25.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16.0-6.test.fc25.tar.xz +TARFILE=linux-5.16.0-6.test.fc25.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD= +UPSTREAMBUILD_GIT_ONLY= +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16 +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16 diff --git a/ciq/self-test/data/rhel-df0cc57e057f.fc25.spec b/ciq/self-test/data/rhel-df0cc57e057f.fc25.spec new file mode 100755 index 0000000000000..99600b7631e94 --- /dev/null +++ b/ciq/self-test/data/rhel-df0cc57e057f.fc25.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 0 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.16.0 +%define specversion 5.16.0 +%define patchversion 5.16 +%define pkgrelease 6.test +%define kversion 5 +%define tarfile_release 5.16.0-6.test.fc25 +%define patchlevel 16 +%define specrelease 6%{?buildid}%{?dist} +%define kabiversion 5.16.0-6.test.fc25 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.16.0-6.test] diff --git a/ciq/self-test/data/rhel-fce15c45d3fb.el7 b/ciq/self-test/data/rhel-fce15c45d3fb.el7 new file mode 100644 index 0000000000000..d9509cac115f3 --- /dev/null +++ b/ciq/self-test/data/rhel-fce15c45d3fb.el7 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.16.0-0.rc5.fce15c45d3fb.6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE= +BUILD_PROFILE_USERDEF= +BUILD_TARGET=rhel-9-newest-test-pesign +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .el7" +CURARCH=x86_64 +DIST=.el7 +DISTBASEVERSION=5.16.0-0.rc5.fce15c45d3fb.6.test.el7 +DISTRELEASETAG=kernel-5.16.0-0.rc5.fce15c45d3fb.6.test.el7 +DISTRO=rhel +DISTRO_USERDEF=rhel +DIST_USERDEF=.el7 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=fce15c45d3fbd9fc1feaaf3210d8e3f8b33dfd3a +GNUMAKEFLAGS= +HEAD=fce15c45d3fb +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.16.0-0.rc5.fce15c45d3fb.6.test.el7.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.16.0-0.rc5.fce15c45d3fb.6.test.el7.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=fce15c45d3fb DISTRO=rhel DIST=.el7 RHSELFTESTDATA=1 +MARKER=fce15c45d3fb +MERGE_BASE=fce15c45d3fbd9fc1feaaf3210d8e3f8b33dfd3a +NO_CONFIGCHECKS= +PATCHLIST_URL=none +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.16.0-0.rc5.fce15c45d3fb.6.test +RHDISTGIT_BRANCH=rhel-9.99.0 +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=fce15c45d3fb +RHJOBS=1 +RHPKG_BIN=rhpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=1 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=0.rc5.fce15c45d3fb.6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.16.0-0.rc5.fce15c45d3fb.6.test.el7 +SPECKEXTRAVERSION=-rc5 +SPECKPATCHLEVEL=16 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.16.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16.0-0.rc5.fce15c45d3fb.6.test.el7 +SPECVERSION=5.16.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.16.0-0.rc5.fce15c45d3fb.6.test.el7.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16.0-0.rc5.fce15c45d3fb.6.test.el7.tar.xz +TARFILE=linux-5.16.0-0.rc5.fce15c45d3fb.6.test.el7.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD=0.rc5.fce15c45d3fb. +UPSTREAMBUILD_GIT_ONLY=1 +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16-rc5-1-gfce15c45d3fb +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16-rc5-1-gfce15c45d3fb diff --git a/ciq/self-test/data/rhel-fce15c45d3fb.el7.spec b/ciq/self-test/data/rhel-fce15c45d3fb.el7.spec new file mode 100755 index 0000000000000..67a31f42b557c --- /dev/null +++ b/ciq/self-test/data/rhel-fce15c45d3fb.el7.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 0 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.16.0 +%define specversion 5.16.0 +%define patchversion 5.16 +%define pkgrelease 0.rc5.fce15c45d3fb.6.test +%define kversion 5 +%define tarfile_release 5.16.0-0.rc5.fce15c45d3fb.6.test.el7 +%define patchlevel 16 +%define specrelease 0.rc5.fce15c45d3fb.6%{?buildid}%{?dist} +%define kabiversion 5.16.0-0.rc5.fce15c45d3fb.6.test.el7 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.16.0-0.rc5.fce15c45d3fb.6.test] diff --git a/ciq/self-test/data/rhel-fce15c45d3fb.fc25 b/ciq/self-test/data/rhel-fce15c45d3fb.fc25 new file mode 100644 index 0000000000000..c9a6f52aab46c --- /dev/null +++ b/ciq/self-test/data/rhel-fce15c45d3fb.fc25 @@ -0,0 +1,107 @@ +.DEFAULT_GOAL=dist-cross-setup +.SHELLSTATUS=0 +ADD_COMMITID_TO_VERSION= +ARCHCONFIG=X86_64 +ARCH_LIST=aarch64 ppc64le s390x x86_64 riscv64 +BASEVERSION=5.16.0-0.rc5.fce15c45d3fb.6.test +BUILD=6 +BUILD_FLAGS= +BUILD_PROFILE= +BUILD_PROFILE_USERDEF= +BUILD_TARGET=rhel-9-newest-test-pesign +BUILD_TARGET_USERDEF= +BUMP_RELEASE=yes +CHANGELOG_EXT=changelog-9.99 +CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools --without libperf +CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu gcc-riscv64-linux-gnu +CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define "_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" --define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" --define "dist .fc25" +CURARCH=x86_64 +DIST=.fc25 +DISTBASEVERSION=5.16.0-0.rc5.fce15c45d3fb.6.test.fc25 +DISTRELEASETAG=kernel-5.16.0-0.rc5.fce15c45d3fb.6.test.fc25 +DISTRO=rhel +DISTRO_USERDEF=rhel +DIST_USERDEF=.fc25 +EARLY_YBUILD= +EARLY_YRELEASE= +ENABLE_WERROR= +FLAVOR= +GIT=git +GITID=fce15c45d3fbd9fc1feaaf3210d8e3f8b33dfd3a +GNUMAKEFLAGS= +HEAD=fce15c45d3fb +INCLUDE_AUTOMOTIVE_FILES=1 +INCLUDE_FEDORA_FILES=1 +INCLUDE_RHEL_FILES=1 +INCLUDE_RT_FILES=1 +KABIDW=../redhat/kabi-dwarf +KABIDW_TARBALL=../redhat/kernel-kabi-dw-5.16.0-0.rc5.fce15c45d3fb.6.test.fc25.tar.xz +KABI_CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- /usr/bin/ppc64le-linux-gnu- /usr/bin/riscv64-linux-gnu- /usr/bin/s390x-linux-gnu- +KABI_CROSS_COMPILE_PREFIX=/usr/bin/ +KABI_CROSS_COMPILE_SUFFIX=-linux-gnu- +KABI_SUPPORTED_ARCHS=aarch64 ppc64le riscv64 s390x x86_64 +KABI_TARBALL=../redhat/kernel-abi-stablelists-5.16.0-0.rc5.fce15c45d3fb.6.test.fc25.tar.xz +LANG=C +LOCVERFILE=../localversion +MACH=x86_64 +MAKEFILE_LIST=Makefile Makefile.variables ../Makefile.rhelver Makefile.cross +MAKEFLAGS= -- HEAD=fce15c45d3fb DISTRO=rhel DIST=.fc25 RHSELFTESTDATA=1 +MARKER=fce15c45d3fb +MERGE_BASE=fce15c45d3fbd9fc1feaaf3210d8e3f8b33dfd3a +NO_CONFIGCHECKS= +PATCHLIST_URL=none +PROCESS_CONFIGS_CHECK_OPTS=-n -t -c +PROCESS_CONFIGS_OPTS=-n -w -c +REDHAT=../redhat +RELEASED_KERNEL=0 +RELEASETAG=kernel-5.16.0-0.rc5.fce15c45d3fb.6.test +RHDISTGIT_BRANCH=rhel-9.99.0 +RHDISTGIT_CACHE= +RHDISTGIT_TMP=/tmp +RHEL_MAJOR=9 +RHEL_MINOR=99 +RHEL_REBASE_NUM=1 +RHGITCOMMIT=fce15c45d3fb +RHJOBS=1 +RHPKG_BIN=rhpkg +RHSELFTESTDATA=1 +RPM=../redhat/rpm +RPMBUILD=rpmbuild +SNAPSHOT=1 +SOURCES=../redhat/rpm/SOURCES +SPECBUILD=0.rc5.fce15c45d3fb.6.test +SPECCHANGELOG=kernel.changelog-9.99 +SPECFILE=kernel.spec +SPECGEMINI=0 +SPECINCLUDE_AUTOMOTIVE_FILES=1 +SPECINCLUDE_FEDORA_FILES=1 +SPECINCLUDE_RHEL_FILES=1 +SPECINCLUDE_RT_FILES=1 +SPECKABIVERSION=5.16.0-0.rc5.fce15c45d3fb.6.test.fc25 +SPECKEXTRAVERSION=-rc5 +SPECKPATCHLEVEL=16 +SPECKSUBLEVEL=0 +SPECKVERSION=5 +SPECPACKAGE_NAME=kernel +SPECRELEASED_KERNEL=0 +SPECRPATCHLEVEL=1 +SPECRPMVERSION=5.16.0 +SPECRVERSION=0 +SPECSELFTESTS_MUST_BUILD=0 +SPECTARFILE_RELEASE=5.16.0-0.rc5.fce15c45d3fb.6.test.fc25 +SPECVERSION=5.16.0 +SRPM=../redhat/rpm/SRPMS/kernel-5.16.0-0.rc5.fce15c45d3fb.6.test.fc25.src.rpm +SRPMS=../redhat/rpm/SRPMS +TARBALL=../redhat/linux-5.16.0-0.rc5.fce15c45d3fb.6.test.fc25.tar.xz +TARFILE=linux-5.16.0-0.rc5.fce15c45d3fb.6.test.fc25.tar.xz +TESTPATCH=../redhat/linux-kernel-test.patch +TOPDIR=.. +UPSTREAMBUILD=0.rc5.fce15c45d3fb. +UPSTREAMBUILD_GIT_ONLY=1 +UPSTREAM_BRANCH=master +UPSTREAM_TARBALL_NAME=5.16-rc5-1-gfce15c45d3fb +VERSION_ON_UPSTREAM=1 +YSTREAM_FLAG=yes +ZSTREAM_FLAG=no +_OUTPUT=.. +_TAG=v5.16-rc5-1-gfce15c45d3fb diff --git a/ciq/self-test/data/rhel-fce15c45d3fb.fc25.spec b/ciq/self-test/data/rhel-fce15c45d3fb.fc25.spec new file mode 100755 index 0000000000000..f17d2ee713abe --- /dev/null +++ b/ciq/self-test/data/rhel-fce15c45d3fb.fc25.spec @@ -0,0 +1,20 @@ +%global package_name kernel +%global gemini 0 +%global include_fedora 1 +%global include_rhel 1 +%global include_rt 1 +%global include_automotive 1 +%global patchlist_changelog 0 +%global released_kernel 0 +%define buildid .test +%define specrpmversion 5.16.0 +%define specversion 5.16.0 +%define patchversion 5.16 +%define pkgrelease 0.rc5.fce15c45d3fb.6.test +%define kversion 5 +%define tarfile_release 5.16.0-0.rc5.fce15c45d3fb.6.test.fc25 +%define patchlevel 16 +%define specrelease 0.rc5.fce15c45d3fb.6%{?buildid}%{?dist} +%define kabiversion 5.16.0-0.rc5.fce15c45d3fb.6.test.fc25 +%define selftests_must_build 0 +Mon Mar 28 2022 Fedora Kernel Team [5.16.0-0.rc5.fce15c45d3fb.6.test] diff --git a/ciq/self-test/egit.sh b/ciq/self-test/egit.sh new file mode 100755 index 0000000000000..f26921cc2acaf --- /dev/null +++ b/ciq/self-test/egit.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +arg=$1 +shift +case $arg in + describe ) + if [ -n "$EGIT_OVERRIDE_DESCRIBE" ] + then + # Should be a version, e.g. v5.9-rc8 or v5.9-rc7-1449-g57b6fb86b0ac + echo "$EGIT_OVERRIDE_DESCRIBE" + else + git describe "$@" + fi + ;; + * ) + git "$arg" "$@" + ;; +esac diff --git a/ciq/self-test/test-lib.bash b/ciq/self-test/test-lib.bash new file mode 100644 index 0000000000000..f9977c520a0db --- /dev/null +++ b/ciq/self-test/test-lib.bash @@ -0,0 +1,16 @@ +#!/usr/bin/bash + +# This function makes use of bats built-in run function and its status and output variables. +check_status() { + if [ "$status" -eq 0 ]; then + return 0 + fi + + # report the error + echo "$output" + echo "------------------" + expath=$(echo "$BATS_TEST_FILENAME" | rev | cut -d'/' -f-3 | rev) + echo -n "This redhat/self-test test has failed. You can run all tests by executing 'make dist-self-test', or just this test by executing 'bats $expath'." + exit 1 +} + diff --git a/ciq/uki_addons/common/crashkernel-1536M.addon b/ciq/uki_addons/common/crashkernel-1536M.addon new file mode 100644 index 0000000000000..637a8ef4b459e --- /dev/null +++ b/ciq/uki_addons/common/crashkernel-1536M.addon @@ -0,0 +1 @@ +crashkernel=1536M diff --git a/ciq/uki_addons/common/crashkernel-192M.addon b/ciq/uki_addons/common/crashkernel-192M.addon new file mode 100644 index 0000000000000..f0028982e4260 --- /dev/null +++ b/ciq/uki_addons/common/crashkernel-192M.addon @@ -0,0 +1 @@ +crashkernel=192M diff --git a/ciq/uki_addons/common/crashkernel-1G.addon b/ciq/uki_addons/common/crashkernel-1G.addon new file mode 100644 index 0000000000000..13424dc4ba300 --- /dev/null +++ b/ciq/uki_addons/common/crashkernel-1G.addon @@ -0,0 +1 @@ +crashkernel=1G diff --git a/ciq/uki_addons/common/crashkernel-256M.addon b/ciq/uki_addons/common/crashkernel-256M.addon new file mode 100644 index 0000000000000..c4ea938f50f24 --- /dev/null +++ b/ciq/uki_addons/common/crashkernel-256M.addon @@ -0,0 +1 @@ +crashkernel=256M diff --git a/ciq/uki_addons/common/crashkernel-2G.addon b/ciq/uki_addons/common/crashkernel-2G.addon new file mode 100644 index 0000000000000..7a046a23c0add --- /dev/null +++ b/ciq/uki_addons/common/crashkernel-2G.addon @@ -0,0 +1 @@ +crashkernel=2G diff --git a/ciq/uki_addons/common/crashkernel-512M.addon b/ciq/uki_addons/common/crashkernel-512M.addon new file mode 100644 index 0000000000000..91b380aa03d0b --- /dev/null +++ b/ciq/uki_addons/common/crashkernel-512M.addon @@ -0,0 +1 @@ +crashkernel=512M diff --git a/ciq/uki_addons/common/crashkernel-default.addon b/ciq/uki_addons/common/crashkernel-default.addon new file mode 100644 index 0000000000000..d8e4a9cff36e7 --- /dev/null +++ b/ciq/uki_addons/common/crashkernel-default.addon @@ -0,0 +1 @@ +crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M diff --git a/ciq/uki_addons/virt/common/fips-disable.addon b/ciq/uki_addons/virt/common/fips-disable.addon new file mode 100644 index 0000000000000..3e00e8d69a937 --- /dev/null +++ b/ciq/uki_addons/virt/common/fips-disable.addon @@ -0,0 +1 @@ +fips=0 diff --git a/ciq/uki_addons/virt/common/fips-enable.addon b/ciq/uki_addons/virt/common/fips-enable.addon new file mode 100644 index 0000000000000..af6df9ec342c8 --- /dev/null +++ b/ciq/uki_addons/virt/common/fips-enable.addon @@ -0,0 +1 @@ +fips=1 diff --git a/ciq/uki_addons/virt/rhel/aarch64/crashkernel-default.addon b/ciq/uki_addons/virt/rhel/aarch64/crashkernel-default.addon new file mode 100644 index 0000000000000..decd58e2e6ea6 --- /dev/null +++ b/ciq/uki_addons/virt/rhel/aarch64/crashkernel-default.addon @@ -0,0 +1 @@ +crashkernel=1G-4G:256M,4G-64G:320M,64G-:576M diff --git a/filtermods.log b/filtermods.log new file mode 100644 index 0000000000000..7161f1645390a --- /dev/null +++ b/filtermods.log @@ -0,0 +1,3812 @@ +18:12:57 INFO setup_logging: 62 file logging on: filtermods.log +18:12:57 INFO load_depmod_file: 168 depmod /root/tmp/modules.dep loaded, number of kmods: 1786 +18:12:57 DEBUG __init__: 224 KModPackage created modules-core, depends_on: [] +18:12:57 DEBUG __init__: 224 KModPackage created modules, depends_on: ['modules-core'] +18:12:57 DEBUG __init__: 224 KModPackage created modules-internal, depends_on: ['modules-core', 'modules'] +18:12:57 DEBUG __init__: 224 KModPackage created modules-extra, depends_on: ['modules-core', 'modules'] +18:12:57 DEBUG load_config: 588 Skipping modules-rt-kvm for variants [] +18:12:57 DEBUG __init__: 224 KModPackage created modules-partner, depends_on: ['modules-core', 'modules'] +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'arch/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'block/t10-pi.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'crypto/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/accel/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/accessibility/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/acpi/video.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/acpi/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/ata/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/base/.*(kunit|test).*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/base/regmap/regmap-sdw.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/base/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/block/floppy.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/block/rnbd.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/block/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/bus/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/cdrom/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/cdx/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/char/mwave.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/char/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/clk/.*(test|kunit).*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/clk/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/counter/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/cpufreq/amd-pstate-ut.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/cpufreq/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/crypto/caam/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/crypto/cavium/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/crypto/chelsio/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/crypto/hisilicon/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/crypto/marvell/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/crypto/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/cxl/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/dax/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/dca/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/devfreq/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/dma/dmatest.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/dma/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/edac/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/extcon/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/firmware/iscsi_ibft.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/firmware/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/fsi/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gnss/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/gpio/gpio-dln2.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/gpio/gpio-ljca.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpio/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/display/drm_.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/drm.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/etnaviv/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/gud/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/hyperv/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/imagination/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/lima/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/mxsfb/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/panfrost/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/qxl/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/scheduler/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/solomon/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/gpu/drm/tests/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/tidss/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/tiny/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/ttm/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/udl/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/v3d/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/vgem/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/virtio/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/vkms/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/vmwgfx/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/drm/xlnx/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/gpu/host1x/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/hid/.*test.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hid/hid-asus.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hid/hid-nintendo.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hid/hid-picolcd.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hid/hid-playstation.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hid/surface-hid.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hid/hid-prodikeys.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/hid/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/hte/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/hv/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hwmon/asus_wmi_sensors.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hwmon/dell-smm-hwmon.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hwmon/hp-wmi-sensors.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hwmon/intel-m10-bmc-hwmon.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hwmon/nct6775.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/hwmon/ntc_thermistor.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/hwmon/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/hwspinlock/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/hwtracing/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/i2c/busses/i2c-dln2.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/i2c/busses/i2c-ljca.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/i2c/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/i3c/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/iio/adc/dln2-adc.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/iio/test/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/input/gameport/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/input/joystick/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/input/tablet/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/input/tests/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/input/touchscreen/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/input/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/interconnect/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/iommu/.*test.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/iommu/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/irqchip/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/mailbox/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/md/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/memory/dfl-emif.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/memory/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/message/fusion/mptctl.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/message/fusion/mptfc.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/message/fusion/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/message/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/mfd/dln2.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/misc/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/mux/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/amt.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/bareudp.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/bonding/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/net/can/slcan/slcan.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/net/can/usb/ems_usb.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/net/can/vcan.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/dummy.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/eql.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/8390/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/adi/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/agere/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/altera/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/amazon/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/amd/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/apm/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/asix/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/brocade/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/cavium/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/dnet.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/engleder/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/ethoc.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/fealnx.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/freescale/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/fungible/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/google/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/hisilicon/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/huawei/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/ibm/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/intel/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/jme.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/litex/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/mellanox/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/microsoft/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/myricom/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/natsemi/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/netronome/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/pensando/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/net/ethernet/rocker/rocker.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/qualcomm/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/realtek/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/renesas/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/socionext/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/vertexcom/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/wangxun/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ethernet/xilinx/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/fjes/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/geneve.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/gtp.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/net/hamradio/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/hyperv/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ifb.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ipa/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/ipvlan/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/macsec.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/macvlan.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/macvtap.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/mctp/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/mdio.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/mhi_net.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/mii.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/net_failover.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/net/netdevsim/netdevsim.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/netconsole.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/nlmon.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/pcs/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/phy/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/rionet.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/net/slip/slip.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/sungem_phy.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/tap.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/team/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/thunderbolt/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/tun.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/veth.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/virtio_net.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/vmxnet3/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/vrf.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/vsockmon.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/vxlan/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/wan/hdlc.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/wireguard/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/net/wireless/virtual/mac80211_hwsim.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/net/wwan/wwan_hwsim.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/wwan/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/net/xen.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/nvdimm/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/nvme/host/nvme-rdma.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/nvme/target/nvmet-rdma.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/nvme/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/nvmem/nvmem_u-boot-env.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/nvmem/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/parport/parport_serial.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/parport/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/pci/pcie/aer_inject.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/pci/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/perf/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/phy/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/pinctrl/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/platform/chrome/.*test.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/platform/x86/intel/intel_vsec.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/pmdomain/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/powercap/intel_rapl_tpmi.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/powercap/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/pps/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/ptp/ptp_mock.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/ptp/ptp_dfl_tod.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/ptp/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/pwm/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/rapidio/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/regulator/arizona-micsupp.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/regulator/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/remoteproc/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/reset/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/rpmsg/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/rtc/.*test.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/rtc/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/s390/net/ism.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/s390/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/3w.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/BusLogic.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/a100u2w.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/advansys.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/am53c974.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/arcmsr.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/atp870u.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/ch.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/cxlflash/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/dc395x.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/device_handler/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/dmx3191d.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/elx/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/esp_scsi.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/fdomain.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/hpsa.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/hptiop.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/hv_storvsc.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/ibmvscsi.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/initio.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/ipr.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/ips.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/iscsi_tcp.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/libfc/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/libiscsi.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/mpi3mr/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/mvumi.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/myrb.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/myrs.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/raid_class.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/scsi_debug.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/scsi_transport_.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/sd_mod.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/ses.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/sg.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/smartpqi/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/snic/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/sr_mod.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/st.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/stex.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/virtio_scsi.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/vmw_pvscsi.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/wd719x.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/scsi/xen-scsifront.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/slimbus/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/soc/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/spi/spi-altera-dfl.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/spi/spi-dln2.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/spi/spi-ljca.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/spi/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/spmi/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/target/iscsi/cxgbit/cxgbit.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/target/sbp/sbp_target.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/target/target_core_user.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/target/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/tee/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/thermal/intel/int340x_thermal/int3406_thermal.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/thermal/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/thunderbolt/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/ufs/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/usb/atm/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/usb/gadget/function/usb_f_midi2.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/usb/image/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/usb/misc/trancevibrator.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/usb/misc/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/usb/serial/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/usb/typec/mux/nb7vpq904m.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'drivers/usb/usbip/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/usb/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/vdpa/mlx5/mlx5_vdpa.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/vdpa/pds/pds_vdpa.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/vdpa/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/vfio/pci/mlx5/mlx5-vfio-pci.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/vfio/pci/pds/pds-vfio-pc.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/vfio/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/vhost/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'drivers/video/backlight/apple_bl.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/video/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/virt/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/virtio/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/watchdog/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'drivers/xen/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/masters/ds2482.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/masters/ds2490.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/slaves/w1_ds2408.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/slaves/w1_ds2423.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/slaves/w1_ds2431.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/slaves/w1_ds2433.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/slaves/w1_ds2780.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/slaves/w1_ds2781.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/slaves/w1_ds28e04.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/slaves/w1_smem.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'drivers/w1/slaves/w1_therm.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'fs/.*test.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/9p/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-partner', 'wants', 'fs/afs/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'fs/affs/affs.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/bcachefs/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'fs/befs/befs.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/binfmt_misc.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/cachefiles/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/ceph/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'fs/coda/coda.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/dlm/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/erofs/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/exfat/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/ext4/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/f2fs/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/fat/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'fs/fuse/cuse.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/fuse/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/gfs2/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/isofs/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/jbd2/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/lockd/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/mbcache.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/netfs/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/nfs.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'fs/nilfs2/nilfs2.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/nls/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/ntfs3/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'fs/ocfs2/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/orangefs/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/overlayfs/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/pstore/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'fs/sysv/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'fs/ubifs/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/udf/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'fs/ufs/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/vboxsf/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/xfs/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'fs/zonefs/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'kernel/.*test.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'kernel/locking/locktorture.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'kernel/rcu/rcuscale.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'kernel/rcu/rcutorture.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'kernel/rcu/refscale.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'kernel/resource_kunit.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'kernel/scftorture.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'kernel/torture.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'kernel/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'lib/test_lockup.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'needs', 'lib/.*(test|kunit).*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'lib/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'mm/kasan/kasan_test') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'mm/kfence/.*test.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'mm/zsmalloc.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'net/.*test.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/802/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/8021q/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'net/9p/9pnet_rdma.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/9p/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/appletalk/appletalk.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/atm/br2684.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/atm/clip.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/atm/lec.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/atm/pppoatm.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ax25/ax25.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/batman-adv/batman-adv.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/bridge/br_netfilter.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/bridge/netfilter/ebt.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/bridge/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/ceph/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'net/core/pktgen.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/core/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/dns_resolver/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/hsr/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/ife/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/netfilter/arp.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/netfilter/ip[_t].*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_bic.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_highspeed.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_htcp.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_hybla.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_illinois.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_lp.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_scalable.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_vegas.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_veno.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_westwood.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv4/tcp_yeah.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/ipv4/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv6/netfilter/ebt.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/ipv6/netfilter/ip6[_t].*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/ipv6/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/iucv/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/kcm/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/key/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/l2tp/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/llc/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/netfilter/ipset/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/netfilter/nft_compat.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/netfilter/xt_.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/netfilter/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/netrom/netrom.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/nsh/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/openvswitch/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/psample/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/qrtr/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/rds/rds.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/rose/rose.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-partner', 'wants', 'net/rxrpc/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_choke.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_drr.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_gred.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_mqprio.ko') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_multiq.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_netem.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_qfq.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_red.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_sfb.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sched/sch_teql.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/sched/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/sctp/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'wants', 'net/sunrpc/xprtrdma/rpcrdma.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/sunrpc/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-extra', 'wants', 'net/tipc/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/tls/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/vmw_vsock/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/xdp/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'net/xfrm/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'samples/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'sound/pci/.*test.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-internal', 'wants', 'sound/soc/.*test.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules-core', 'wants', 'virt/.*') +18:12:57 DEBUG load_config: 629 found rule: ('modules', 'default', '.*') +18:12:57 INFO load_config: 632 loaded config, rules: 459 +18:12:57 DEBUG apply_initial_labels: 403 +18:12:57 DEBUG apply_initial_labels: 438 sha1-ce.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ghash-ce.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sha256-arm64.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 crct10dif-ce.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 aes-neon-bs.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sha2-ce.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nhpoly1305-neon.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 michael_mic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 crc32_generic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 xxhash_generic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ansi_cprng.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tcrypt.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 essiv.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 async_tx.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pkcs8_key_parser.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 crypto_engine.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 echainiv.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vmac.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 xcbc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 md4.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rmd160.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 wp512.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 blake2b_generic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pcbc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 lrw.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 chacha20poly1305.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pcrypt.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 fcrypt.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 blowfish_common.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 serpent_generic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 twofish_common.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 camellia_generic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cast_common.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 chacha_generic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 poly1305_generic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 zstd.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 curve25519-generic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 async_memcpy.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 async_xor.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nhpoly1305.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 adiantum.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 des_generic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 blowfish_generic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 twofish_generic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cast5_generic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cast6_generic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 async_pq.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 asym_tpm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 async_raid6_recov.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 raid6test.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 video.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 einj.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for video.ko modules, new rule: drivers/acpi/.* +18:12:57 DEBUG apply_initial_labels: 438 pfr_update.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pfr_telemetry.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 acpi_ipmi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nfit.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 libahci_platform.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ata_generic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ahci_xgene.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ahci_seattle.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ahci_platform.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 regmap-ram.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 regmap-raw-ram.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 regmap-spi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 brd.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 loop.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nbd.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 virtio_blk.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 zram.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 null_blk.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pktcdvd.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rbd.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mhi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mhi_pci_generic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cdrom.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ipmi_msghandler.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ipmb_dev_int.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ssif_bmc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 timeriomem-rng.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 xgene-rng.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cavium-rng.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cavium-rng-vf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cn10k-rng.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tpm_i2c_nuvoton.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tpm_vtpm_proxy.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 virtio_console.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ipmi_devintf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ipmi_si.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ipmi_ssif.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ipmi_ipmb.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ipmi_watchdog.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ipmi_poweroff.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 clk-bd718x7.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 clk-max77686.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 clk-scmi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 clk-scpi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cpufreq-dt.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cpufreq-dt-platdev.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cppc_cpufreq.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 imx-cpufreq-dt.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 scmi-cpufreq.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 scpi-cpufreq.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 error.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 caam.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 caamhash_desc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 caamalg_desc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 caam_jr.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 thunderx_zip.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 cptpf.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 cptvf.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 n5pf.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 chcr.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 hisi_sec.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rvu_cptpf.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rvu_cptvf.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ccp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for thunderx_zip.ko modules, new rule: drivers/crypto/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cptpf.ko modules, new rule: drivers/crypto/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cptvf.ko modules, new rule: drivers/crypto/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for n5pf.ko modules, new rule: drivers/crypto/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for error.ko modules, new rule: drivers/crypto/.* +18:12:57 DEBUG apply_initial_labels: 438 ccp-crypto.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hisi_sec.ko modules, new rule: drivers/crypto/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for caam.ko modules, new rule: drivers/crypto/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rvu_cptpf.ko modules, new rule: drivers/crypto/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for caamhash_desc.ko modules, new rule: drivers/crypto/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for caamalg_desc.ko modules, new rule: drivers/crypto/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rvu_cptvf.ko modules, new rule: drivers/crypto/.* +18:12:57 DEBUG apply_initial_labels: 438 bcm_crypto_spu.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for chcr.ko modules, new rule: drivers/crypto/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for caam_jr.ko modules, new rule: drivers/crypto/.* +18:12:57 DEBUG apply_initial_labels: 438 cxl_core.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cxl_pci.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cxl_mem.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cxl_acpi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cxl_pmem.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cxl_port.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dax_hmem.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 device_dax.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 kmem.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dax_pmem_core.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dax_pmem.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dax_pmem_compat.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 governor_simpleondemand.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 governor_performance.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 governor_powersave.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 governor_userspace.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 governor_passive.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 imx-bus.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 imx8m-ddrc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hdma_mgmt.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hdma.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 virt-dma.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dw_dmac_core.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dw_dmac.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dw_dmac_pci.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 imx-sdma.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tegra186-gpc-dma.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 thunderx_edac.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 xgene_edac.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 bluefield_edac.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dmc520_edac.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 extcon-gpio.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 arm_scpi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ffa-module.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 scmi_pm_domain.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 imx-dsp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 scpi_pm_domain.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 gnss.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 gpio-generic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 gpio-pca953x.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 gpio-sim.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 gpio-virtio.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 gpio-xlp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 gpio-dwapb.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 gpio-mlxbf2.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 gpio-mlxbf3.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 gpio-mxc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 gpio-xgene-sb.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 drm_dp_aux_bus.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 drm_display_helper.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 drm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 drm_kms_helper.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 drm_shmem_helper.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 drm_exec.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 drm_buddy.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 drm_suballoc_helper.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 drm_ttm_helper.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 drm_gpuvm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 drm_vram_helper.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 gud.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hyperv_drm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 qxl.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 gpu-sched.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cirrus.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 gm12u320.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 bochs.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ttm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 udl.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 virtio-gpu.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vkms.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vmwgfx.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 host1x.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-picolcd.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 hid-prodikeys.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 hid-ite.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-jabra.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-kensington.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-keytouch.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-kye.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-lcpower.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-lenovo.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-letsketch.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-lg-g15.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-logitech-dj.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-logitech-hidpp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-monterey.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-multitouch.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-nti.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-ortek.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-pl.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-penmount.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-petalynx.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-plantronics.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-primax.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-roccat.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-roccat-common.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-saitek.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-samsung.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-semitek.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-sigmamicro.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-sjoy.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-speedlink.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-steelseries.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-sunplus.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-gaff.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-tmff.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-thrustmaster.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-tivo.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-topseed.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-twinhan.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-uclogic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-led.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-xiaomi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-xinmo.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-zpff.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-zydacron.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 wacom.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-waltop.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-sensor-hub.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 uhid.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-a4tech.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-axff.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-apple.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-appleir.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-aureal.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-belkin.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-cherry.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-chicony.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-corsair.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-cougar.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-cypress.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-dr.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-elan.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-elecom.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-elo.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-evision.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-ezkey.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-gembird.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-gfrm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-gt683r.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-gyration.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-holtek-kbd.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-holtek-mouse.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-holtekff.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-icade.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-logitech.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-microsoft.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-picolcd.ko modules, new rule: drivers/hid/.* +18:12:57 DEBUG apply_initial_labels: 438 hid-roccat-arvo.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-roccat-isku.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-roccat-kone.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-roccat-koneplus.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-roccat-konepure.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-roccat-kovaplus.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-roccat-lua.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-roccat-pyra.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-roccat-ryos.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-roccat-savu.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-rmi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-sony.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-wiimote.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-hid.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-betopff.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hid-hyperv.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-hid-acpi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-hid-of.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-hid-of-goodix.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-prodikeys.ko modules, new rule: drivers/hid/.* +18:12:57 DEBUG apply_initial_labels: 438 hte-tegra194.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hv_vmbus.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hv_utils.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hv_balloon.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ntc_thermistor.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 g762.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ina3221.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 jc42.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 lm70.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ltc2945.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ltc4222.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ltc4260.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 max1111.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 max31790.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mlxreg-fan.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nct7802.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nct7904.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ntc_thermistor.ko modules, new rule: drivers/hwmon/.* +18:12:57 DEBUG apply_initial_labels: 438 powr1220.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pwm-fan.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 shtc1.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tc74.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tmp103.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vexpress-hwmon.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 xgene-hwmon.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pmbus_core.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 acpi_power_meter.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ad7314.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 adc128d818.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 adcxx.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ads7871.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 scmi-hwmon.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ltc3815.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 max20751.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tps40422.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 scpi-hwmon.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 coresight.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 stm_core.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 coresight-tmc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 coresight-tpiu.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 coresight-etb10.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 coresight-funnel.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 coresight-replicator.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 coresight-etm4x.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 coresight-stm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 coresight-cpu-debug.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 coresight-cti.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 coresight-trbe.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 coresight-catu.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-algo-bit.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-algo-pca.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-nforce2.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-designware-core.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-imx.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-imx-lpi2c.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-thunderx.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-xlp9xx.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-diolan-u2c.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-tiny-usb.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-mlxbf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-xgene-slimpro.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-virtio.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-mux.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-smbus.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-dev.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-stub.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-slave-eeprom.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-designware-platform.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-gpio.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-pca-platform.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-simtec.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-versatile.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-arb-gpio-challenge.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-mux-gpio.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-mux-mlxcpld.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-mux-pca9541.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-mux-pca954x.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i2c-mux-pinctrl.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i3c.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 svc-i3c-master.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 serport.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 serio_raw.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 altera_ps2.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 arc_ps2.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 gpio_keys.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 snvs_pwrkey.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 elan_i2c.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 synaptics_i2c.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 synaptics_usb.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vsxxxaa.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 uinput.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ff-memless.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sparse-keymap.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rmi_core.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hyperv-keyboard.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rmi_i2c.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rmi_spi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rmi_smbus.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 imx-interconnect.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 imx8mm-interconnect.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 imx8mq-interconnect.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 imx8mn-interconnect.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 imx8mp-interconnect.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 iommufd.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 arm_mhu.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 arm_mhu_db.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 imx-mailbox.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mailbox-xgene-slimpro.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 linear.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 raid0.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 raid1.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 raid10.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 faulty.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-mod.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-bio-prison.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-bufio.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-delay.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-flakey.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-multipath.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-switch.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-log.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-zero.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-log-writes.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-writecache.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-crypt.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-round-robin.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-queue-length.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-service-time.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-historical-service-time.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-io-affinity.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-snapshot.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-persistent-data.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-log-userspace.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-region-hash.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-verity.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-integrity.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-mirror.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-thin-pool.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-cache.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-era.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 raid456.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-cache-smq.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dm-raid.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mptbase.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mptscsih.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mptspi.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mptsas.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mptbase.ko modules, new rule: drivers/message/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mptscsih.ko modules, new rule: drivers/message/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mptspi.ko modules, new rule: drivers/message/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mptsas.ko modules, new rule: drivers/message/.* +18:12:57 DEBUG apply_initial_labels: 438 at24.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 eeprom.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 max6875.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 eeprom_93cx6.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ee1004.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cb710.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pvpanic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tifm_core.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 enclosure.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hpilo.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vmw_vmci.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pvpanic-pci.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 bareudp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 bonding.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dummy.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ena.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 amd-xgbe.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 xgene-enet-v2.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 xgene-enet.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cavium_ptp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 thunder_xcv.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 thunder_bgx.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nicvf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nicpf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 fec.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 gve.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hns_mdio.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hnae.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hnae3.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hns_dsaf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hns_enet_drv.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hclge.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hclgevf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hns3.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hinic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 e1000.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 e1000e.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 igc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 igbvf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ixgbevf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i40e.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 iavf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 fm10k.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 idpf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 igb.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ixgbe.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ice.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mlx4_core.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mlxfw.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mlxbf_gige.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mlx4_en.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mlx5_core.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mlxsw_core.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mlx5_dpll.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mlxsw_pci.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mlxsw_i2c.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mlxsw_spectrum.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mlxsw_minimal.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nfp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ionic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 qcom-emac.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 r8169.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 8139cp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 8139too.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 geneve.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hv_netvsc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ifb.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ipvlan.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ipvtap.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 macsec.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 macvlan.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 macvtap.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mdio-bcm-unimac.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mdio-bitbang.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mdio-cavium.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mdio-hisi-femac.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mdio-mscc-miim.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mdio-xgene.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mdio.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mdio-gpio.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mdio-octeon.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mdio-thunder.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mhi_net.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mii.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 net_failover.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 netconsole.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nlmon.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pcs_xpcs.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 qcom-phy-lib.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 phylink.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 amd.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ax88796b.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 bcm87xx.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 bcm-phy-lib.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cicada.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cortina.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 davicom.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dp83640.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dp83822.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dp83848.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dp83867.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dp83tc811.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dp83tg720.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 icplus.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 intel-xway.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 et1011c.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 lxt.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 marvell10g.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 marvell.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 marvell-88q2xxx.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 spi_ks8995.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 micrel.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 microchip.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 microchip_t1.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 national.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 qsemi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 realtek.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 uPD60620.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rockchip.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 smsc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ste10Xp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 teranetics.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vitesse.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 xilinx_gmii2rgmii.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 at803x.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 qca83xx.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 qca808x.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 qca807x.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 aquantia.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 bcm7xxx.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 bcm-phy-ptp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mxl-gpy.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mscc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 broadcom.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tap.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 team.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 team_mode_broadcast.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 team_mode_roundrobin.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 team_mode_random.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 team_mode_activebackup.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 team_mode_loadbalance.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 thunderbolt_net.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tun.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 veth.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 virtio_net.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vmxnet3.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vrf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vsockmon.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vxlan.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hdlc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hdlc_raw.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hdlc_cisco.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hdlc_fr.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hdlc_ppp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 wireguard.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 iosm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mtk_t7xx.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mhi_wwan_ctrl.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mhi_wwan_mbim.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 libnvdimm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 of_pmem.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nd_btt.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nd_pmem.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nvme-rdma.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 nvmet-rdma.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 nvme-auth.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nvme-keyring.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nvme-core.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nvmet.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nvme-fabrics.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nvmet-fc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nvme.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nvmet-tcp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nvme-fc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nvme-rdma.ko modules, new rule: drivers/nvme/.* +18:12:57 DEBUG apply_initial_labels: 438 nvme-tcp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nvme-loop.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nvmet-rdma.ko modules, new rule: drivers/nvme/.* +18:12:57 DEBUG apply_initial_labels: 438 nvme-fcloop.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nvmem-imx-ocotp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 acpiphp_ibm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pci-pf-stub.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pci-hyperv-intf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pci-hyperv.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 arm-cmn.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 arm_dsu_pmu.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 arm_smmuv3_pmu.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 thunderx2_pmu.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 arm_spe_pmu.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 arm_dmc620_pmu.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 marvell_cn10k_tad_pmu.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 marvell_cn10k_ddr_pmu.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 arm_cspmu_module.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cxl_pmu.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 phy-bcm-sr-usb.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 phy-fsl-imx8mq-usb.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 phy-hi6220-usb.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 phy-tegra-xusb.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pinctrl-mlxbf3.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 imx93-pd.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pps-ldisc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pps-gpio.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ptp_kvm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pwm-imx27.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 userspace-consumer.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 gpio-regulator.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rohm-regulator.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 max77686-regulator.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pfuze100-regulator.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 bd718x7-regulator.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hi6220_reset.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-pcf8583.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-pcf8563.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-r9701.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-ab-b5ze-s3.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-abx80x.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-nxp-bbnsm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-bq32k.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-bq4802.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-ds1286.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-ds1305.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-ds1307.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-ds1374.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-ds1390.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-ds1511.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-ds1553.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-ds1672.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-ds1685.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-ds1742.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-ds2404.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-em3027.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-fm3130.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-hym8563.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-isl12022.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-isl1208.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-m41t80.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-m41t93.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-m41t94.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-m48t35.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-m48t59.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-max6900.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-max6902.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-max77686.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-mcp795.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-msm6242.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-pcf85063.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-pcf8523.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-rp5c01.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-rs5c348.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-rs5c372.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-rv3028.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-rv3032.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-rv8803.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-rx4581.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-rx8010.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-rx8025.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-rx8581.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-snvs.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-stk17ta8.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-tegra.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-x1205.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-ds1343.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-ds1347.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-ds3232.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-pcf2123.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-pcf2127.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rtc-rv3029c2.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ch.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hpsa.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hv_storvsc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ipr.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 iscsi_tcp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 libfc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 libiscsi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 libiscsi_tcp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mpi3mr.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 raid_class.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 scsi_debug.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 scsi_transport_spi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 scsi_transport_fc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 scsi_transport_iscsi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 scsi_transport_sas.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 scsi_transport_srp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ses.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sg.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 smartpqi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sr_mod.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 st.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 virtio_scsi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 imx93-src.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 qmi_helpers.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 spi-bitbang.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 spi-fsl-lpspi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 spi-fsl-qspi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 spi-imx.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 spi-nxp-fspi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 spi-pl022.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 spi-tegra114.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 spi-xlp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cxgbit.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 target_core_user.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 target_core_mod.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 target_core_iblock.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 target_core_file.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 target_core_pscsi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for target_core_user.ko modules, new rule: drivers/target/.* +18:12:57 DEBUG apply_initial_labels: 438 tcm_loop.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 iscsi_target_mod.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tcm_fc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cxgbit.ko modules, new rule: drivers/target/.* +18:12:57 DEBUG apply_initial_labels: 438 tee.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tegra-bpmp-thermal.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 imx8mm_thermal.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 max77620_thermal.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 qoriq_thermal.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hisi_thermal.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 usbatm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 cxacru.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ueagle-atm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xusbatm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mdc800.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 microtek.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ezusb.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 adutux.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 appledisplay.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 emi26.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 emi62.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 idmouse.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 iowarrior.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 isight_firmware.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 usblcd.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ldusb.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 legousbtower.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 usbsevseg.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 usb3503.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 chaoskey.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 sisusbvga.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 onboard_usb_hub.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 aircable.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ark3116.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 belkin_sa.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ch341.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 cp210x.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 cyberjack.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 cypress_m8.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 usb_debug.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 digi_acceleport.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 io_edgeport.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 io_ti.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 empeg.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 f81534.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ftdi_sio.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 garmin_gps.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ipaq.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ir-usb.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 usb_wwan.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 iuu_phoenix.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 kl5kusb105.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 kobil_sct.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mct_u232.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mos7720.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mos7840.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mxuport.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 navman.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 omninet.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 opticon.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 oti6858.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 pl2303.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 qcaux.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 quatech2.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 safe_serial.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 sierra.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 usb-serial-simple.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 spcp8x5.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ssu100.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 symbolserial.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ti_usb_3410_5052.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 upd78f0730.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 visor.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xsens_mt.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ipw.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 keyspan.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 keyspan_pda.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 option.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 qcserial.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 whiteheat.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 usb-conn-gpio.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ulpi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ledtrig-usbport.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 phy-generic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 phy-tegra-usb.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 phy-mxs-usb.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dwc3-imx8mp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ehci-platform.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 usb-storage.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for aircable.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ark3116.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for belkin_sa.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ch341.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cp210x.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cyberjack.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cypress_m8.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for usb_debug.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for digi_acceleport.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for io_edgeport.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for io_ti.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for empeg.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for f81534.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ftdi_sio.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for garmin_gps.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipaq.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ir-usb.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for usb_wwan.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for iuu_phoenix.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ezusb.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for kl5kusb105.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for kobil_sct.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mct_u232.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mos7720.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mos7840.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mxuport.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for navman.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for omninet.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for opticon.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for oti6858.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pl2303.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for qcaux.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for quatech2.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for safe_serial.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sierra.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for usb-serial-simple.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for spcp8x5.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ssu100.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for symbolserial.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ti_usb_3410_5052.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for upd78f0730.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for visor.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xsens_mt.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for adutux.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for appledisplay.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for emi26.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for emi62.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for idmouse.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for iowarrior.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for isight_firmware.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for usblcd.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ldusb.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for legousbtower.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for usbsevseg.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for usb3503.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for chaoskey.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sisusbvga.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for onboard_usb_hub.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 438 ucsi_ccg.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 fsa4480.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pi3usb30532.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tcpm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tps6598x.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 stusb160x.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rt1719.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 wusb3801.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cdc-acm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 usblp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 usbtmc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mdc800.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for microtek.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 438 usbmisc_imx.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cdc-wdm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 xhci-tegra.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 uas.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ums-alauda.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ums-cypress.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ums-datafab.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ums-eneub6250.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ums-freecom.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ums-isd200.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ums-jumpshot.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ums-karma.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ums-onetouch.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ums-realtek.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ums-sddr09.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ums-sddr55.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ums-usbat.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipw.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for keyspan.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for keyspan_pda.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for option.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for qcserial.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for whiteheat.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 438 tegra-xudc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 typec_displayport.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 fusb302.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tcpci.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for usbatm.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 438 ci_hdrc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cxacru.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ueagle-atm.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xusbatm.ko modules, new rule: drivers/usb/.* +18:12:57 DEBUG apply_initial_labels: 438 ci_hdrc_usb2.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ci_hdrc_msm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ci_hdrc_npcm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ci_hdrc_pci.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ci_hdrc_imx.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ci_hdrc_tegra.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mlx5-vfio-pci.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 vfio.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vfio_iommu_type1.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vfio-pci-core.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vfio-pci.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mlx5-vfio-pci.ko modules, new rule: drivers/vfio/.* +18:12:57 DEBUG apply_initial_labels: 438 vhost_iotlb.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vhost.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vhost_net.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vhost_vsock.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 lcd.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 gpio_backlight.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 lp855x_bl.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 pwm_bl.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 led_bl.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ssd1307fb.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 platform_lcd.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nitro_enclaves.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 virtio_mmio.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 virtio_balloon.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 virtio_input.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 virtio_mem.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 virtio_dma_buf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sbsa_gwdt.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 imx2_wdt.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 i6300esb.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hpwdt.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mlx_wdt.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 softdog.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 binfmt_misc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cachefiles.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ceph.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 erofs.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 exfat.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ext4.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 fat.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 msdos.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vfat.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 fuse.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 virtiofs.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 isofs.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 jbd2.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 lockd.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mbcache.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 netfs.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 grace.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nfs_acl.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nfs.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nfsd.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nfsv3.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nfsv4.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nfs_layout_nfsv41_files.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 blocklayoutdriver.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nfs_layout_flexfiles.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mac-turkish.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mac-inuit.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mac-romanian.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mac-roman.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mac-gaelic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mac-greek.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mac-iceland.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mac-centeuro.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mac-croatian.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mac-cyrillic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_koi8-ru.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_utf8.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mac-celtic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_iso8859-15.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_koi8-r.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_koi8-u.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_iso8859-13.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_iso8859-9.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_iso8859-14.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_iso8859-6.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_iso8859-7.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp1255.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_iso8859-3.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_iso8859-4.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_iso8859-5.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp1251.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_iso8859-1.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_iso8859-2.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp950.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp949.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp1250.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp932.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_euc-jp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp936.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp869.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp866.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp874.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp863.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp864.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp865.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp737.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp775.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp850.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp852.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp855.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp857.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp860.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp861.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nls_cp862.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 overlay.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ramoops.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 udf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 xfs.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ring_buffer_benchmark.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 kheaders.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 zstd_compress.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 libcurve25519-generic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 raid6_pq.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cordic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 prime_numbers.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 libarc4.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 lz4_compress.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 crc7.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 crc8.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ts_kmp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ts_bm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ts_fsm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 polynomial.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 parman.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 objagg.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 reed_solomon.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 libpoly1305.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 crc-itu-t.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 libcrc32c.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 asn1_encoder.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 libdes.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 libcurve25519.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mrp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 stp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 p8022.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 psnap.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 garp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 8021q.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 br_netfilter.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebtables.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebt_802_3.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebt_among.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebt_arp.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebt_ip.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebt_ip6.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebt_limit.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebt_mark_m.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebt_pkttype.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebt_stp.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebt_vlan.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebt_arpreply.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebt_mark.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebt_dnat.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebt_redirect.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebt_snat.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebt_log.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebt_nflog.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebtable_broute.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebtable_filter.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ebtable_nat.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebtables.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_802_3.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_among.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_arp.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_ip.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_ip6.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_limit.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_mark_m.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_pkttype.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_stp.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_vlan.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_arpreply.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_mark.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_dnat.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_redirect.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_snat.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_log.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_nflog.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebtable_broute.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebtable_filter.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebtable_nat.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 438 bridge.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_meta_bridge.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_reject_bridge.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_conntrack_bridge.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for br_netfilter.ko modules-extra, new rule: net/bridge/.* +18:12:57 DEBUG apply_initial_labels: 438 libceph.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 failover.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 dns_resolver.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hsr.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 arp_tables.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 arpt_mangle.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 arptable_filter.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip_tables.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ipt_ah.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ipt_rpfilter.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ipt_ECN.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 iptable_filter.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 iptable_mangle.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 iptable_raw.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 iptable_security.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ipt_REJECT.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 iptable_nat.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ipt_SYNPROXY.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 gre.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_tables.ko modules-extra, new rule: net/ipv4/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipt_ah.ko modules-extra, new rule: net/ipv4/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipt_rpfilter.ko modules-extra, new rule: net/ipv4/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipt_ECN.ko modules-extra, new rule: net/ipv4/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for arp_tables.ko modules-extra, new rule: net/ipv4/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for arpt_mangle.ko modules-extra, new rule: net/ipv4/.* +18:12:57 DEBUG apply_initial_labels: 438 ip_tunnel.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tunnel4.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ah4.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 esp4.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tcp_bbr.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tcp_dctcp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tcp_nv.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_dup_ipv4.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 udp_tunnel.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_defrag_ipv4.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_reject_ipv4.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_socket_ipv4.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_tproxy_ipv4.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for iptable_filter.ko modules-extra, new rule: net/ipv4/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for iptable_mangle.ko modules-extra, new rule: net/ipv4/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for iptable_raw.ko modules-extra, new rule: net/ipv4/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for iptable_security.ko modules-extra, new rule: net/ipv4/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipt_REJECT.ko modules-extra, new rule: net/ipv4/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for arptable_filter.ko modules-extra, new rule: net/ipv4/.* +18:12:57 DEBUG apply_initial_labels: 438 ipip.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip_gre.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip_vti.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 esp4_offload.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ipcomp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 xfrm4_tunnel.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_dup_ipv4.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_nat_h323.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_nat_pptp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_reject_ipv4.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_flow_table_ipv4.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for iptable_nat.ko modules-extra, new rule: net/ipv4/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipt_SYNPROXY.ko modules-extra, new rule: net/ipv4/.* +18:12:57 DEBUG apply_initial_labels: 438 nft_fib_ipv4.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_nat_snmp_basic.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip6_tables.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip6t_ah.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip6t_eui64.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip6t_frag.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip6t_ipv6header.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip6t_mh.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip6t_hbh.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip6t_rpfilter.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip6t_rt.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip6t_NPT.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip6table_filter.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip6table_mangle.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip6table_raw.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip6table_security.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip6t_REJECT.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip6table_nat.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip6t_SYNPROXY.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6_tables.ko modules-extra, new rule: net/ipv6/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_ah.ko modules-extra, new rule: net/ipv6/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_eui64.ko modules-extra, new rule: net/ipv6/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_frag.ko modules-extra, new rule: net/ipv6/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_ipv6header.ko modules-extra, new rule: net/ipv6/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_mh.ko modules-extra, new rule: net/ipv6/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_hbh.ko modules-extra, new rule: net/ipv6/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_rpfilter.ko modules-extra, new rule: net/ipv6/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_rt.ko modules-extra, new rule: net/ipv6/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_NPT.ko modules-extra, new rule: net/ipv6/.* +18:12:57 DEBUG apply_initial_labels: 438 ah6.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 esp6.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 mip6.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_dup_ipv6.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip6_udp_tunnel.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 tunnel6.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_defrag_ipv6.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_reject_ipv6.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_socket_ipv6.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_tproxy_ipv6.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 xfrm6_tunnel.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6table_filter.ko modules-extra, new rule: net/ipv6/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6table_mangle.ko modules-extra, new rule: net/ipv6/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6table_raw.ko modules-extra, new rule: net/ipv6/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6table_security.ko modules-extra, new rule: net/ipv6/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_REJECT.ko modules-extra, new rule: net/ipv6/.* +18:12:57 DEBUG apply_initial_labels: 438 esp6_offload.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sit.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip6_tunnel.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_dup_ipv6.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ipcomp6.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip6_vti.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip6_gre.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6table_nat.ko modules-extra, new rule: net/ipv6/.* +18:12:57 DEBUG apply_initial_labels: 438 nft_reject_ipv6.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_flow_table_ipv6.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_SYNPROXY.ko modules-extra, new rule: net/ipv6/.* +18:12:57 DEBUG apply_initial_labels: 438 nft_fib_ipv6.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 af_key.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 llc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip_set.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip_set_bitmap_ip.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip_set_bitmap_ipmac.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip_set_bitmap_port.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip_set_hash_ip.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip_set_hash_ipmac.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip_set_hash_ipmark.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip_set_hash_ipport.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip_set_hash_ipportip.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip_set_hash_ipportnet.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip_set_hash_mac.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip_set_hash_net.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip_set_hash_netport.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip_set_hash_netiface.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip_set_hash_netnet.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip_set_hash_netportnet.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ip_set_list_set.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 nft_compat.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_AUDIT.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_CHECKSUM.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_CLASSIFY.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_DSCP.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_HL.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_HMARK.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_LOG.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_NFLOG.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_NFQUEUE.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_RATEEST.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_SECMARK.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_TCPMSS.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_TCPOPTSTRIP.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_TRACE.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_IDLETIMER.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_addrtype.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_bpf.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_comment.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_cpu.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_dccp.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_devgroup.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_dscp.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_ecn.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_esp.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_hashlimit.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_hl.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_iprange.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_length.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_limit.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_mac.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_multiport.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_owner.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_cgroup.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_physdev.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_pkttype.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_policy.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_quota.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_realm.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_recent.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_sctp.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_statistic.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_string.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_tcpmss.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_mark.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_TPROXY.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_TEE.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_rateest.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_socket.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_connmark.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_set.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_CONNSECMARK.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_CT.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_cluster.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_connbytes.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_connlabel.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_conntrack.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_helper.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_osf.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_state.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_nat.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_NETMAP.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_REDIRECT.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_MASQUERADE.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_connlimit.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 xt_ipvs.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_AUDIT.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_CHECKSUM.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_CLASSIFY.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_DSCP.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_HL.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_HMARK.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_LOG.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_NFLOG.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_NFQUEUE.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_RATEEST.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_SECMARK.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_TCPMSS.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_TCPOPTSTRIP.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_TRACE.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_IDLETIMER.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_addrtype.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_bpf.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_comment.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_cpu.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_dccp.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_devgroup.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_dscp.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_ecn.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_esp.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_hashlimit.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_hl.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_iprange.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_length.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_limit.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_mac.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_multiport.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_owner.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_cgroup.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_physdev.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_pkttype.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_policy.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_quota.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_realm.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_recent.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_sctp.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_statistic.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_string.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_tcpmss.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 438 nfnetlink.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_log_syslog.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_dup_netdev.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_mark.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_TPROXY.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_TEE.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_rateest.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_socket.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 438 nf_conntrack.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nfnetlink_queue.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nfnetlink_log.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nfnetlink_osf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nfnetlink_hook.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_tables.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_connmark.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_set.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_CONNSECMARK.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_CT.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_cluster.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_connbytes.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_connlabel.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_conntrack.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_helper.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 438 ip_vs.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_osf.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_state.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_bitmap_ip.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_bitmap_ipmac.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_bitmap_port.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_ip.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_ipmac.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_ipmark.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_ipport.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_ipportip.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_ipportnet.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_mac.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_net.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_netport.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 438 nf_nat.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_netiface.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 438 nf_flow_table.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_netnet.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_netportnet.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_list_set.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 438 nf_conntrack_netlink.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nfnetlink_cttimeout.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nfnetlink_cthelper.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_conntrack_amanda.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_conntrack_ftp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_conntrack_h323.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_conntrack_irc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_conntrack_broadcast.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_conntrack_pptp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_conntrack_sane.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_conntrack_sip.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_conntrack_tftp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_synproxy_core.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_conncount.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_compat.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 438 nft_numgen.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_ct.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_limit.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_objref.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_queue.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_quota.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_reject.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_tunnel.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_counter.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_log.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_hash.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_fib.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_socket.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_osf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_tproxy.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_xfrm.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_dup_netdev.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_fwd_netdev.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip_vs_rr.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip_vs_wrr.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_nat.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 438 ip_vs_lc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip_vs_wlc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip_vs_fo.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip_vs_ovf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip_vs_lblc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip_vs_lblcr.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip_vs_dh.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip_vs_sh.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip_vs_mh.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip_vs_sed.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip_vs_nq.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_NETMAP.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 438 ip_vs_ftp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 ip_vs_pe_sip.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_REDIRECT.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_MASQUERADE.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_connlimit.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_ipvs.ko modules-extra, new rule: net/netfilter/.* +18:12:57 DEBUG apply_initial_labels: 438 nf_conntrack_netbios_ns.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_conntrack_snmp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_nat_amanda.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_nat_ftp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_nat_irc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_nat_sip.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_nat_tftp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_connlimit.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_flow_offload.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_nat.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_reject_inet.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_reject_netdev.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_masq.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_redir.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_synproxy.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_chain_nat.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nf_flow_table_inet.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_fib_inet.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 nft_fib_netdev.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 openvswitch.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vport-vxlan.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vport-geneve.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vport-gre.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 psample.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 qrtr.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 qrtr-mhi.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 act_police.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 act_gact.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 act_mirred.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 act_pedit.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 act_skbedit.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 act_mpls.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 act_vlan.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 act_bpf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 act_tunnel_key.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sch_htb.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sch_hfsc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sch_ingress.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sch_sfq.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sch_tbf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sch_prio.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sch_ets.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sch_mqprio_lib.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sch_cake.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sch_fq.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sch_cbs.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sch_etf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cls_u32.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cls_fw.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cls_flow.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cls_bpf.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cls_flower.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 cls_matchall.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 act_sample.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 act_csum.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 sch_taprio.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 act_ctinfo.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 act_ct.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rpcrdma.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 sunrpc.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 auth_rpcgss.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 rpcsec_gss_krb5.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rpcrdma.ko modules, new rule: net/sunrpc/.* +18:12:57 DEBUG apply_initial_labels: 438 tipc.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 diag.ko: wanted by ['modules-extra'], init allowed to ['modules-extra', 'modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 tls.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vsock.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vmw_vsock_virtio_transport_common.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vsock_diag.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vmw_vsock_vmci_transport.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 hv_sock.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vmw_vsock_virtio_transport.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 vsock_loopback.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 xsk_diag.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 xfrm_ipcomp.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 438 xfrm_interface.ko: wanted by ['modules-core'], init allowed to ['modules-core'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for michael_mic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for crc32_generic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xxhash_generic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ansi_cprng.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tcrypt.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for essiv.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for zstd_compress.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for async_tx.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for libcurve25519-generic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for raid6_pq.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cordic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for prime_numbers.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for libarc4.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for lz4_compress.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for crc7.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for crc8.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ts_kmp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ts_bm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ts_fsm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for polynomial.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for parman.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for objagg.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mhi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for phy-bcm-sr-usb.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for phy-fsl-imx8mq-usb.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for phy-hi6220-usb.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for phy-tegra-xusb.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pinctrl-mlxbf3.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for gpio-generic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for gpio-pca953x.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for gpio-sim.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for gpio-virtio.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for gpio-xlp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pwm-imx27.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for acpiphp_ibm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pci-pf-stub.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pci-hyperv-intf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hv_vmbus.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for lcd.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for gpio_backlight.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for lp855x_bl.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pwm_bl.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for led_bl.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ssd1307fb.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipmi_msghandler.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipmb_dev_int.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ssif_bmc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for einj.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for video.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pfr_update.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for libnvdimm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pfr_telemetry.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for clk-bd718x7.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for clk-max77686.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for clk-scmi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hdma_mgmt.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for arm_scpi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hdma.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 rfkill.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for g762.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for reed_solomon.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ina3221.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-ite.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-jabra.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for jc42.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-kensington.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for lm70.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mac-turkish.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-keytouch.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ltc2945.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for binfmt_misc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-kye.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ltc4222.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-lcpower.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 brcmutil.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ltc4260.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mac-inuit.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for max1111.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-lenovo.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mac-romanian.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for max31790.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-letsketch.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mac-roman.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 mmc_core.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mlxreg-fan.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-lg-g15.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nct7802.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mac-gaelic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-logitech-dj.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nct7904.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mac-greek.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-logitech-hidpp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ntc_thermistor.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mac-iceland.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for powr1220.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-monterey.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 bcma.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pwm-fan.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mac-centeuro.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for shtc1.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-multitouch.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mac-croatian.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tc74.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-nti.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mac-cyrillic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tmp103.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-ortek.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vexpress-hwmon.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_koi8-ru.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-pl.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xgene-hwmon.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_utf8.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pmbus_core.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mac-celtic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 soundcore.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-penmount.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tegra-bpmp-thermal.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-petalynx.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for imx8mm_thermal.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for max77620_thermal.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_iso8859-15.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-plantronics.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for qoriq_thermal.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_koi8-r.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-primax.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hisi_thermal.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_koi8-u.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-roccat.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sbsa_gwdt.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-roccat-common.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for imx2_wdt.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_iso8859-13.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i6300esb.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_iso8859-9.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hpwdt.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_iso8859-14.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mlx_wdt.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for softdog.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_iso8859-6.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for linear.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_iso8859-7.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for raid0.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp1255.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for raid1.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for raid10.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_iso8859-3.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_iso8859-4.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for faulty.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_iso8859-5.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-mod.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-saitek.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-samsung.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-bio-prison.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-semitek.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-sigmamicro.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-sjoy.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp1251.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_iso8859-1.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-speedlink.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_iso8859-2.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-steelseries.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-sunplus.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp950.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-gaff.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp949.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-tmff.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp1250.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-thrustmaster.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-tivo.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-topseed.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-pcf8583.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-twinhan.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-pcf8563.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-uclogic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-led.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp932.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-xiaomi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_euc-jp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-xinmo.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp936.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-zpff.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-zydacron.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp869.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for wacom.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp866.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-waltop.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp874.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-sensor-hub.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp863.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp864.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp865.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 mlxbf-bootctl.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for thunderx_edac.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 mlxbf-pmc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xgene_edac.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 mlxbf-tmfifo.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for bluefield_edac.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 mlxreg-hotplug.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dmc520_edac.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 mlxreg-io.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cpufreq-dt.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 mlxreg-lc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cpufreq-dt-platdev.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 cros_hps_i2c.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cppc_cpufreq.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for arm_mhu.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-r9701.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for imx-cpufreq-dt.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for arm_mhu_db.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for scmi-cpufreq.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for imx-mailbox.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mailbox-xgene-slimpro.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nitro_enclaves.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for libahci_platform.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ata_generic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vmxnet3.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for spi-bitbang.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for gre.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for spi-fsl-lpspi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for spi-fsl-qspi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for thunderbolt_net.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for spi-imx.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mptbase.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for spi-nxp-fspi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for spi-pl022.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for spi-tegra114.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for spi-xlp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for usb-conn-gpio.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for qcom-phy-lib.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ulpi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ledtrig-usbport.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for phy-generic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for phy-tegra-usb.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for phy-mxs-usb.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for phylink.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dwc3-imx8mp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for amd.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ehci-platform.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ax88796b.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for bcm87xx.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for usb-storage.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_tables.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for bcm-phy-lib.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cicada.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cortina.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for davicom.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipt_ah.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dp83640.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipt_rpfilter.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dp83822.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipt_ECN.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dp83848.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for fat.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dp83867.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dp83tc811.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for arp_tables.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dp83tg720.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for exfat.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for arpt_mangle.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for icplus.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cdrom.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for aircable.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for intel-xway.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ark3116.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_tunnel.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for et1011c.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for belkin_sa.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for lxt.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ch341.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for marvell10g.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cp210x.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tunnel4.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for marvell.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cyberjack.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for marvell-88q2xxx.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cypress_m8.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ah4.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for usb_debug.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for esp4.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for spi_ks8995.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 squashfs.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for digi_acceleport.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for micrel.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for io_edgeport.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for microchip.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for io_ti.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for microchip_t1.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for empeg.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xfrm_ipcomp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for jbd2.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for f81534.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tcp_bbr.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for national.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ftdi_sio.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tcp_dctcp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for macsec.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for garmin_gps.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tcp_nv.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for qsemi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipaq.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for realtek.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6_tables.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for uPD60620.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ir-usb.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rockchip.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for usb_wwan.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for smsc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for iuu_phoenix.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ste10Xp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for teranetics.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vitesse.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ezusb.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xilinx_gmii2rgmii.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for kl5kusb105.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mdio-bcm-unimac.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for kobil_sct.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mdio-bitbang.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mct_u232.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mdio-cavium.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mos7720.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_ah.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mos7840.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_eui64.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 mc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mdio-hisi-femac.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mxuport.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_frag.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mdio-mscc-miim.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for navman.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_ipv6header.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for omninet.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_mh.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for opticon.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_hbh.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mdio-xgene.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_rpfilter.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for oti6858.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_rt.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ena.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pl2303.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_NPT.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for amd-xgbe.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for qcaux.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 atl1e.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for quatech2.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ah6.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mii.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for safe_serial.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for esp6.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 atl1c.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sierra.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for usb-serial-simple.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 genet.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for spcp8x5.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mip6.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mdio.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ssu100.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 bnx2.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for symbolserial.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ti_usb_3410_5052.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 tg3.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for upd78f0730.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 bnxt_en.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for visor.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cavium_ptp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for thunder_xcv.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xsens_mt.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xsk_diag.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for adutux.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for af_key.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for governor_simpleondemand.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for virt-dma.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for governor_performance.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dw_dmac_core.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for governor_powersave.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for governor_userspace.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for governor_passive.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mbcache.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for imx-bus.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for imx8m-ddrc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for imx93-src.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for extcon-gpio.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for qmi_helpers.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for arm-cmn.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for imx93-pd.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for arm_dsu_pmu.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for virtio_mmio.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for arm_smmuv3_pmu.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for virtio_balloon.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for thunderx2_pmu.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for virtio_input.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for arm_spe_pmu.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for virtio_mem.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for arm_dmc620_pmu.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for virtio_dma_buf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for marvell_cn10k_tad_pmu.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for userspace-consumer.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for marvell_cn10k_ddr_pmu.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for arm_cspmu_module.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for gpio-regulator.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rohm-regulator.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nvmem-imx-ocotp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for max77686-regulator.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for imx-interconnect.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pfuze100-regulator.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hi6220_reset.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 n_hdlc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 n_gsm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hte-tegra194.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for timeriomem-rng.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hdlc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xgene-rng.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cavium-rng.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for target_core_mod.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cavium-rng-vf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cn10k-rng.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tpm_i2c_nuvoton.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tpm_vtpm_proxy.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for virtio_console.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for iommufd.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for host1x.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for drm_dp_aux_bus.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 chipreg.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 cec.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mtd.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for drm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 cfi_util.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 gen_probe.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-algo-bit.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 nandcore.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for regmap-ram.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for regmap-raw-ram.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for regmap-spi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for brd.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for loop.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 memstick.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nbd.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for virtio_blk.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for zram.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for null_blk.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for at24.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for eeprom.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for max6875.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for appledisplay.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for emi26.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for emi62.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for idmouse.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_AUDIT.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for iowarrior.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_CHECKSUM.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for isight_firmware.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_CLASSIFY.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for usblcd.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ldusb.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for legousbtower.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_DSCP.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for usbsevseg.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_HL.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for usb3503.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_HMARK.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for chaoskey.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_LOG.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sisusbvga.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for onboard_usb_hub.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_NFLOG.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_NFQUEUE.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_RATEEST.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ucsi_ccg.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for fsa4480.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pi3usb30532.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_SECMARK.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tcpm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ledtrig-timer.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ledtrig-oneshot.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_TCPMSS.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ledtrig-heartbeat.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_TCPOPTSTRIP.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tps6598x.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ledtrig-backlight.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for stusb160x.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ledtrig-gpio.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_TRACE.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rt1719.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ledtrig-default-on.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_dup_ipv6.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for wusb3801.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ledtrig-transient.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_dup_ipv4.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cdc-acm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ledtrig-camera.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_IDLETIMER.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for usblp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ledtrig-netdev.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_addrtype.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for usbtmc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ledtrig-audio.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_bpf.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mdc800.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 led-class-flash.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for microtek.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 leds-blinkm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_comment.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 leds-lm3530.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 leds-lp3944.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 leds-lt3593.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 atm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 leds-mlxreg.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ffa-module.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_cpu.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for scmi_pm_domain.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_dccp.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for imx-dsp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_devgroup.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_dscp.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ccp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_ecn.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_esp.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for usbmisc_imx.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_hashlimit.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for thunderx_zip.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_hl.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for serport.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cptpf.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_iprange.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for serio_raw.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cptvf.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for altera_ps2.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for n5pf.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_length.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for arc_ps2.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for error.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_limit.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for gpio_keys.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_mac.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for snvs_pwrkey.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_multiport.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for elan_i2c.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for synaptics_i2c.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_owner.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for synaptics_usb.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_cgroup.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vsxxxaa.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_physdev.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for uinput.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for uhid.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_pkttype.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ff-memless.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-a4tech.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_policy.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sparse-keymap.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-axff.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_quota.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rmi_core.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-apple.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-appleir.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_realm.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-aureal.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_recent.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-belkin.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_sctp.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-ab-b5ze-s3.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-abx80x.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-cherry.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-nxp-bbnsm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-chicony.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_statistic.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-bq32k.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-corsair.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_string.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-bq4802.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-cougar.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_tcpmss.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-ds1286.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-cypress.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-ds1305.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-dr.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-ds1307.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-elan.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-elecom.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-elo.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-ds1374.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-evision.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-ds1390.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-ezkey.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-ds1511.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-gembird.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-ds1553.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-gfrm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-ds1672.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-gt683r.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-ds1685.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-gyration.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-ds1742.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-holtek-kbd.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-ds2404.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-holtek-mouse.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-holtekff.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-em3027.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-fm3130.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-icade.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-hym8563.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 cxgb4vf.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for fec.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for gve.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hns_mdio.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hnae.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hnae3.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hinic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for e1000.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for e1000e.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vhost_iotlb.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for coresight.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for igc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for igbvf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ixgbevf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i40e.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for iavf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for fm10k.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for idpf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for gnss.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for stm_core.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 octeon_ep.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 octeon_ep_vf.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rvu_mbox.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mlx4_core.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mlxfw.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for psample.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6_udp_tunnel.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for udp_tunnel.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tunnel6.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for llc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mlxbf_gige.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 qla3xxx.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 netxen_nic.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for qcom-emac.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for r8169.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ac97_bus.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for netfs.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ionic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xgene-enet-v2.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for iosm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for eeprom_93cx6.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-isl12022.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mtk_t7xx.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ee1004.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-isl1208.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 catc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cb710.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-m41t80.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sha1-ce.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 kaweth.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pvpanic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-m41t93.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-m41t94.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ghash-ce.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 rtl8150.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tifm_core.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sha256-arm64.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for enclosure.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-m48t35.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for crct10dif-ce.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hpilo.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-m48t59.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 lan78xx.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vmw_vmci.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-max6900.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for aes-neon-bs.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 max77686.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-max6902.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 rohm-bd718x7.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-util-mem.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-max77686.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for libpoly1305.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-mcp795.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-msm6242.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ring_buffer_benchmark.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for kheaders.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 hwpoison-inject.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dax_hmem.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-pcf85063.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for device_dax.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-pcf8523.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for grace.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for kmem.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-rp5c01.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sunrpc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cxl_core.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-rs5c348.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp737.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 snd-hda-scodec-component.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-rs5c372.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp775.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-rv3028.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp850.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp852.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-rv3032.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp855.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-rv8803.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp857.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for raid_class.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-rx4581.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp860.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for scsi_transport_spi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-rx8010.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp861.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for scsi_transport_fc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-rx8025.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nls_cp862.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for scsi_transport_iscsi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-rx8581.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ipheth.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for scsi_transport_sas.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-snvs.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-stk17ta8.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for scsi_transport_srp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-tegra.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dns_resolver.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 snd-intel-dspcfg.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-x1205.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-algo-pca.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-nforce2.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cdc-wdm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-designware-core.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 cifs_arc4.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 cifs_md4.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-imx.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 iscsi_boot_sysfs.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-imx-lpi2c.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for fuse.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipvlan.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dummy.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-thunderx.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ib_core.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tap.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-xlp9xx.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nvme-auth.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-diolan-u2c.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for overlay.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ifb.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-tiny-usb.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for macvlan.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-mlxbf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-xgene-slimpro.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for crc-itu-t.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for netconsole.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-virtio.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for team.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nvme-keyring.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for libcrc32c.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-mux.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 megaraid_sas.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tun.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipr.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for veth.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for asn1_encoder.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-smbus.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tee.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 snd-intel-sdw-acpi.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-dev.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pkcs8_key_parser.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 libcxgb.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-stub.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for crypto_engine.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-slave-eeprom.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for echainiv.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for failover.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i3c.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vmac.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tls.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xcbc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nlmon.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mrp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for md4.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vrf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 uio.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rmd160.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for virtio_scsi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for act_police.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for wp512.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for act_gact.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for act_mirred.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for blake2b_generic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vsock.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for st.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pcbc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 can-dev.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for act_pedit.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for lrw.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sg.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for act_skbedit.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ch.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 uvc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for chacha20poly1305.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for act_mpls.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 v4l2-dv-timings.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pcrypt.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for act_vlan.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for act_bpf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for fcrypt.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pps-ldisc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for libdes.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for act_tunnel_key.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pps-gpio.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for scsi_debug.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ptp_kvm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_defrag_ipv6.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 pwr-mlxbf.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for blowfish_common.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_defrag_ipv4.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 smb347-charger.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for serpent_generic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for acpi_power_meter.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for twofish_common.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 slhc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sch_htb.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for camellia_generic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ad7314.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for adc128d818.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cast_common.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for adcxx.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sch_hfsc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ads7871.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sch_ingress.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for scmi-hwmon.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for chacha_generic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sch_sfq.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sch_tbf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sch_prio.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sch_ets.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sch_mqprio_lib.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebtables.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sch_cake.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sch_fq.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sch_cbs.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sch_etf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_802_3.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_among.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cls_u32.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_arp.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cls_fw.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_ip.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cls_flow.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_ip6.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cls_bpf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_limit.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cls_flower.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_mark_m.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cls_matchall.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_pkttype.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nfnetlink.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_stp.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_vlan.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_arpreply.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_mark.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_dnat.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_redirect.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_snat.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_log.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebt_nflog.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 can.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_log_syslog.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_dup_netdev.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hsr.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for qrtr.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_reject_ipv4.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_reject_ipv6.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_socket_ipv4.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_socket_ipv6.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_tproxy_ipv6.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_tproxy_ipv4.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_mark.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for poly1305_generic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for zstd.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for curve25519-generic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for async_memcpy.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for async_xor.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for libcurve25519.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mhi_pci_generic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for gpio-dwapb.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for gpio-mlxbf2.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for gpio-mlxbf3.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for gpio-mxc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for gpio-xgene-sb.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pci-hyperv.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for platform_lcd.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipmi_devintf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipmi_si.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipmi_ssif.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipmi_ipmb.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipmi_watchdog.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipmi_poweroff.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for acpi_ipmi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nfit.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for clk-scpi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ramoops.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-logitech.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-microsoft.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ltc3815.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 snd.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for max20751.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tps40422.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-picolcd.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-roccat-arvo.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-roccat-isku.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-roccat-kone.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-roccat-koneplus.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-roccat-konepure.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-roccat-kovaplus.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-roccat-lua.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-roccat-pyra.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-roccat-ryos.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-roccat-savu.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-rmi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-bufio.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-delay.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-sony.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-flakey.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-multipath.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-switch.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-log.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-zero.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-wiimote.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-hid.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-log-writes.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-writecache.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for scpi-cpufreq.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 armmmci.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hv_utils.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 sdhci.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mhi_wwan_ctrl.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mhi_wwan_mbim.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hv_balloon.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ahci_xgene.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hv_netvsc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mptscsih.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for at803x.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for qca83xx.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for qca808x.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for qca807x.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for msdos.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for aquantia.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xhci-tegra.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for uas.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for bcm7xxx.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ums-alauda.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ums-cypress.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for iptable_filter.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for bcm-phy-ptp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ums-datafab.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for iptable_mangle.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ums-eneub6250.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ums-freecom.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for iptable_raw.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ums-isd200.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for iptable_security.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ums-jumpshot.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ums-karma.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ums-onetouch.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ums-realtek.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipt_REJECT.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ums-sddr09.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ums-sddr55.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ums-usbat.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for arptable_filter.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for isofs.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipip.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_gre.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_vti.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mxl-gpy.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for esp4_offload.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vfat.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipcomp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xfrm4_tunnel.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mscc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipw.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xfrm6_tunnel.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6table_filter.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6table_mangle.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for keyspan.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6table_raw.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for keyspan_pda.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6table_security.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mdio-gpio.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mdio-octeon.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mdio-thunder.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for option.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pcs_xpcs.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_REJECT.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 atl1.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for qcserial.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for esp6_offload.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 alx.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sit.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 bnx2x.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mpls_router.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for whiteheat.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for thunder_bgx.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dw_dmac.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dw_dmac_pci.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for imx-sdma.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tegra186-gpc-dma.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for bd718x7-regulator.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cxl_pmu.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for imx8mm-interconnect.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for imx8mq-interconnect.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for imx8mn-interconnect.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for imx8mp-interconnect.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 synclink_gt.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for of_pmem.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nd_btt.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for target_core_iblock.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for target_core_file.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for target_core_pscsi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for target_core_user.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tcm_loop.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for iscsi_target_mod.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ofpart.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for drm_kms_helper.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 cfi_probe.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 cfi_cmdset_0020.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 cfi_cmdset_0002.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 cfi_cmdset_0001.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 physmap.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ttm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 nand.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mtd_blkdevs.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for drm_shmem_helper.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 spi-nor.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for drm_exec.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ubi.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 uio_pci_generic.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for drm_buddy.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 uio_hv_generic.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for drm_suballoc_helper.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vfio.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for gpu-sched.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 amdxcp.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 bluetooth.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pktcdvd.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 mspro_block.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 tifm_ms.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 jmb38x_ms.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 r592.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ib_umad.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ib_uverbs.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 cqhci.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 tifm_sd.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 cb710-mmc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 via-sdmmc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 dw_mmc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 vub300.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ushc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 toshsd.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tegra-xudc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for typec_displayport.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 pwrseq_simple.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 pwrseq_emmc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mmc_block.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 sdio_uart.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_TPROXY.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for fusb302.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tcpci.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_TEE.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for usbatm.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ci_hdrc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for scpi_pm_domain.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ccp-crypto.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hisi_sec.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hyperv-keyboard.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for caam.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rvu_cptpf.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for caamhash_desc.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for caamalg_desc.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rvu_cptvf.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for bcm_crypto_spu.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_rateest.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rmi_i2c.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rmi_spi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rmi_smbus.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-betopff.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_socket.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-ds1343.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-ds1347.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-ds3232.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-hyperv.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nicvf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hns_dsaf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hns_enet_drv.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hclge.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hclgevf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 siw.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hns3.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vhost.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for igb.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vmw_vsock_virtio_transport_common.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for coresight-tmc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ixgbe.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for coresight-tpiu.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for coresight-etb10.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for coresight-funnel.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for coresight-replicator.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for coresight-etm4x.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ice.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for coresight-stm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for coresight-cpu-debug.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for coresight-cti.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for coresight-trbe.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 rvu_af.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 otx2_ptp.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mlx4_en.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mlx5_core.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mlxsw_core.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vxlan.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6_tunnel.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for stp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nfp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for 8139cp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for 8139too.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 smc91x.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 fscache.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xgene-enet.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hdlc_raw.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hdlc_cisco.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hdlc_fr.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hdlc_ppp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 cfg80211.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ext4.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sha2-ce.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 pegasus.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for pvpanic-pci.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 r8152.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 hso.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nhpoly1305.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 usbnet.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-pcf2123.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dax_pmem_core.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-pcf2127.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nfs_acl.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cxl_pci.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cxl_mem.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cxl_acpi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rtc-rv3029c2.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cxl_pmem.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cxl_port.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for lockd.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 libsas.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for libfc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for libiscsi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 qed.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-designware-platform.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for auth_rpcgss.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-gpio.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for bonding.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-pca-platform.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-simtec.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipvtap.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 iw_cm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-versatile.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ib_cm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nvme-core.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for virtiofs.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for wireguard.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for udf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 csiostor.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xfs.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for macvtap.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nvmet.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-arb-gpio-challenge.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for team_mode_broadcast.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hpsa.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-mux-gpio.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for team_mode_roundrobin.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for smartpqi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for erofs.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for team_mode_random.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-mux-mlxcpld.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for libceph.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for team_mode_activebackup.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 mpt3sas.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 trusted.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for team_mode_loadbalance.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mpi3mr.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-mux-pca9541.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-mux-pca954x.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-mux-pinctrl.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for geneve.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for net_failover.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for p8022.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 cxgb4.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for psnap.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for bareudp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for svc-i3c-master.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 videobuf2-common.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vsockmon.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mhi_net.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hv_storvsc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for act_sample.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 videodev.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sr_mod.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 mcp251xfd.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for adiantum.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 mcp251x.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for act_csum.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 usb_8dev.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ses.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 kvaser_usb.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 pulse8-cec.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for des_generic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 peak_usb.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rainshadow-cec.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 vxcan.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 m_can.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for blowfish_generic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_conntrack.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for twofish_generic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 peak_pciefd.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ppp_generic.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cast5_generic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cast6_generic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ahci_seattle.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ahci_platform.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for scpi-hwmon.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebtable_broute.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebtable_filter.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ebtable_nat.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for sch_taprio.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nfnetlink_queue.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nfnetlink_log.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nfnetlink_osf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nfnetlink_hook.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 can-raw.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 can-bcm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 can-gw.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 can-j1939.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 can-isotp.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tipc.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 rfkill-gpio.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_tables.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vsock_diag.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vmw_vsock_vmci_transport.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hv_sock.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for qrtr-mhi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_connmark.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 sdhci-acpi.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_set.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 dw_mmc-pltfm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_CONNSECMARK.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_CT.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nhpoly1305-neon.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mptspi.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 asix.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mptsas.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ax88179_178a.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 sdhci-pltfm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dax_pmem.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 cdc_ether.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dax_pmem_compat.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 cdc_eem.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 dm9601.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for async_pq.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 sr9700.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 smsc75xx.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nfs.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 smsc95xx.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 gl620a.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 net1080.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_dup_ipv4.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 plusb.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 cdc_subset.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for broadcom.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 mcs7830.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 int51x1.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 kalmia.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 sierra_net.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 cx82310_eth.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_cluster.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cxacru.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 libfcoe.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_connbytes.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ueagle-atm.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_connlabel.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nfsd.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 qmi_wwan.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_conntrack.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xusbatm.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for libiscsi_tcp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ch9200.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ci_hdrc_usb2.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ci_hdrc_msm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 rdma_cm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ci_hdrc_npcm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 qla4xxx.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ci_hdrc_pci.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nvme-fabrics.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ci_hdrc_imx.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_helper.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ci_hdrc_tegra.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for chcr.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nvmet-fc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_vs.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cachefiles.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xfrm_interface.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for caam_jr.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ceph.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_osf.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for asym_tpm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for virtio_net.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 qedi.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_dup_ipv6.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for garp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 be2iscsi.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 videobuf2-v4l2.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_state.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 videobuf2-memops.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_bitmap_ip.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_bitmap_ipmac.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_bitmap_port.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 hisi_sas_main.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_ip.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_ipmac.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for act_ctinfo.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_ipmark.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_ipport.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 m_can_pci.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipcomp6.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_ipportip.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nvme.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_ipportnet.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6_vti.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_mac.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ppp_async.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_net.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6_gre.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_netport.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 bsd_comp.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_nat.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_netiface.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ppp_deflate.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_flow_table.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ppp_mppe.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_netnet.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nvmet-tcp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ppp_synctty.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_hash_netportnet.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 mpls_iptunnel.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 pppox.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_set_list_set.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nicpf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 efa.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ch_ipsec.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 irdma.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ch_ktls.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mlx4_ib.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mlx5_ib.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 bnxt_re.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 brcmfmac.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ib_ipoib.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rdma_rxe.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 iwlwifi.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vhost_net.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vhost_vsock.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 mwifiex.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_conntrack_netlink.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 snd-seq-device.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nfnetlink_cttimeout.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nfnetlink_cthelper.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_conntrack_amanda.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_conntrack_ftp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nd_pmem.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_conntrack_h323.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_conntrack_irc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_conntrack_broadcast.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for coresight-catu.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_conntrack_pptp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_conntrack_sane.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 rfcomm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_conntrack_sip.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 bnep.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-ctl-led.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_conntrack_tftp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 hidp.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rvu_nicpf.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for tcm_fc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rpcsec_gss_krb5.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 snd-hwdep.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-timer.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cxgbit.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for drm_display_helper.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for diag.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ch7006.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mlx5_dpll.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_synproxy_core.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_conncount.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 tda998x.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ath.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mlxsw_pci.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_compat.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mlxsw_i2c.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vmw_vsock_virtio_transport.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-crypt.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for drm_ttm_helper.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_numgen.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 snd-ak4xxx-adda.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_ct.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vsock_loopback.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 gpmi-nand.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for cirrus.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_limit.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-round-robin.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for gm12u320.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-queue-length.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 snd-i2c.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mtdblock.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_objref.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-service-time.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_queue.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-historical-service-time.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for bridge.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_quota.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-io-affinity.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for gud.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_reject.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for drm_gpuvm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-snapshot.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-persistent-data.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vfio_iommu_type1.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vfio-pci-core.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-log-userspace.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_tunnel.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-region-hash.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 qede.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_counter.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 mgag200.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 hci_vhci.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_log.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 hci_uart.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vkms.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 bcm203x.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_hash.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-verity.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 bpa10x.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_fib.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 stmmac.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 bfusb.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for udl.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ast.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-hid-acpi.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for virtio-gpu.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 btsdio.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-hid-of.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 btrtl.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-integrity.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for i2c-hid-of-goodix.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 btintel.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_socket.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hyperv_drm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 btbcm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_osf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 btmtk.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ath3k.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 btmrvl.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_tproxy.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_xfrm.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rbd.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_dup_netdev.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_fwd_netdev.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 mac80211.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 sdhci-pci.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 pppoe.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_vs_rr.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 pptp.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_vs_wrr.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_nat.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_vs_lc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_vs_wlc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_vs_fo.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_vs_ovf.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_vs_lblc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 dw_mmc-bluefield.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_vs_lblcr.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_vs_dh.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_vs_sh.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_vs_mh.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_vs_sed.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 sdhci-esdhc-imx.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_vs_nq.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 sdhci-tegra.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_NETMAP.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nfsv3.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 sdhci-of-dwcmshc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_vs_ftp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip_vs_pe_sip.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 sdhci-iproc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for async_raid6_recov.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_nat_h323.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_nat_pptp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_REDIRECT.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_MASQUERADE.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_reject_ipv4.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_flow_table_ipv4.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 rndis_host.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 zaurus.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for iptable_nat.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nfsv4.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 cdc_ncm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ipt_SYNPROXY.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 lg-vl600.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 qedf.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-ice17xx-ak4xxx.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_connlimit.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for iscsi_tcp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 cifs.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 r8153_ecm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nvme-fc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for xt_ipvs.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 libcxgbi.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6table_nat.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_reject_ipv6.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_flow_table_ipv6.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 videobuf2-vmalloc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for ip6t_SYNPROXY.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 hisi_sas_v1_hw.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 hisi_sas_v2_hw.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 hisi_sas_v3_hw.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nvme-rdma.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nvme-tcp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for act_ct.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nvme-loop.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nvmet-rdma.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for 8021q.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_meta_bridge.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 iw_cxgb4.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_reject_bridge.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ath10k_core.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_conntrack_bridge.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ath11k.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 qedr.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 brcmfmac-wcc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ib_srp.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ib_srpt.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 brcmfmac-cyw.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ib_iser.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 brcmfmac-bca.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ib_isert.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 brcmsmac.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 iwldvm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 iwlmvm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mwifiex_sdio.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mwifiex_pcie.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-rawmidi.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mwifiex_usb.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mt7601u.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mt76.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for br_netfilter.ko modules-extra, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_conntrack_netbios_ns.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_conntrack_snmp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 rvu_nicvf.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_nat_amanda.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for rpcrdma.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 snd-hrtimer.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_nat_ftp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 snd-pcm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_nat_irc.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 rt2x00lib.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_nat_sip.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 snd-seq.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for openvswitch.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_nat_tftp.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for drm_vram_helper.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_connlimit.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mlxsw_spectrum.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 rtlwifi.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mlxsw_minimal.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_flow_offload.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 snd-pt2258.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-cs8427.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_nat.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_reject_inet.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 snd-opl3-lib.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_reject_netdev.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-mirror.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 radeon.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 amdgpu.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vfio-pci.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for mlx5-vfio-pci.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 rtl8xxxu.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vmwgfx.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 rtw88_core.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_masq.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_redir.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-thin-pool.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 nouveau.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-cache.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 stmmac-platform.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for qxl.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 btusb.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-era.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_fib_ipv4.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 tegra-drm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_fib_ipv6.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 rtw89_core.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 btmrvl_sdio.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_synproxy.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_chain_nat.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ath9k_hw.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_flow_table_inet.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 rdma_ucm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-mona.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-mia.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-echo3g.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-indigo.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-indigoio.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-indigodj.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-indigoiox.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-indigodjx.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-hda-core.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for raid6test.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nf_nat_snmp_basic.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nfs_layout_nfsv41_files.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for blocklayoutdriver.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 huawei_cdc_ncm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nfs_layout_flexfiles.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 snd-korg1212.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-mixart.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 cdc_mbim.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 qla2xxx.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-pcxhr.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-rme9652.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-hdsp.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-hdspm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 lpfc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-usbmidi-lib.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-usb-caiaq.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-usb-6fire.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-usb-hiface.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-bcd2000.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-usb-line6.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 cxgb4i.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 virtio_snd.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 uvcvideo.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nvme-fcloop.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 ath10k_pci.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ath11k_pci.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for hid-prodikeys.ko modules, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 mt76-usb.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mt76x02-lib.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mt76-connac-lib.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-ump.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for raid456.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 snd-seq-dummy.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rt2x00mmio.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vport-vxlan.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 rt2x00pci.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-seq-ump-client.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vport-geneve.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 rt2x00usb.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rt2800lib.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for vport-gre.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 hibmc-drm.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for bochs.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 snd-seq-midi-event.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-seq-midi-emul.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-ak4114.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtl_pci.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-ak4113.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtl_usb.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtl8192c-common.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-dummy.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-aloop.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-mtpav.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 btcoexist.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtl8723-common.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-mpu401-uart.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-vx-lib.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-bt87x.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-ens1370.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtw88_8822b.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-ac97-codec.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtw88_pci.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_fib_inet.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-cache-smq.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 rtw88_8822c.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for nft_fib_netdev.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 dwmac-dwc-qos-eth.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtw88_usb.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 dwmac-imx.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-rme32.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 dwmac-tegra.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-rme96.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtw88_8723d.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtw88_8821c.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-ctxfi.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtw89_8852a.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-lola.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtw89_8852b.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-lx6464es.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtw89_pci.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-darla20.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ath9k_common.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-gina20.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtw89_8852c.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-layla20.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-darla24.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-gina24.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-layla24.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-trident.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rt2800mmio.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-vx222.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-usb-audio.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-seq-virmidi.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rt2800usb.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-ua101.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtl8192ce.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-emu10k1.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtl8192cu.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtl8192se.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-usb-pod.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtl8192de.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-usb-podhd.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-emu10k1x.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtl8723ae.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-usb-toneport.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtl8723be.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-usb-variax.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-hda-codec.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-opl3-synth.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtl8188ee.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-mpu401.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtl8821ae.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtl8192ee.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-cmipci.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 445 already have wants for dm-raid.ko modules-core, new rule: .* +18:12:57 DEBUG apply_initial_labels: 438 snd-ens1371.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtw88_8822be.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-es1968.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtw88_8822bu.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-maestro3.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mt76x02-usb.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtw88_8822ce.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mt792x-lib.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-au8810.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtw88_8723de.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-au8820.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-ice1712.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-au8830.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mt76x0-common.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtw88_8821ce.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mt76x2-common.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-ice1724.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-ca0106.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-cs46xx.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtw89_8852ae.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ath9k.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-oxygen-lib.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 ath9k_htc.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtw89_8852be.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rtw89_8852ce.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-seq-midi.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-hda-codec-si3054.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mt76x2e.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-virmidi.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mt76x2u.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 rt2800pci.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-emux-synth.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mt7921-common.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-hda-intel.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-hda-codec-ca0132.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-hda-codec-generic.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mt7925-common.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-oxygen.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-virtuoso.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-hda-codec-hdmi.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mt76x0u.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mt76x0e.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-hda-codec-idt.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-hda-codec-cirrus.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-hda-codec-ca0110.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mt7921e.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-hda-codec-conexant.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-hda-codec-via.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 mt7925e.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-hda-codec-realtek.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-hda-codec-cmedia.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-hda-codec-analog.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules'] +18:12:57 DEBUG apply_initial_labels: 438 snd-emu10k1-synth.ko: wanted by ['modules'], init allowed to ['modules-core', 'modules']