|
|
@ -47,7 +47,8 @@ if [ $# = 0 ] ; then
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ -z "$USE_LXC" ]; then
|
|
|
|
if [ -z "$USE_LXC" ]; then
|
|
|
|
rsync --checksum -a $QUIET_FLAG -e "ssh -oConnectTimeout=30 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_rsa -p $VM_SSH_PORT" "$TUSER@localhost:$1" "$2"
|
|
|
|
src="${1%/}" # remove trailing / which triggers special rsync behaviour
|
|
|
|
|
|
|
|
rsync --checksum -a $QUIET_FLAG -e "ssh -oConnectTimeout=30 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_rsa -p $VM_SSH_PORT" "$TUSER@localhost:${src}" "$2"
|
|
|
|
else
|
|
|
|
else
|
|
|
|
config-lxc
|
|
|
|
config-lxc
|
|
|
|
sudo $LXC_EXECUTE -n gitian -f var/lxc.config -- sudo -i -u $TUSER tar -C `dirname "$1"` -cf - `basename "$1"` | tar -C "$2" -xf -
|
|
|
|
sudo $LXC_EXECUTE -n gitian -f var/lxc.config -- sudo -i -u $TUSER tar -C `dirname "$1"` -cf - `basename "$1"` | tar -C "$2" -xf -
|
|
|
|