tazlito rev 324

Remove frugal stuff (now a tiny tool is dedicated to frugal install) + (c) --> 2014
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jan 02 19:22:15 2014 +0100 (2014-01-02)
parents 6c50086f39bb
children c8c0feca4b36
files COPYING doc/tazlito.en.html doc/tazlito.fr.html doc/tazlito.pt.html tazlito tazlito-wiz
line diff
     1.1 --- a/COPYING	Thu Jan 02 14:51:40 2014 +0100
     1.2 +++ b/COPYING	Thu Jan 02 19:22:15 2014 +0100
     1.3 @@ -2,7 +2,7 @@
     1.4  ===============================================================================
     1.5  
     1.6  
     1.7 -Copyright (c)  2007-2013  SliTaz GNU/Linux
     1.8 +Copyright (c)  2007-2014  SliTaz GNU/Linux
     1.9  
    1.10  
    1.11  FranÁais
     2.1 --- a/doc/tazlito.en.html	Thu Jan 02 14:51:40 2014 +0100
     2.2 +++ b/doc/tazlito.en.html	Thu Jan 02 19:22:15 2014 +0100
     2.3 @@ -279,21 +279,6 @@
     2.4  # tazlito writeiso gzip <em>image-name</em>
     2.5  </pre>
     2.6  
     2.7 -
     2.8 -<h3 id="frugal-install">frugal-install</h3>
     2.9 -
    2.10 -<p>Perfom a frugal installation into <tt>/boot/frugal</tt> and add a GRUB entry
    2.11 -if needed. Frugal mode will make SliTaz work completely in memory (RAM)‚ÄĒuseful
    2.12 -to test a distro without burning an ISO or to have a rescue system ready to use
    2.13 -when the computer powers on. To install all needed files from a distro tree or
    2.14 -an ISO image:</p>
    2.15 -
    2.16 -<pre>
    2.17 -# tazlito frugal-install
    2.18 -# tazlito -fi <em>slitaz.iso</em>
    2.19 -</pre>
    2.20 -
    2.21 -
    2.22  <h3 id="check-list">check-list</h3>
    2.23  
    2.24  <p>Checks if the <tt>distro-packages.list</tt> is updated with the latest
    2.25 @@ -509,7 +494,7 @@
    2.26  </div>
    2.27  
    2.28  <footer>
    2.29 -	Copyright © 2013 <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a>
    2.30 +	Copyright © 2014 <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a>
    2.31  </footer>
    2.32  
    2.33  </body>
     3.1 --- a/doc/tazlito.fr.html	Thu Jan 02 14:51:40 2014 +0100
     3.2 +++ b/doc/tazlito.fr.html	Thu Jan 02 19:22:15 2014 +0100
     3.3 @@ -304,22 +304,6 @@
     3.4  # tazlito writeiso gzip <em>image-name</em>
     3.5  </pre>
     3.6  
     3.7 -
     3.8 -<h3 id="frugal-install">frugal-install</h3>
     3.9 -
    3.10 -<p>Installe les fichiers nécessaire du CD-ROM dans <tt>/boot/frugal</tt> et
    3.11 -ajoute une entée GRUB si nécessaire. En mode frugal, Slitaz fonctionne
    3.12 -entièrement en mémoire (RAM). Cela permet de tester une distribution sans graver
    3.13 -d'ISO ou d'avoir un OS de dépannage prêt lorsque l'ordinateur démarre. Pour
    3.14 -installer tous les fichiers nécessaires à partir d'une arborescence ou d'une
    3.15 -image ISO :</p>
    3.16 -
    3.17 -<pre>
    3.18 -# tazlito frugal-install <em>slitaz.iso</em>
    3.19 -# tazlito -fi <em>slitaz.iso</em>
    3.20 -</pre>
    3.21 -
    3.22 -
    3.23  <h3 id="check-list">check-list</h3>
    3.24  
    3.25  <p>Vérifie si <tt>distro-packages.list</tt> est à jour avec les dernières
    3.26 @@ -542,7 +526,7 @@
    3.27  </div>
    3.28  
    3.29  <footer>
    3.30 -	Copyright © 2013 <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a>
    3.31 +	Copyright © 2014 <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a>
    3.32  </footer>
    3.33  
    3.34  </body>
     4.1 --- a/doc/tazlito.pt.html	Thu Jan 02 14:51:40 2014 +0100
     4.2 +++ b/doc/tazlito.pt.html	Thu Jan 02 19:22:15 2014 +0100
     4.3 @@ -282,21 +282,6 @@
     4.4  </pre>
     4.5  
     4.6  
     4.7 -<h3 id="frugal-install">frugal-install</h3>
     4.8 -
     4.9 -<p>Executa uma instalação frugal em <tt>/boot/frugal</tt> e adiciona uma entrada
    4.10 -ao GRUB, caso necessário. Este tipo de instalação irá rodar o SliTaz diretamente
    4.11 -na memória RAM (mesmo comportamento do LiveCD), o que permite testar a distro
    4.12 -ou ter um sistema de recuperação pronto para uso. Para instalar todos os
    4.13 -arquivos necess√°rios a partir de uma estrutura de pastas ou de uma imagem
    4.14 -ISO:</p>
    4.15 -
    4.16 -<pre>
    4.17 -# tazlito frugal-install
    4.18 -# tazlito -fi <em>slitaz.iso</em>
    4.19 -</pre>
    4.20 -
    4.21 -
    4.22  <h3 id="check-list">check-list</h3>
    4.23  
    4.24  <p>Verifica se o arquivo <tt>distro-packages.list</tt> est√° atualizado com as
    4.25 @@ -522,7 +507,7 @@
    4.26  </div>
    4.27  
    4.28  <footer>
    4.29 -	Copyright © 2013 <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a>
    4.30 +	Copyright © 2014 <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a>
    4.31  </footer>
    4.32  
    4.33  </body>
     5.1 --- a/tazlito	Thu Jan 02 14:51:40 2014 +0100
     5.2 +++ b/tazlito	Thu Jan 02 19:22:15 2014 +0100
     5.3 @@ -7,7 +7,7 @@
     5.4  # and/or a new ISO. Most commands must be run by root, except the stats
     5.5  # and the configuration file manipulation.
     5.6  #
     5.7 -# (C) 2007-2012 SliTaz - GNU General Public License.
     5.8 +# (C) 2007-2014 SliTaz - GNU General Public License.
     5.9  #
    5.10  # Authors : Christophe Lincoln <pankso@slitaz.org>
    5.11  #           Pascal Bellard <pascal.bellard@slitaz.org>
    5.12 @@ -104,7 +104,6 @@
    5.13    deduplicate	  Deduplicate files in a tree.
    5.14    repack          Recompress rootfs into iso with maximum ratio.
    5.15    build-loram     Generate a live-CD for low ram systems.
    5.16 -  frugal-install  Frugal install in /boot/frugal from a distro or ISO.
    5.17    emu-iso         Emulate an ISO image with Qemu.
    5.18    burn-iso        Burn ISO image to a cdrom using Wodim.\n"
    5.19  }
    5.20 @@ -2532,53 +2531,6 @@
    5.21  		losetup -d $loopdev
    5.22  		rm -rf $TMP_DIR ;;
    5.23  
    5.24 -
    5.25 -	frugal-install|-fi)
    5.26 -		ISO_IMAGE="$2"
    5.27 -		echo ""
    5.28 -		mkdir -p /boot/frugal
    5.29 -		if [ -f "$ISO_IMAGE" ]; then
    5.30 -			echo -n "Using ISO image: $ISO_IMAGE"
    5.31 -			mkdir -p /tmp/iso && mount -o loop $ISO_IMAGE /tmp/iso
    5.32 -			status
    5.33 -			echo -n "Installing the Kernel and rootfs..."
    5.34 -			cp -a /tmp/iso/boot/bzImage /boot/frugal
    5.35 -			if [ -f $DISTRO/rootcd/boot/rootfs1.gz ]; then
    5.36 -				cd /tmp/iso/boot
    5.37 -				cat $(ls -r rootfs*.gz) > /boot/frugal/rootfs.gz
    5.38 -			else
    5.39 -				cp -a /tmp/iso/boot/rootfs.gz /boot/frugal
    5.40 -			fi
    5.41 -			umount /tmp/iso
    5.42 -			status
    5.43 -		else
    5.44 -			echo -n "Using distro: $DISTRO"
    5.45 -			cd $DISTRO && status
    5.46 -			echo -n "Installing the Kernel and rootfs..."
    5.47 -			cp -a $DISTRO/rootcd/boot/bzImage /boot/frugal
    5.48 -			if [ -f $DISTRO/rootcd/boot/rootfs1.gz ]; then
    5.49 -				cd $DISTRO/rootcd/boot
    5.50 -				cat $(ls -r rootfs*.gz) > /boot/frugal/rootfs.gz
    5.51 -			else
    5.52 -				cp -a $DISTRO/rootcd/boot/rootfs.gz /boot/frugal
    5.53 -			fi
    5.54 -			status
    5.55 -		fi
    5.56 -		# Grub entry
    5.57 -		if ! grep -q "^kernel /boot/frugal/bzImage" /boot/grub/menu.lst; then
    5.58 -			echo -n "Configuring GRUB menu list..."
    5.59 -			cat >> /boot/grub/menu.lst << EOT
    5.60 -title SliTaz GNU/Linux (frugal)
    5.61 -root (hd0,0)
    5.62 -kernel /boot/frugal/bzImage root=/dev/null
    5.63 -initrd /boot/frugal/rootfs.gz
    5.64 -EOT
    5.65 -		else
    5.66 -			echo -n "GRUB menu list is up-to-date..."
    5.67 -		fi
    5.68 -		status
    5.69 -		echo "" ;;
    5.70 -
    5.71  	emu-iso)
    5.72  		# Emulate an ISO image with Qemu.
    5.73  		if [ -n "$2" ] ; then
     6.1 --- a/tazlito-wiz	Thu Jan 02 14:51:40 2014 +0100
     6.2 +++ b/tazlito-wiz	Thu Jan 02 19:22:15 2014 +0100
     6.3 @@ -2,7 +2,7 @@
     6.4  #
     6.5  # Live system creation wizard in GTK using Yad.
     6.6  #
     6.7 -# Copyright (C) 2012 SliTaz GNU/Linux - GNU gpl v2
     6.8 +# Copyright (C) 2012-2014 SliTaz GNU/Linux - GNU gpl v2
     6.9  # Authors : Christophe Lincoln <pankso@slitaz.org>
    6.10  #
    6.11