commit: c6a9395dbb74ac92292e17b5087d2787c03a7f8c Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> AuthorDate: Sat Dec 19 20:18:24 2020 +0000 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> CommitDate: Sat Dec 19 20:18:35 2020 +0000 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=c6a9395d
scripts/{cp-musl.sh,cp-uclibc.sh}: move from nightheron:/home/blueness Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> scripts/cp-musl.sh | 21 +++++++++++++++++++++ scripts/cp-uclibc.sh | 19 +++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/scripts/cp-musl.sh b/scripts/cp-musl.sh new file mode 100755 index 00000000..93f51675 --- /dev/null +++ b/scripts/cp-musl.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +CATDIR="/release/buildroot/alt-dev/builds/musl" +SERVER="amd64@dipper:~/musl" +LIST=$(find $CATDIR -maxdepth 3 -iname 'stage3*amd64*' -type l) +#COMMAND="rsync -e ssh -i /root/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o VerifyHostKeyDNS=yes -o StrictHostKeyChecking=no -a --omit-dir-times --delay-updates " +COMMAND="rsync" +for f in $LIST; do + $COMMAND $(realpath $f) $SERVER + $COMMAND $(realpath $f).CONTENTS.gz $SERVER + $COMMAND $(realpath $f).DIGESTS $SERVER +done + +#SERVER="/release/weekly/builds/x86/musl" +SERVER="x86@dipper:~/musl" +LIST=$(find $CATDIR -maxdepth 3 -iname 'stage3*i686*' -type l) +for f in $LIST; do + $COMMAND $(realpath $f) $SERVER + $COMMAND $(realpath $f).CONTENTS.gz $SERVER + $COMMAND $(realpath $f).DIGESTS $SERVER +done diff --git a/scripts/cp-uclibc.sh b/scripts/cp-uclibc.sh new file mode 100755 index 00000000..0bfd24a7 --- /dev/null +++ b/scripts/cp-uclibc.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +CATDIR="/release/buildroot/alt-dev/builds/uclibc" +SERVER="amd64@dipper:~/uclibc" +LIST=$(find $CATDIR -maxdepth 3 -iname 'stage3*amd64*' -type l) +COMMAND="rsync" +for f in $LIST; do + $COMMAND $(realpath $f) $SERVER + $COMMAND $(realpath $f).CONTENTS.gz $SERVER + $COMMAND $(realpath $f).DIGESTS $SERVER +done + +SERVER="x86@dipper:~/uclibc" +LIST=$(find $CATDIR -maxdepth 3 -iname 'stage3*i686*' -type l) +for f in $LIST; do + $COMMAND $(realpath $f) $SERVER + $COMMAND $(realpath $f).CONTENTS.gz $SERVER + $COMMAND $(realpath $f).DIGESTS $SERVER +done