moar progress
This commit is contained in:
@@ -47,12 +47,16 @@ printf "7z: compressing inner volume"
|
||||
7z a "$out_dir/contents.7z" "$inner_dir" > /dev/null 2>&1
|
||||
checkcode $?
|
||||
|
||||
printf "deleting $inner_dir"
|
||||
rm -rf "$inner_dir"
|
||||
checkcode $?
|
||||
|
||||
printf "ssh: signing out/contents.7z"
|
||||
ssh-keygen -Y sign -f "$key_path" -n "$signature_tag" "$out_dir/contents.7z" # > /dev/null 2>&1
|
||||
checkcode $?
|
||||
|
||||
printf "sha512: generating sha512 checksums of files in out/ "
|
||||
sha512sum "$out_dir/*" >> "$out_dir/checksums.sha512"
|
||||
printf "sha512: generating sha512 checksums of files in out"
|
||||
sha512sum $out_dir/* > "$out_dir/checksums.sha512"
|
||||
checkcode $?
|
||||
|
||||
echo "Enter attribution passphrase:"
|
||||
@@ -72,10 +76,6 @@ unset attribution_passphrase_check
|
||||
cat "$out_dir/contents.7z"
|
||||
} | sha512sum | awk '{print $1}' > "$out_dir/attribution.sha512"
|
||||
|
||||
printf "deleting $inner_dir"
|
||||
rm -rf "$inner_dir"
|
||||
checkcode $?
|
||||
|
||||
printf "sanity checking: verification"
|
||||
bash out/verify-everything.sh
|
||||
checkcode $?
|
||||
@@ -85,4 +85,4 @@ checkcode $?
|
||||
|
||||
printf "7z archiving outer dir"
|
||||
7z a "./out.7z" "$out_dir"
|
||||
checkcode $?
|
||||
checkcode $?
|
||||
|
||||
Reference in New Issue
Block a user