RPM macros that list arches the full kernel is built on
Go to file
Eugene Syromiatnikov 4c68fd7e56 Switch kmodtool-generated spec to internal dependency generator
It leads to some regressions in requires generation precision, though,
as it is no longer possible to exclude requires that are satisfied
by other kmods in the package.  And calling a script on each file (instead
of calling it on the whole file list at once) does not make things faster,
either (so much for "sanity and benefit").

* find-provides.ksyms: Check for "$@" as well.
* find-requires.ksyms: Likewise.
* kernel-srpm-macros.spec (Source104, Source105, Source106): New
attribute files.
(%install): Install firmware.prov and modalias.prov with executable bit;
install provided_ksyms.attr, required_ksyms.attr, and modalias.attr into
"%{buildroot}%{_fileattrsdir}".
(%files -n kernel-rpm-macros): Add provided_ksyms.attr,
required_ksyms.attr, and modalias.attr.
kmodtool: Remove "%global _use_internal_dependency_generator 0".
macros.kmp: Remove %__find_provides and %__find_requires.
* modalias.attr: New file.
* provided_ksyms.attr: Likewise.
* required_ksyms.attr: Likewise.

Resolves: #1942072
Resolves: #1942563
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
2021-11-18 14:49:04 +01:00
.gitignore New branch setup 2020-10-08 15:57:43 +00:00
brp-kmod-restore-perms brp-kmod-restore-perms: handle kmod compression done in post-install hooks 2021-11-18 14:22:00 +01:00
brp-kmod-set-exec-bit Enable extraction of debug information for kmods 2021-11-18 14:22:00 +01:00
find-provides.ksyms Switch kmodtool-generated spec to internal dependency generator 2021-11-18 14:49:04 +01:00
find-requires.ksyms Switch kmodtool-generated spec to internal dependency generator 2021-11-18 14:49:04 +01:00
firmware.prov Add support for compressed kernel modules 2021-11-18 14:22:00 +01:00
gating.yaml Add RHEL gating configuration 2021-07-23 19:25:00 -03:00
kabi.attr Re-instantiate support for old symvers path 2021-11-18 14:22:00 +01:00
kabi.sh Re-instantiate support for old symvers path 2021-11-18 14:22:00 +01:00
kernel-srpm-macros.spec Switch kmodtool-generated spec to internal dependency generator 2021-11-18 14:49:04 +01:00
kmod.attr kmod.attr: add compressed kmod support 2021-11-18 14:22:00 +01:00
kmodtool Switch kmodtool-generated spec to internal dependency generator 2021-11-18 14:49:04 +01:00
macros.kernel-srpm RHEL 9.0.0 Alpha bootstrap 2020-10-15 14:42:20 +02:00
macros.kmp Switch kmodtool-generated spec to internal dependency generator 2021-11-18 14:49:04 +01:00
modalias.attr Switch kmodtool-generated spec to internal dependency generator 2021-11-18 14:49:04 +01:00
modalias.prov modalias.prov: process compressed kmods 2021-11-18 14:22:00 +01:00
provided_ksyms.attr Switch kmodtool-generated spec to internal dependency generator 2021-11-18 14:49:04 +01:00
README.md RHEL 9.0.0 Alpha bootstrap 2020-10-15 14:42:20 +02:00
required_ksyms.attr Switch kmodtool-generated spec to internal dependency generator 2021-11-18 14:49:04 +01:00
rpmsort Adopt kernel-rpm-macros from redhat-rpm-config 2021-05-13 17:52:56 +02:00
sources RHEL 9.0.0 Alpha bootstrap 2020-10-15 14:42:20 +02:00
symset-table Adopt kernel-rpm-macros from redhat-rpm-config 2021-05-13 17:52:56 +02:00

kernel-srpm-macros

The kernel-srpm-macros package