summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-10-25 08:40:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-25 08:43:14 +0000
commit46dc3981147107343a2b1d43f2b669bcf543635e (patch)
tree6119470594e36d5c5e1c5561c297a16f4e5f2980
parent98fe44cb7361cf3c44ee3ce4c13671040b8b135a (diff)
downloadabuild-46dc3981147107343a2b1d43f2b669bcf543635e.tar.gz
abuild-46dc3981147107343a2b1d43f2b669bcf543635e.tar.bz2
abuild-46dc3981147107343a2b1d43f2b669bcf543635e.tar.xz
abuild-46dc3981147107343a2b1d43f2b669bcf543635e.zip
abuild: check early for signing keys
fi the signing key is missing we will fail. Rather than fail after compile we check existance of signing keys before we start.
-rwxr-xr-xabuild.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index 9824fbc..7f3e16d 100755
--- a/abuild.in
+++ b/abuild.in
@@ -1185,6 +1185,8 @@ build_abuildrepo() {
_build=true
fi
if ! apk_up2date || [ -n "$force" ]; then
+ # check early if we have abuild key
+ abuild-sign --installed || return 1
logcmd "building $pkgname"
sanitycheck && builddeps && clean && fetch && unpack \
&& prepare && mkusers && $_build && rootpkg \