From e29091ec064fed3e9c922c65cb122b93717185a6 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Wed, 27 Sep 2017 23:10:46 -0700 Subject: Add an ability to download signatures from test-packages.sh Signed-off-by: Alexey Neyman diff --git a/maintainer/test-packages.sh b/maintainer/test-packages.sh index 9d26099..017f204 100755 --- a/maintainer/test-packages.sh +++ b/maintainer/test-packages.sh @@ -32,6 +32,10 @@ Options: Specify the package to operate upon. MASK can be either package name ("-s foo"), or package name + version ("-s foo-1.1"). + --signature, -S + When downloading archives (because of any of -D/-d/-u options), + also download/verify signatures. + EOF } @@ -55,6 +59,9 @@ while [ -n "${1}" ]; do [ -n "${1}" ] || { echo "argument required for --select" >&2; exit 1; } selected="${1}" ;; + --signature|-S) + signature=y + ;; --help|-?) usage exit 0 @@ -202,6 +209,7 @@ CT_${pfx}_SRC_RELEASE=y CT_${pfx}_V_${kcfg}=y CT_SAVE_TARBALLS=y # CT_VERIFY_DOWNLOAD_DIGEST is not set +${signature+CT_VERIFY_DOWNLOAD_SIGNATURE=y} EOF ./kconfig/conf --defconfig=temp.defconfig temp.in >/dev/null -- cgit v0.10.2-6-g49f6