diff options
author | Laura Abbott <labbott@redhat.com> | 2019-10-21 11:28:30 -0400 |
---|---|---|
committer | Laura Abbott <labbott@redhat.com> | 2019-10-22 08:43:37 -0400 |
commit | 48704bf8219d5a6d9b77e30cd84c4946bb4a4409 (patch) | |
tree | 009b938622b381786f2ba94561bce80390c83810 /kernel.spec | |
parent | 483dcef3b1d79c531bb746461da1a105455d776c (diff) | |
download | kernel-48704bf8219d5a6d9b77e30cd84c4946bb4a4409.tar.gz kernel-48704bf8219d5a6d9b77e30cd84c4946bb4a4409.tar.xz kernel-48704bf8219d5a6d9b77e30cd84c4946bb4a4409.zip |
Clean up some macros
- we sign modules on all arches now
- we zip modules on all arches
- tweak the comment
Diffstat (limited to 'kernel.spec')
-rw-r--r-- | kernel.spec | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/kernel.spec b/kernel.spec index 2271ebebb..2cb01c04c 100644 --- a/kernel.spec +++ b/kernel.spec @@ -8,15 +8,20 @@ Summary: The Linux kernel # be 0. %global released_kernel 0 -# Sign modules on x86. Make sure the config files match this setting if more -# architectures are added. +# Signing for secure boot authentication %ifarch %{ix86} x86_64 %global signkernel 1 -%global signmodules 1 -%global zipmodules 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 |