mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-28 09:08:39 +00:00
When compiling images, lets upload them right after they are packed ... if server is defined.
This commit is contained in:
parent
9addd2d4b6
commit
8f8b5e3e60
1 changed files with 2 additions and 1 deletions
|
@ -498,7 +498,8 @@ sign_and_compress()
|
|||
if [[ $SEVENZIP == yes ]]; then
|
||||
local filename=$DEST/images/${version}.7z
|
||||
if [[ $BUILD_ALL == yes ]]; then
|
||||
nice -n 19 7za a -t7z -bd -m0=lzma2 -mx=3 -mfb=64 -md=32m -ms=on $filename ${version}.img armbian.txt *.asc sha256sum >/dev/null 2>&1
|
||||
nice -n 19 bash -c "7za a -t7z -bd -m0=lzma2 -mx=3 -mfb=64 -md=32m -ms=on $filename ${version}.img armbian.txt *.asc sha256sum >/dev/null 2>&1 \
|
||||
; [[ -n '$SEND_TO_SERVER' ]] && rsync -arP $filename -e 'ssh -p 22' $SEND_TO_SERVER"
|
||||
else
|
||||
7za a -t7z -bd -m0=lzma2 -mx=3 -mfb=64 -md=32m -ms=on $filename ${version}.img armbian.txt *.asc sha256sum >/dev/null 2>&1
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue