RPM macros that list arches the full kernel is built on
Go to file
Eugene Syromiatnikov 4fcfdefddb 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 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 16:44:04 +01:00
.gitignore Initial build 2020-07-21 14:06:48 -07:00
brp-kmod-restore-perms brp-kmod-restore-perms: handle kmod compression done in post-install hooks 2021-11-18 16:38:10 +01:00
brp-kmod-set-exec-bit Enable extraction of debug information for kmods 2021-11-18 16:38:10 +01:00
find-provides.ksyms Switch kmodtool-generated spec to internal dependency generator 2021-11-18 16:44:04 +01:00
find-requires.ksyms Switch kmodtool-generated spec to internal dependency generator 2021-11-18 16:44:04 +01:00
firmware.prov Add support for compressed kernel modules 2021-11-18 16:33:11 +01:00
kabi.attr Re-instantiate support for old symvers path 2021-11-18 16:33:11 +01:00
kabi.sh Re-instantiate support for old symvers path 2021-11-18 16:33:11 +01:00
kernel-srpm-macros.spec Switch kmodtool-generated spec to internal dependency generator 2021-11-18 16:44:04 +01:00
kmod.attr kmod.attr: add compressed kmod support 2021-11-18 16:38:10 +01:00
kmodtool Switch kmodtool-generated spec to internal dependency generator 2021-11-18 16:44:04 +01:00
macros.kernel-srpm Initial build 2020-07-21 14:06:48 -07:00
macros.kmp Switch kmodtool-generated spec to internal dependency generator 2021-11-18 16:44:04 +01:00
modalias.attr Switch kmodtool-generated spec to internal dependency generator 2021-11-18 16:44:04 +01:00
modalias.prov modalias.prov: process compressed kmods 2021-11-18 16:38:10 +01:00
provided_ksyms.attr Switch kmodtool-generated spec to internal dependency generator 2021-11-18 16:44:04 +01:00
README.md Added the README 2020-07-21 21:00:28 +00:00
required_ksyms.attr Switch kmodtool-generated spec to internal dependency generator 2021-11-18 16:44:04 +01:00
rpmsort Adopt kernel-rpm-macros subpackage from redhat-rpm-config 2021-06-03 17:21:53 +02:00
sources Initial build 2020-07-21 14:06:48 -07:00
symset-table Adopt kernel-rpm-macros subpackage from redhat-rpm-config 2021-06-03 17:21:53 +02:00

kernel-srpm-macros

The kernel-srpm-macros package