From c47c4649f3fd74c7bad95da2f5cc18bc1a4e210f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <cynerd@email.cz> Date: Sun, 21 Apr 2019 08:32:10 +0200 Subject: [PATCH] generate_medkit: include test key if branch specified The idea is that if you set some branch then it is most probably not deploy signed branch and so we should include test key. On the other hand if it is a deploy branch then this is not huge problem. The key would be removed with first updater run. --- generate_medkit | 2 ++ 1 file changed, 2 insertions(+) diff --git a/generate_medkit b/generate_medkit index ad07ab564..7e9d1ac8b 100755 --- a/generate_medkit +++ b/generate_medkit @@ -27,6 +27,7 @@ export UPDATER_SCRIPT= export OVERLAY= export SIGN_KEY= export OUTPUT= +export TESTKEY= TURRIS_BUILD_DIR="$(dirname "$(readlink -f "$0")")" export TURRIS_BUILD_DIR @@ -88,6 +89,7 @@ while [ $# -gt 0 ]; do --updater-branch) shift UPDATER_BRANCH="$1" + TESTKEY=y ;; --localization|-l) shift -- GitLab