summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xserver/export_target4
1 files changed, 1 insertions, 3 deletions
diff --git a/server/export_target b/server/export_target
index 33e06ad2..4980fc98 100755
--- a/server/export_target
+++ b/server/export_target
@@ -53,7 +53,7 @@ sync_remote() {
#TODO setup link to remote build directory, later this directory will be rsynced or exported to this server...
mkdir -p "${SERVER_BUILD_DIR}" || perror "Could not create directory for local copy of remote system ($SERVER_BUILD_DIR)"
- rsync -a --numeric-ids --exclude '**/.mltk' --delete --delete-excluded -v -e "ssh -c arcfour -oStrictHostKeyChecking=no" "root@$REMOTE_IP:$REMOTE_EXPORT_DIR/*" "$SERVER_BUILD_DIR"
+ rsync -a --numeric-ids --exclude '**/.mltk' --delete --delete-excluded -v -e "ssh -oStrictHostKeyChecking=no" "root@$REMOTE_IP:$REMOTE_EXPORT_DIR/" "$SERVER_BUILD_DIR/"
local RET=$?
if [ $RET -eq 0 ]; then
pinfo "Syncing completed."
@@ -178,6 +178,4 @@ clean_target() {
[ -e "${SERVER_BOOT_DIR}/initramfs-${TARGET}" ] && { rm "${SERVER_BOOT_DIR}/initramfs-${TARGET}" || perror "rm failed."; }
pinfo "Cleaning '${SERVER_BOOT_DIR}/${TARGET}.sqfs'..."
[ -e "${SERVER_BOOT_DIR}/${TARGET}.sqfs" ] && { rm "${SERVER_BOOT_DIR}/${TARGET}.sqfs" || perror "rm failed."; }
- pinfo "Cleaning '${SERVER_BOOT_DIR}/stage32_dqfs/mnt/${TARGET}.sqfs'..."
- [ -e "${SERVER_BOOT_DIR}/stage32_sqfs/mnt/${TARGET}.sqfs" ] && { rm "${SERVER_BOOT_DIR}/stage32_sqfs/mnt/${TARGET}.sqfs" || perror "rm failed."; }
}