From 588d1eb2b5c7e766f1edffc5ae7d2e7e326a0a5b Mon Sep 17 00:00:00 2001 From: Irina Gómez Date: Wed, 22 May 2019 14:19:55 +0200 Subject: #802 #889 cloneRemoteFromMaster script in master, when computer has Efi active and operating system is Windows, copies boot loader folder from ESP to system partition. --- client/shared/scripts/cloneRemoteFromMaster | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'client/shared') diff --git a/client/shared/scripts/cloneRemoteFromMaster b/client/shared/scripts/cloneRemoteFromMaster index b78bd629..6d8001d2 100755 --- a/client/shared/scripts/cloneRemoteFromMaster +++ b/client/shared/scripts/cloneRemoteFromMaster @@ -159,6 +159,13 @@ case $MASTERIP in #Obtener tamaño de la partición. SIZE=$(ogGetPartitionSize $2 $3) || exit $(ogRaiseError $OG_ERR_REDUCEFS "Error al detectar tamaño partcion $2 $3 l127"; echo $?) + # Si es UEFI copio el cargador de arranque a la partición + OSTYPE="$(ogGetOsType $2 $3)" + if ogIsEfiActive && [ "$OSTYPE" == "Windows" ]; then + ogEcho log session "[12] $MSG_HELP_ogCopyEfiBootLoader" + ogCopyEfiBootLoader $2 $3 + fi + if [ "$OGWINREDUCE" == "TRUE" ] then ogEcho log session "[15]: Calculando la reduccion del sistema de archivos DISK:$DISKSOURCE PARTITION:$PARTSOURCE SIZE:$SIZE" -- cgit v1.2.3-18-g5258