tools: Add UPLOAD_USER variable

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner 2021-01-30 18:43:40 -05:00
parent 16b0dfbc2e
commit 5515e89048
14 changed files with 32 additions and 18 deletions

View file

@ -1,6 +1,7 @@
# This is the config file for the catalyst-auto script. It should be pretty
# self-explanatory.
UPLOAD_USER=s390
SPECS_DIR=${REPO_DIR}/releases/specs/s390/s390x
SUBARCH=`grep subarch $SPECS_DIR/stage1.spec | awk '{print $2}'`
@ -26,7 +27,7 @@ update_symlinks() {
}
upload() {
rsync -e 'ssh -i /root/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o VerifyHostKeyDNS=yes -o StrictHostKeyChecking=no' "$@" s390@releng-incoming.gentoo.org:
rsync -e 'ssh -i /root/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o VerifyHostKeyDNS=yes -o StrictHostKeyChecking=no' "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
}
post_build() {