dist: tk: enable keypkg by default
For non-tagged build, keypkg contains the build time key. Non-tagged build are not suppose to be used for production servers so this only making debugging easier. For tagged koji build, keypkg contains a dummy empty key, sign-file is hooked by tencent-kernel-signer so it's safe to do so too. If for some special purpose the keypkg shouldn't be exposed to users, just don't add the kernel-signing-keys to repo. Signed-off-by: Kairui Song <kasong@tencent.com>
This commit is contained in:
parent
88b5699fee
commit
85c40d2d2c
|
@ -118,8 +118,8 @@ ifeq ($(MODSIGN), 0)
|
|||
override DISABLED := modsign $(DISABLED)
|
||||
endif
|
||||
|
||||
# Disable private key pkg by default
|
||||
KEYPKG=0
|
||||
# Enable private key pkg by default
|
||||
KEYPKG=1
|
||||
ifeq ($(KEYPKG), 0)
|
||||
override DISABLED := keypkg $(DISABLED)
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue