commit 0042085e3fc57fae63b9bd357525ebe4e8b9eb5b parent 8936efb60173887937829dd289d86fdb11c5a1a6 Author: Dash Eclipse <dash@ezup.dev> Date: Sat, 18 Jul 2020 15:39:02 +0000 Update ezup/ scripts Diffstat:
M | ezup/build-pkg.sh | | | 0 | |
A | ezup/rebuild-repodata.sh | | | 11 | +++++++++++ |
M | ezup/sign-repos.sh | | | 2 | +- |
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/ezup/build-pkg.sh b/ezup/build-pkg.sh diff --git a/ezup/rebuild-repodata.sh b/ezup/rebuild-repodata.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +#rm hostdir/binpkgs/{musl,aarch64}/{*-repodata,*.xbps.sig} +rm hostdir/binpkgs/musl/*-repodata +rm hostdir/binpkgs/musl/*.sig +rm hostdir/binpkgs/aarch64/*-repodata +rm hostdir/binpkgs/aarch64/*.sig + +XBPS_TARGET_ARCH=x86_64-musl xbps-rindex -a hostdir/binpkgs/musl/*.x86_64-musl.xbps +XBPS_TARGET_ARCH=armv7l-musl xbps-rindex -a hostdir/binpkgs/musl/*.armv7l-musl.xbps +XBPS_TARGET_ARCH=aarch64-musl xbps-rindex -a hostdir/binpkgs/aarch64/*.aarch64-musl.xbps diff --git a/ezup/sign-repos.sh b/ezup/sign-repos.sh @@ -7,7 +7,7 @@ REPOS="$MAINREPO/musl $MAINREPO/aarch64" ARCHS="x86_64-musl armv7l-musl aarch64-musl" for f in ${REPOS}; do - export XBPS_PASSPHRASE="password" # password + export XBPS_PASSPHRASE="$XBPS_PASSPHRASE" for x in ${ARCHS}; do export XBPS_TARGET_ARCH=$x xbps-rindex -v -s \