summaryrefslogtreecommitdiffstats
path: root/client/shared
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2017-11-17 09:44:59 +0000
committeririna <irinagomez@us.es>2017-11-17 09:44:59 +0000
commit0d4cef2257df9ad5d863497d19b813eb4b32ecdb (patch)
treedf1a6a7d1e1e2d0912db44ba54e979f0acab614e /client/shared
parentf2696594bf06cb117673e916bcc93a31cd038e97 (diff)
#770 Al crear imagen: Se aumenta el tamaƱo estimado de las sincronizadas. Se espera antes de chequear si ha ido bien.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5512 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared')
-rwxr-xr-xclient/shared/scripts/createBaseImage1
-rwxr-xr-xclient/shared/scripts/createDiffImage1
2 files changed, 2 insertions, 0 deletions
diff --git a/client/shared/scripts/createBaseImage b/client/shared/scripts/createBaseImage
index 85b1930f..c367e930 100755
--- a/client/shared/scripts/createBaseImage
+++ b/client/shared/scripts/createBaseImage
@@ -136,6 +136,7 @@ ogReduceImage $3 "$4" $IMGEXT
ogWaitSyncImage "$3" "$4" $IMGEXT "reduced" $SIZEREQUIRED || exit $(ogRaiseError session $OG_ERR_DONTMOUNT_IMAGE "$3 $4 $IMGEXT: time_out."; echo $?)
echo " " > $OGLOGCOMMAND
+sleep 2
# Comprobamos que la imagen esta bien detectacdo que es un sistema de ficheros.
ogEcho log session "[95] $MSG_HELP_ogCheckSyncImage"
ogCheckSyncImage $3 "$4" "img" || exit $(ogRaiseError session $OG_ERR_IMAGE "$3 $4 img" ; echo $?)
diff --git a/client/shared/scripts/createDiffImage b/client/shared/scripts/createDiffImage
index d01423eb..d5f897be 100755
--- a/client/shared/scripts/createDiffImage
+++ b/client/shared/scripts/createDiffImage
@@ -170,6 +170,7 @@ ogWaitSyncImage "$3" "$5" $DIFFTYPE "reduced" $SIZEREQUIRED || exit $(ogRaiseErr
# TODO: necesaria funcion que espere a que se reduzca la imagen para continuar el script
echo " " > $OGLOGCOMMAND
+sleep 2
# Comprobamos que la imagen esta bien
ogEcho log session "[95] $MSG_HELP_ogCheckSyncImage"
ogCheckSyncImage $3 "$5" diff || exit $(ogRaiseError session $OG_ERR_IMAGE "$3 $5 diff"; echo $?)