summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-03 16:38:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-03 16:38:07 +0000
commitc1be67be8a78465e3bb2ec29985bd747a088158e (patch)
tree4b91a43e41d1f59e80e5bfca727f32a273b462c4
parent8d25d1e2d78c082f4a79ca9696ddfa5993854209 (diff)
downloadalpine-iso-c1be67be8a78465e3bb2ec29985bd747a088158e.tar.bz2
alpine-iso-c1be67be8a78465e3bb2ec29985bd747a088158e.tar.xz
abuild: include repo description and version in temp apk cache
-rwxr-xr-xabuild.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 23c9f96..0e1a868 100755
--- a/abuild.in
+++ b/abuild.in
@@ -533,7 +533,9 @@ apkcache() {
if [ -f APKINDEX.tar.gz ]; then
oldindex="--index APKINDEX.tar.gz"
fi
- apk index $oldindex --output APKINDEX.tar.gz.unsigned *.apk || exit 1
+ apk index $oldindex --output APKINDEX.tar.gz.unsigned \
+ --description "$repo $(cd $startdir && git describe)" \
+ *.apk || exit 1
msg "Signing the index..."
abuild-sign -q APKINDEX.tar.gz.unsigned || exit 1
mv APKINDEX.tar.gz.unsigned APKINDEX.tar.gz