qsign: fallback err

This commit is contained in:
psykose 2023-04-22 11:47:10 +00:00
parent 7796a0ed9a
commit 39a7eac13d
2 changed files with 6 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# Contributor: psykose <alice@ayaya.dev> # Contributor: psykose <alice@ayaya.dev>
# Maintainer: psykose <alice@ayaya.dev> # Maintainer: psykose <alice@ayaya.dev>
pkgname=qsign pkgname=qsign
pkgver=8 pkgver=9
pkgrel=0 pkgrel=0
pkgdesc="quicksign local apk repos" pkgdesc="quicksign local apk repos"
url="https://git.ddd.rip/ptrcnull/ptrcports" url="https://git.ddd.rip/ptrcnull/ptrcports"
@ -17,6 +17,6 @@ package() {
} }
sha512sums=" sha512sums="
0a63de15189fca63cd6841b999d70f88248845e16d233e0a82626e51144c52895da035587d97bb8dfef8111369786dbacb838e78c8438582836be48acd2e70d7 qsign 4382fa690d1368f42514f4a519e94187bc91b4988817ed071d13e9723d73b629cee98e70637c469a58adc674f0b1cce0f0c09c7c04383ea333993e5b22990bd7 qsign
c6791d0a4d74acfa81b74f4129b31e008fd409be0e2dad4fb2c04187385666a47d475d4795fe20dbc5afcc5b4e2a35462bd43fb5fac006e03bafad93de4f65bc qsign.conf c6791d0a4d74acfa81b74f4129b31e008fd409be0e2dad4fb2c04187385666a47d475d4795fe20dbc5afcc5b4e2a35462bd43fb5fac006e03bafad93de4f65bc qsign.conf
" "

View file

@ -10,7 +10,10 @@ arch="$(apk --print-arch)"
for repo in $repos; do for repo in $repos; do
cd "$REPODEST/$repo/$arch" || continue cd "$REPODEST/$repo/$arch" || continue
s6-setlock /dev/shm/qsign-lock-$repo sh -c " s6-setlock /dev/shm/qsign-lock-$repo sh -c "
apk index --no-warnings --rewrite-arch=$arch ./*.apk -o APKINDEX.tar.gz -x APKINDEX.tar.gz apk index --no-warnings --rewrite-arch=$arch ./*.apk -o APKINDEX.tar.gz -x APKINDEX.tar.gz || {
echo 'index reuse failed; probably broken'
apk index --no-warnings --rewrite-arch=$arch ./*.apk -o APKINDEX.tar.gz
}
abuild-sign APKINDEX.tar.gz abuild-sign APKINDEX.tar.gz
" "
done done