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,7 +1,7 @@
# This is the config file for the catalyst-auto script. It should be pretty
# self-explanatory.
ARCH="amd64"
UPLOAD_USER=amd64
host=$(hostname)
source /etc/catalyst/release/build.env
@ -85,8 +85,8 @@ post_build() {
DEST_HARDENED=${BUILD_DESTDIR_BASE}/hardened
;;
*)
DEST_DEFAULT=${ARCH}@releng-incoming.gentoo.org:${BUILD_DESTDIR_BASE}
DEST_HARDENED=${ARCH}@releng-incoming.gentoo.org:${BUILD_DESTDIR_BASE}/hardened
DEST_DEFAULT=${UPLOAD_USER}@releng-incoming.gentoo.org:${BUILD_DESTDIR_BASE}
DEST_HARDENED=${UPLOAD_USER}@releng-incoming.gentoo.org:${BUILD_DESTDIR_BASE}/hardened
;;
esac