From c6a9395dbb74ac92292e17b5087d2787c03a7f8c Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Sat, 19 Dec 2020 15:18:24 -0500 Subject: [PATCH] scripts/{cp-musl.sh,cp-uclibc.sh}: move from nightheron:/home/blueness Signed-off-by: Anthony G. Basile --- scripts/cp-musl.sh | 21 +++++++++++++++++++++ scripts/cp-uclibc.sh | 19 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100755 scripts/cp-musl.sh create mode 100755 scripts/cp-uclibc.sh 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