Clean up some macros
- we sign modules on all arches now - we zip modules on all arches - tweak the comment
This commit is contained in:
parent
483dcef3b1
commit
48704bf821
13
kernel.spec
13
kernel.spec
@ -8,15 +8,20 @@ Summary: The Linux kernel
|
|||||||
# be 0.
|
# be 0.
|
||||||
%global released_kernel 0
|
%global released_kernel 0
|
||||||
|
|
||||||
# Sign modules on x86. Make sure the config files match this setting if more
|
# Signing for secure boot authentication
|
||||||
# architectures are added.
|
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
%global signkernel 1
|
%global signkernel 1
|
||||||
%global signmodules 1
|
|
||||||
%global zipmodules 1
|
|
||||||
%else
|
%else
|
||||||
%global signkernel 0
|
%global signkernel 0
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# Sign modules on all arches
|
||||||
%global signmodules 1
|
%global signmodules 1
|
||||||
|
|
||||||
|
# Compress modules only for architectures that build modules
|
||||||
|
%ifarch noarch
|
||||||
|
%global zipmodules 0
|
||||||
|
%else
|
||||||
%global zipmodules 1
|
%global zipmodules 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user