#724 #730: Problemas resueltos:

* Detección correcta de caché en ogLive basado en Ubuntu 15.10.
 * Dejar de montar sistema de archivos temporal para APT en ogLive.
 * Cálculo correcto de tamaño en KB en función {{{ogGetPartitionSize}}}.
Actualizar lista de tickets resueltos.

git-svn-id: https://opengnsys.es/svn/branches/version1.1@4919 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/master
ramon 2016-05-04 12:43:32 +00:00
parent 984eebe0d3
commit 441bbf3db8
1 changed files with 4 additions and 6 deletions

View File

@ -292,10 +292,6 @@ ogPostConfigureFS()
fi
fi
fi
#Montamos un directorio temporal para el apt-get
mount tmpfs /var/cache/apt/archives -t tmpfs -o size=15M
mkdir -p /var/cache/apt/archives/partial
}
@ -365,9 +361,11 @@ ogUpdateInitrd ()
{
cd /tmp
mkdir /tmp/cache
TYPE=$(blkid | grep CACHE | awk -F"TYPE=" '{print $2}' | tr -d \")
TYPE=$(blkid -po export $(blkid -L CACHE) 2>/dev/null | awk -F= '$1=="TYPE" { print $2}')
# Salir si no se detecta caché.
[ -z "$TYPE" ] && return
mount -t $TYPE LABEL=CACHE /tmp/cache || return
mkdir /tmp/cache/boot
mkdir -p /tmp/cache/boot
# comparamos los del server