RPM macros that list arches the full kernel is built on
Go to file
Eugene Syromiatnikov 711c0be6ea Enable extraction of debug information for kmods
This hack temporary adds executable permission for the *.ko files
during post-install stage so they are picked up by find-debuginfo.sh.
Since the intention is to avoid changing of behaviour in non-kmod
workloads, it's done by adding two additional brp-* scripts to the
__spec_install_post macro when kernel_module_package is instantiated.

* brp-kmod-restore-perms: New file.
* brp-kmod-set-exec-bit: Likewise.
* macros.kmp (%__brp_kmod_set_exec_bit, %__brp_kmod_restore_perms,
%__kmod_brps_added): New macros.
(%kernel_module_package): Rewrite __spec_install_post macro.
* redhat-rpm-config.spec (Source701, Source702): Add
brp-kmod-restore-perms and brp-kmod-set-exec-bit.
(Requires): Add find requirement for brp-kmod-set-exec-bit.
(%files): Explicitly list brp-* scripts for redhat-rpm-config and
kernel-rpm-macros packages.

Resolves: #2002887
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
2021-11-18 14:22:00 +01:00
.gitignore New branch setup 2020-10-08 15:57:43 +00:00
brp-kmod-restore-perms Enable extraction of debug information for kmods 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 Add support for compressed kernel modules 2021-11-18 14:22:00 +01:00
find-requires.ksyms Add support for compressed kernel modules 2021-11-18 14:22:00 +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 Enable extraction of debug information for kmods 2021-11-18 14:22:00 +01:00
kmod.attr Add kmod.attr from redhat-rpm-config 2021-05-24 11:54:51 +02:00
kmodtool kmodtool: add "kernel${dashvariant}-modules" Provides 2021-11-18 14:22:00 +01:00
macros.kernel-srpm RHEL 9.0.0 Alpha bootstrap 2020-10-15 14:42:20 +02:00
macros.kmp Enable extraction of debug information for kmods 2021-11-18 14:22:00 +01:00
modalias.prov Adopt kernel-rpm-macros from redhat-rpm-config 2021-05-13 17:52:56 +02:00
README.md RHEL 9.0.0 Alpha bootstrap 2020-10-15 14:42:20 +02: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