PGP signing adjustement for Bionic host

This commit is contained in:
Igor Pecovnik 2018-08-18 22:59:46 +02:00
parent 4a8d2f9951
commit 203fb7335e
2 changed files with 1 additions and 3 deletions

View File

@ -35,8 +35,7 @@ pack_upload ()
# stage: sign with PGP
if [[ -n $GPG_PASS ]]; then
echo $GPG_PASS | gpg --passphrase-fd 0 --armor --detach-sign --batch --yes ${version}.img
echo $GPG_PASS | gpg --passphrase-fd 0 --armor --detach-sign --batch --yes armbian.txt
echo $GPG_PASS | gpg --passphrase-fd 0 --armor --detach-sign --pinentry-mode loopback --batch --yes ${version}.img
fi
if [[ -n "${SEND_TO_SERVER}" ]]; then

View File

@ -505,7 +505,6 @@ create_image()
sha256sum -b ${version}.img > sha256sum.sha
if [[ -n $GPG_PASS ]]; then
echo $GPG_PASS | gpg --passphrase-fd 0 --armor --detach-sign --pinentry-mode loopback --batch --yes ${version}.img
echo $GPG_PASS | gpg --passphrase-fd 0 --armor --detach-sign --pinentry-mode loopback --batch --yes sha256sum.sha
fi
display_alert "Compressing" "$DEST/images/${version}.img" "info"
7za a -t7z -bd -m0=lzma2 -mx=3 -mfb=64 -md=32m -ms=on $DEST/images/${version}.7z ${version}.img armbian.txt *.asc sha256sum.sha >/dev/null 2>&1