summaryrefslogtreecommitdiffstats
path: root/vagrant/provision
diff options
context:
space:
mode:
authorTails developers <tails@boum.org>2015-01-07 10:31:40 +0000
committerTails developers <amnesia@boum.org>2015-01-10 10:35:58 +0000
commita520d65b66014cd125042a549d685395b83c739b (patch)
treec69e8739f3183af79dbd8b90558a077d084e5dfd /vagrant/provision
parent78ff312d9492141d4f6d7c2ddd9b2f99e9def97f (diff)
Compute hashes after creating package lists and deleting timestamps.
Otherwise, the .binpkgs and .srcpkgs files are not included in the checksum file, while the .{start,end}.timestamp are although we delete them.
Diffstat (limited to 'vagrant/provision')
-rwxr-xr-xvagrant/provision/assets/build-tails9
1 files changed, 5 insertions, 4 deletions
diff --git a/vagrant/provision/assets/build-tails b/vagrant/provision/assets/build-tails
index 223a94f..ea98bfc 100755
--- a/vagrant/provision/assets/build-tails
+++ b/vagrant/provision/assets/build-tails
@@ -125,10 +125,6 @@ as_root_do lb build
if [ -n "$JENKINS_URL" ]; then
ISO=$(ls *.iso)
- for file in tails-*; do
- sha512sum "$file" >> "$ISO.shasum"
- done
- gpg --batch --detach-sign --armor "$ISO.shasum"
USER_ON_ACNG_HOST=jenkins
ACNG_HOST=apt-proxy.lizard
@@ -142,6 +138,11 @@ if [ -n "$JENKINS_URL" ]; then
"$START_TIME" "$END_TIME" \
"${ISO}.binpkgs" "${ISO}.srcpkgs"
rm "$ISO".*.timestamp
+
+ for file in tails-*; do
+ sha512sum "$file" >> "$ISO.shasum"
+ done
+ gpg --batch --detach-sign --armor "$ISO.shasum"
fi
mv -f tails-* "$ARTIFACTS_DIR"