* kbuild/cert rework for 5.17 breaks build with empty CONFIG_MODULE_SIG_KEY
@ 2022-01-20 9:46 Michal Kubecek
0 siblings, 0 replies; only message in thread
From: Michal Kubecek @ 2022-01-20 9:46 UTC (permalink / raw)
To: linux-kbuild; +Cc: Masahiro Yamada, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 976 bytes --]
Hello,
while testing merge window snapshots, I noticed that after commit
b8c96a6b466c ("certs: simplify $(srctree)/ handling and remove
config_filename macro"), build with
CONFIG_MODULE_SIG=y
CONFIG_MODULE_SIG_FORCE=n
CONFIG_MODULE_SIG_ALL=n
CONFIG_MODULE_SIG_KEY=""
(as suggested in Documentation/kbuild/reproducible-builds.rst, section
"Module signing") fails to build as make executes scripts/extract-cert
with only one argument (the unquoted empty string has no effect):
...
certs/extract-cert certs/signing_key.x509
Usage: extract-cert <source> <dest>
make[2]: *** [/home/mike/work/git/kernel-upstream/certs/Makefile:78: certs/signing_key.x509] Error 2
make[1]: *** [/home/mike/work/git/kernel-upstream/Makefile:1831: certs] Error 2
make[1]: Leaving directory '/srv/ram/kobj'
make: *** [Makefile:219: __sub-make] Error 2
Should this be considered a bug or is there a different recommended way
to get reproducible builds now?
Michal
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-20 9:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-20 9:46 kbuild/cert rework for 5.17 breaks build with empty CONFIG_MODULE_SIG_KEY Michal Kubecek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.