summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2016-03-01 21:47:25 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2016-03-01 21:47:44 -0300
commit63399225b514fdbd84b1b5562f854c44209ccc11 (patch)
treedf8e58cb824f5e714f1e5e051958a2252112a788
parent80b159345f1892383e48204da61b62aa36dc9455 (diff)
downloadarchiso32-63399225b514fdbd84b1b5562f854c44209ccc11.tar.xz
Fix non-signed builds
FS#48382
-rwxr-xr-xarchiso/mkarchiso4
-rwxr-xr-xconfigs/releng/build.sh1
2 files changed, 4 insertions, 1 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index a183d34..0aca521 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -328,7 +328,9 @@ command_prepare () {
_mkairootfs_img
fi
_mkchecksum
- [[ ${gpg_key} ]] && _mksignature
+ if [[ ${gpg_key} ]]; then
+ _mksignature
+ fi
}
# Install packages on airootfs.
diff --git a/configs/releng/build.sh b/configs/releng/build.sh
index ad2f994..4173eea 100755
--- a/configs/releng/build.sh
+++ b/configs/releng/build.sh
@@ -8,6 +8,7 @@ iso_version=$(date +%Y.%m.%d)
install_dir=arch
work_dir=work
out_dir=out
+gpg_key=
arch=$(uname -m)
verbose=""