summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradv <adv@uma.es>2018-01-21 19:49:54 +0000
committeradv <adv@uma.es>2018-01-21 19:49:54 +0000
commitbd597f67058c2867ca2c0a9d0be195bfaf130dee (patch)
tree6797e801764c00aff72974eae90126430ea2ad93
parent7955ce87c6098592922f1fa63a5b23ab0bca9e7a (diff)
#822 ogFormatCache realizar una llamada a updateBootCache
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5568 a21b9725-9963-47de-94b9-378ad31fedc9
-rwxr-xr-xclient/engine/Cache.lib7
1 files changed, 7 insertions, 0 deletions
diff --git a/client/engine/Cache.lib b/client/engine/Cache.lib
index dcc8f829..8f6c9663 100755
--- a/client/engine/Cache.lib
+++ b/client/engine/Cache.lib
@@ -256,6 +256,10 @@ ogDevToDisk ${PART%% *} 2>/dev/null
#@version 0.91 - Creacion cache local.
#@author Ramon Gomez, ETSII Universidad de Sevilla
#@date 2010-03-11
+#@version 1.1.0 - llamada a updateBootCache.
+#@author Antonio J. Doblas Viso. Universidad de Malaga
+#@date 2018-01-21
+
#*/ ##
function ogFormatCache ()
{
@@ -278,6 +282,9 @@ mkfs.ext4 -q -F $DEV -L "CACHE" -O extent,large_file 2>/dev/null || ogRaiseError
# Crear estructura básica.
MNTDIR=$(ogMountCache)
mkdir -p $MNTDIR/$OGIMG
+
+# Incluir kernel e Initrd del ogLive
+updateBootCache 2>&1>/dev/null
}