scripts/{cp-musl.sh,cp-uclibc.sh}: move from nightheron:/home/blueness

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
This commit is contained in:
Anthony G. Basile 2020-12-19 15:18:24 -05:00
parent e02f16792b
commit c6a9395dbb
No known key found for this signature in database
GPG key ID: 9384FA6EF52D4BBA
2 changed files with 40 additions and 0 deletions

21
scripts/cp-musl.sh Executable file
View file

@ -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

19
scripts/cp-uclibc.sh Executable file
View file

@ -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