diff --git a/boottoolsfunctions.lib b/boottoolsfunctions.lib index 111a73a..a58ac9d 100755 --- a/boottoolsfunctions.lib +++ b/boottoolsfunctions.lib @@ -47,28 +47,42 @@ function btogGetOsInfo () { OGCLIENTCFG=/tmp/ogclient.cfg case "${1,,}" in - lenny) - OSDISTRIB="debian" - OSCODENAME="lenny" - OSRELEASE="2.6.28-11-generic" - OSARCH="i386" - OSHTTP="http://es.archive.ubuntu.com/ubuntu/" - ;; - lucid) + precise) # ogLive 1.0.4-rc2 basado en Ubuntu 12.04 LTS. OSDISTRIB="ubuntu" - OSCODENAME="lucid" - OSRELEASE="2.6.32-21-generic-pae" + OSCODENAME="precise" + OSRELEASE="3.2.0-23-generic" OSARCH="i386" OSHTTP="http://es.archive.ubuntu.com/ubuntu/" ;; - quantal) + quantal) # ogLive 1.0.5-rc2 basado en Ubuntu 12.10 con Kernel descargado. OSDISTRIB="ubuntu" OSCODENAME="quantal" OSRELEASE="3.7.6-030706-generic" OSARCH="i386" OSHTTP="http://es.archive.ubuntu.com/ubuntu/" ;; - host | *) + raring) # ogLive 1.0.5-rc3 basado en Ubuntu 13.04. + OSDISTRIB="ubuntu" + OSCODENAME="raring" + OSRELEASE="3.8.0-22-generic" + OSARCH="i386" + OSHTTP="http://es.archive.ubuntu.com/ubuntu/" + ;; + wheezy) # ogLive basado en Debian 7.3. + OSDISTRIB="debian" + OSCODENAME="wheezy" + OSRELEASE="3.2.0-4-i386" + OSARCH="i386" + OSHTTP="http://ftp.es.debian.org/debian/" + ;; + trusty) # ogLive 1.0.5-rc4 basado en Ubuntu 14.04. + OSDISTRIB="ubuntu" + OSCODENAME="trusty" + OSRELEASE="3.13.0-24-generic" + OSARCH="i386" + OSHTTP="http://es.archive.ubuntu.com/ubuntu/" + ;; + host | *) # ogLive basado en la distribución del servidor. OSDISTRIB=$(lsb_release -is) OSCODENAME=$(lsb_release -cs) OSRELEASE=$(uname -a | awk '{print $3}') diff --git a/boottoolsgenerator.sh b/boottoolsgenerator.sh index 790c14c..c6738e2 100755 --- a/boottoolsgenerator.sh +++ b/boottoolsgenerator.sh @@ -27,6 +27,9 @@ then exit 1 fi +# Cambiar a directorio temporal. +cd /tmp + for i in `mount | grep IMGogclient | grep /var | cut -f3 -d" "`; do echo $i; umount $i; done for i in `mount | grep IMGogclient | grep /var | cut -f3 -d" "`; do echo $i; umount $i; done for i in `mount | grep IMGogclient | grep /var | cut -f3 -d" "`; do echo $i; umount $i; done diff --git a/includes/usr/bin/boot-tools/listpackages/sw.basic b/includes/usr/bin/boot-tools/listpackages/sw.basic index 508541b..1dd2ac6 100644 --- a/includes/usr/bin/boot-tools/listpackages/sw.basic +++ b/includes/usr/bin/boot-tools/listpackages/sw.basic @@ -14,5 +14,5 @@ install subversion install python-openssl install python install dmidecode -install hwinfo +#install hwinfo install realpath