diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-02-13 23:59:43 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-02-13 23:59:43 +0100 |
commit | 8d446177341dfed316159c48c1a9ab9330fc1d48 (patch) | |
tree | 3e86b754b177923085e48ef5fd131dd0f48b0daa /run-all.sh | |
parent | 590d90a44c0605297c0992d8246ff4692d8d3a68 (diff) | |
download | imagefish-8d446177341dfed316159c48c1a9ab9330fc1d48.tar.gz |
split image push
Diffstat (limited to 'run-all.sh')
-rwxr-xr-x | run-all.sh | 19 |
1 files changed, 3 insertions, 16 deletions
@@ -1,5 +1,7 @@ #!/bin/sh +BASE="$(dirname $0)" + case "$(hostname --short)" in cubietruck) # quirks @@ -27,19 +29,4 @@ nilsson) ;; esac -if test -d "$HOME/repo/images-testing"; then - echo - echo "# rsync uncompressed images" - rsync --verbose --progress \ - *.raw *.qcow2 $HOME/repo/images-testing - - echo - echo "# compress images" - rm -f *.xz - xz --verbose --keep *.raw *.qcow2 - - echo - echo "# rsync compressed images" - rsync --verbose --progress \ - *.xz $HOME/repo/images-testing -fi +exec $BASE/push-images.sh |