abuild: allow set extra options for apk index

Use ABUILD_APK_INDEX_OPTS as extra options for apk index. This is so we
can set the apk keys dir to the directory with our temporary test keys
This commit is contained in:
Natanael Copa 2021-04-29 12:35:35 +02:00
parent 7f6f208279
commit fd91001089
1 changed files with 1 additions and 1 deletions

View File

@ -1757,7 +1757,7 @@ update_abuildrepo_index() {
if [ -f APKINDEX.tar.gz ]; then
oldindex="--index APKINDEX.tar.gz"
fi
( $APK index --quiet $oldindex --output APKINDEX.tar.gz.$$ \
( $APK index $ABUILD_APK_INDEX_OPTS --quiet $oldindex --output APKINDEX.tar.gz.$$ \
--description "$DESCRIPTION" --rewrite-arch $i *.apk && \
msg "Signing the index..." && \
abuild-sign -q APKINDEX.tar.gz.$$ && \