From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 74DBD139083 for ; Fri, 15 Dec 2017 05:48:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 757C0E1061; Fri, 15 Dec 2017 05:48:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 09B89E1061 for ; Fri, 15 Dec 2017 05:48:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E939833BEBE for ; Fri, 15 Dec 2017 05:48:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C4CE9AE7E for ; Fri, 15 Dec 2017 05:48:28 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1513316380.bcdd88a2d40f1edaad27c37ea76a2b287249a84a.robbat2@gentoo> Subject: [gentoo-commits] proj/releng:master commit in: tools/ X-VCS-Repository: proj/releng X-VCS-Files: tools/catalyst-auto-sparc64.conf X-VCS-Directories: tools/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: bcdd88a2d40f1edaad27c37ea76a2b287249a84a X-VCS-Branch: master Date: Fri, 15 Dec 2017 05:48:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 86250e5f-9225-4670-83e9-a8a11df49566 X-Archives-Hash: a201dbfd28e495063fad1e0c32508fa9 commit: bcdd88a2d40f1edaad27c37ea76a2b287249a84a Author: Robin H. Johnson gentoo org> AuthorDate: Fri Dec 15 05:39:40 2017 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Fri Dec 15 05:39:40 2017 +0000 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=bcdd88a2 tools/catalyst-auto-sparc64: start common post_build refactor Signed-off-by: Robin H. Johnson gentoo.org> tools/catalyst-auto-sparc64.conf | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/tools/catalyst-auto-sparc64.conf b/tools/catalyst-auto-sparc64.conf index c866c081..f93796f0 100644 --- a/tools/catalyst-auto-sparc64.conf +++ b/tools/catalyst-auto-sparc64.conf @@ -41,7 +41,21 @@ pre_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: - rsync -e 'ssh -i /root/.ssh/id_rsa' ${BUILD_SRCDIR_BASE}/builds/multilib/stage3-*${DATESTAMP}*.bz2* sparc@nightheron.gentoo.org:multilib - + mkdir -p ${TMPDIR}/empty + 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 }