diff --git a/target/sdk/convert-config.pl b/target/sdk/convert-config.pl index 08189df95c..88eea151af 100755 --- a/target/sdk/convert-config.pl +++ b/target/sdk/convert-config.pl @@ -8,6 +8,7 @@ while (<>) { my $type; chomp; next if /^CONFIG_SIGNED_PACKAGES/; + next if /^CONFIG_SIGN_EACH_PACKAGE/; if (/^CONFIG_((BINARY)|(DOWNLOAD))_FOLDER=(.*)$/) { # We don't want to preserve the build setting of diff --git a/target/sdk/files/Config.in b/target/sdk/files/Config.in index 0cf68faa6e..422b0bb782 100644 --- a/target/sdk/files/Config.in +++ b/target/sdk/files/Config.in @@ -18,6 +18,15 @@ menu "Global build settings" bool "Cryptographically sign package lists" default y + config SIGN_EACH_PACKAGE + bool "Cryptographically sign each package .apk file" + depends on USE_APK + default y + help + Sign also the individual package .apk file. Removes the need for + --allow-untrusted when installing self-compiled packages to a + firmware compiled by the same buildhost as public key matches. + comment "General build options" config BUILD_PATENTED