summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSimon Rettberg2019-06-17 12:39:29 +0200
committerSimon Rettberg2019-06-17 12:39:29 +0200
commit51cba349815fc1ac01d0d53b789c5495decffee7 (patch)
tree2e4df2847969777b9cf1526bce5f5929fc4b729a /server
parentMake -i check if files are actually identical (diff)
downloadtm-scripts-51cba349815fc1ac01d0d53b789c5495decffee7.tar.gz
tm-scripts-51cba349815fc1ac01d0d53b789c5495decffee7.tar.xz
tm-scripts-51cba349815fc1ac01d0d53b789c5495decffee7.zip
arcfour is not supported anymore; delete legacy cleaning code
Diffstat (limited to 'server')
-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."; }
}