Corregir errata al crear cliente ogLive cuando el fichero de configuración de red está en {{{/tmp}}} e instalar nuevos paquetes.

git-svn-id: https://opengnsys.es/svn/branches/version1.0@4400 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/master
ramon 2014-10-09 07:30:56 +00:00
parent 12999a5cab
commit 6b9e1d748d
4 changed files with 10 additions and 7 deletions

View File

@ -51,6 +51,7 @@ case "${1,,}" in
OSDISTRIB="ubuntu" OSDISTRIB="ubuntu"
OSCODENAME="precise" OSCODENAME="precise"
OSRELEASE="3.2.0-23-generic" OSRELEASE="3.2.0-23-generic"
#OSRELEASE="3.11.0-26-generic"
OSARCH="i386" OSARCH="i386"
OSHTTP="http://es.archive.ubuntu.com/ubuntu/" OSHTTP="http://es.archive.ubuntu.com/ubuntu/"
;; ;;

View File

@ -612,6 +612,8 @@ done
if [ -n "${DEVICE}" ]; then if [ -n "${DEVICE}" ]; then
export DEVICE export DEVICE
export DEVICECFG="/run/net-${DEVICE}.conf" export DEVICECFG="/run/net-${DEVICE}.conf"
# En algunos casos, el fichero de configuración está en /tmp.
[ ! -f $DEVICECFG -a -f ${DEVICECFG/run/tmp} ] && mv ${DEVICECFG/run/tmp} $DEVICECFG
source $DEVICECFG source $DEVICECFG
echo "DEVICE=$DEVICE" >> $CFGINITRD echo "DEVICE=$DEVICE" >> $CFGINITRD
echo "DEVICECFG=$DEVICECFG" >> $CFGINITRD echo "DEVICECFG=$DEVICECFG" >> $CFGINITRD

View File

@ -13,6 +13,6 @@ install gawk
install subversion install subversion
install python-openssl install python-openssl
install python install python
install php5-cli
install dmidecode install dmidecode
#install hwinfo
install realpath install realpath

View File

@ -2,7 +2,6 @@
install squashfs-tools install squashfs-tools
install unionfs-fuse install unionfs-fuse
install drbl-ntfsprogs install drbl-ntfsprogs
#install ntfsprogs
install ntfs-3g install ntfs-3g
install dosfstools install dosfstools
install fatresize install fatresize
@ -22,9 +21,10 @@ install hfsprogs
install hfsutils install hfsutils
install nilfs-tools install nilfs-tools
install ufsutils install ufsutils
#install ubuntu-zfs install vmfs-tools
install zfs-fuse install zfs-fuse
install android-tools-adb # Solo en ogLive basado en Ubuntu 14.04
install android-tools-fastboot #install android-tools-adb
install android-tools-fsutils #install android-tools-fastboot
install f2fs-tools #install android-tools-fsutils
#install f2fs-tools