summaryrefslogtreecommitdiff
path: root/maintainer
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-09-28 06:10:46 (GMT)
committerAlexey Neyman <stilor@att.net>2017-09-28 06:10:46 (GMT)
commite29091ec064fed3e9c922c65cb122b93717185a6 (patch)
tree856fe5488a187182a4c141beb79e379968c1dc69 /maintainer
parent48a949cf60b422c1904dca42519e54902f3ed0a6 (diff)
Add an ability to download signatures from test-packages.sh
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'maintainer')
-rwxr-xr-xmaintainer/test-packages.sh8
1 files changed, 8 insertions, 0 deletions
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