diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-08-06 21:22:27 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-08-07 07:54:27 +0200 |
commit | 0a4a82a4317142615c4f20ceadbc0bc6bcbbcdbe (patch) | |
tree | 0fd8b7c953d66d943183d59d7eb0ab31474f5740 /config | |
parent | 8a83892662d06a5f2fd4d95b73fe919a21066038 (diff) | |
download | upstream-0a4a82a4317142615c4f20ceadbc0bc6bcbbcdbe.tar.gz upstream-0a4a82a4317142615c4f20ceadbc0bc6bcbbcdbe.tar.bz2 upstream-0a4a82a4317142615c4f20ceadbc0bc6bcbbcdbe.zip |
config: introduce separate CONFIG_SIGNATURE_CHECK option
Introduce a new option CONFIG_SIGNATURE_CHECK which defaults to the value
of CONFIG_SIGNED_PACKAGES and thus is enabled by default.
This option is needed to support building target opkg with enabled
signature verification while having the signed package lists disabled.
Our buildbots currently disable package signing globally in the
buildroot and SDK to avoid the need to ship private signing keys to
the build workers and to prevent the triggering of random key generation
on the worker nodes since package signing happens off-line on the master
nodes.
As unintended side-effect, updated opkg packages will get built with
disabled signature verification, hence the need for a new override option.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit f565f276e2c06ac8f3176e0b16d6f2d40cd653d4)
Diffstat (limited to 'config')
-rw-r--r-- | config/Config-build.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/Config-build.in b/config/Config-build.in index a082a5e0e2..162510b646 100644 --- a/config/Config-build.in +++ b/config/Config-build.in @@ -34,6 +34,10 @@ menu "Global build settings" bool "Cryptographically signed package lists" default y + config SIGNATURE_CHECK + bool "Enable signature checking in opkg" + default SIGNED_PACKAGES + comment "General build options" config DISPLAY_SUPPORT |