diff options
author | Benjamin Sherman <[email protected]> | 2024-01-12 14:33:41 -0600 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-12 12:33:41 -0800 |
commit | 363368c67045657b012a2756f54b4c04de01e4ef (patch) | |
tree | b9d084b3cb89faa7d37b27b936a08cd53ffee7b8 /lib/libzutil | |
parent | 5a703d1368bf85a6e665f62011e257b3b526c97c (diff) |
fix: preserve linux kmod signature in zfs-kmod rpm spec
This change provides rpm spec macros to sign the zfs and spl kmods as
the final step after the %install scriptlet. This is needed since the
find-debuginfo.sh script strips out debug symbols plus signatures.
Kernel module signing only occurs when the required files are present
as typically required in the Linux source tree:
- certs/signing_key.pem
- certs/signing_key.x509
The method for overriding the default __spec_install_post macro is
inspired by (and largely copied from) the Fedora kernel.spec.
Reviewed-by: Tony Hutter <[email protected]>
Reviewed-by: Tino Reichardt <[email protected]>
Signed-off-by: Benjamin Sherman <[email protected]>
Closes #15744
Diffstat (limited to 'lib/libzutil')
0 files changed, 0 insertions, 0 deletions