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