rsync all at once now

This commit is contained in:
parazyd 2017-01-30 17:59:22 +01:00
parent 9bc8bf9d2e
commit 845a6286a8
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
1 changed files with 4 additions and 11 deletions

View File

@ -30,20 +30,13 @@ rsync_to_raw_image() {
silly
pushd $strapdir
sudo rm -f .done
sudo rsync -HPavz -q --exclude={./boot} ./* $workdir/root || {
#sudo rm -f .done
sudo rsync -HPavz -q ./* $workdir/mnt || {
image_raw_umount
die "not enough space. report a bug please"
die "not enough space, please report a bug"
zerr
}
if [[ $parted_type = dos ]]; then
sudo rsync -HPavz -q ./boot/* $workdir/boot || {
image_raw_umount
die "not enough space. report a bug please"
zerr
}
fi
popd
image_raw_umount