diff options
author | ramon <ramongomez@us.es> | 2014-10-30 08:42:07 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2014-10-30 08:42:07 +0000 |
commit | 98cd714cd54a429036ed020a2b827a8dbac94dfa (patch) | |
tree | 270e9ebb1e49707c4d5ee02f372884938516949c /client/boot-tools/boottoolsfunctions.lib | |
parent | 3be02194708ad175e89c37395fa2bce7a0f7f734 (diff) |
#615: Corregir erratas al crear cliente ogLive basado en Ubuntu 12.04.5 y posteriores:
* Evitar error al crear imagen ISO extrayendo el fichero {{{gpxe.iso}}}, en caso de ser necesario.
* Instalar separadamente el paquete {{{linux-image-extra}}}, para evitar errores de creación en caso de no existir dicho paquete.
* Sustituir paquete {{{zfs-fuse}}} por {{{ubuntu-zfs}}} (más actualizado).
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4414 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/boot-tools/boottoolsfunctions.lib')
-rwxr-xr-x | client/boot-tools/boottoolsfunctions.lib | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/client/boot-tools/boottoolsfunctions.lib b/client/boot-tools/boottoolsfunctions.lib index c9f9d2e1..936b02a7 100755 --- a/client/boot-tools/boottoolsfunctions.lib +++ b/client/boot-tools/boottoolsfunctions.lib @@ -366,8 +366,18 @@ function btogIsoGenerator { btogGetVar #Preparamos los gestores de arranque mkdir -p /tmp/iso/isolinux -cp -prv /usr/lib/syslinux/* /tmp/iso/isolinux/ -cp -prv /usr/share/gpxe/* /tmp/iso/isolinux/ +cp -av /usr/lib/syslinux/* /tmp/iso/isolinux/ +cp -av /usr/share/gpxe/* /tmp/iso/isolinux/ + +# Si existe isolinux/gpxe.iso, montarlo para extraer isolinux.bin. +if [ -f /tmp/iso/isolinux/gpxe.iso ]; then + mkdir -p /tmp/iso/isolinux/mount + mount -o loop /tmp/iso/isolinux/gpxe.iso /tmp/iso/isolinux/mount + cp -va /tmp/iso/isolinux/mount/* /tmp/iso/isolinux + umount /tmp/iso/isolinux/mount + rmdir /tmp/iso/isolinux/mount + rm -f /tmp/iso/isolinux/gpxe.iso +fi cat << FIN > /tmp/iso/isolinux/isolinux.cfg DEFAULT menu.c32 |