tools/catalyst-auto-sparc64: start common post_build refactor
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
parent
d9f56a2c95
commit
bcdd88a2d4
1 changed files with 17 additions and 3 deletions
|
@ -41,7 +41,21 @@ pre_build() {
|
||||||
|
|
||||||
|
|
||||||
post_build() {
|
post_build() {
|
||||||
rsync -e 'ssh -i /root/.ssh/id_rsa' ${BUILD_SRCDIR_BASE}/builds/default/stage3-*${DATESTAMP}*.bz2* ${BUILD_SRCDIR_BASE}/builds/default/*${DATESTAMP}*.iso* sparc@nightheron.gentoo.org:
|
mkdir -p ${TMPDIR}/empty
|
||||||
rsync -e 'ssh -i /root/.ssh/id_rsa' ${BUILD_SRCDIR_BASE}/builds/multilib/stage3-*${DATESTAMP}*.bz2* sparc@nightheron.gentoo.org:multilib
|
cmd=(
|
||||||
|
rsync
|
||||||
|
-e 'ssh -i /root/.ssh/id_rsa'
|
||||||
|
-a
|
||||||
|
--omit-dir-times
|
||||||
|
--delay-updates
|
||||||
|
)
|
||||||
|
"${cmd[@]}" ${TMPDIR}/empty ${DEST}
|
||||||
|
"${cmd[@]}" ${TMPDIR}/empty ${DEST}/multilib
|
||||||
|
"${cmd[@]}" \
|
||||||
|
${BUILD_SRCDIR_BASE}/builds/default/stage3-*${DATESTAMP}*.bz2* \
|
||||||
|
${BUILD_SRCDIR_BASE}/builds/default/*${DATESTAMP}*.iso* \
|
||||||
|
sparc@nightheron.gentoo.org:
|
||||||
|
"${cmd[@]}" \
|
||||||
|
${BUILD_SRCDIR_BASE}/builds/multilib/stage3-*${DATESTAMP}*.bz2* \
|
||||||
|
sparc@nightheron.gentoo.org:multilib
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue