tazlito diff 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 | 0051c77af248 |
children | c8c0feca4b36 |
line diff
1.1 --- a/tazlito Mon Jun 17 12:46:34 2013 +0200 1.2 +++ b/tazlito Thu Jan 02 19:22:15 2014 +0100 1.3 @@ -7,7 +7,7 @@ 1.4 # and/or a new ISO. Most commands must be run by root, except the stats 1.5 # and the configuration file manipulation. 1.6 # 1.7 -# (C) 2007-2012 SliTaz - GNU General Public License. 1.8 +# (C) 2007-2014 SliTaz - GNU General Public License. 1.9 # 1.10 # Authors : Christophe Lincoln <pankso@slitaz.org> 1.11 # Pascal Bellard <pascal.bellard@slitaz.org> 1.12 @@ -104,7 +104,6 @@ 1.13 deduplicate Deduplicate files in a tree. 1.14 repack Recompress rootfs into iso with maximum ratio. 1.15 build-loram Generate a live-CD for low ram systems. 1.16 - frugal-install Frugal install in /boot/frugal from a distro or ISO. 1.17 emu-iso Emulate an ISO image with Qemu. 1.18 burn-iso Burn ISO image to a cdrom using Wodim.\n" 1.19 } 1.20 @@ -2532,53 +2531,6 @@ 1.21 losetup -d $loopdev 1.22 rm -rf $TMP_DIR ;; 1.23 1.24 - 1.25 - frugal-install|-fi) 1.26 - ISO_IMAGE="$2" 1.27 - echo "" 1.28 - mkdir -p /boot/frugal 1.29 - if [ -f "$ISO_IMAGE" ]; then 1.30 - echo -n "Using ISO image: $ISO_IMAGE" 1.31 - mkdir -p /tmp/iso && mount -o loop $ISO_IMAGE /tmp/iso 1.32 - status 1.33 - echo -n "Installing the Kernel and rootfs..." 1.34 - cp -a /tmp/iso/boot/bzImage /boot/frugal 1.35 - if [ -f $DISTRO/rootcd/boot/rootfs1.gz ]; then 1.36 - cd /tmp/iso/boot 1.37 - cat $(ls -r rootfs*.gz) > /boot/frugal/rootfs.gz 1.38 - else 1.39 - cp -a /tmp/iso/boot/rootfs.gz /boot/frugal 1.40 - fi 1.41 - umount /tmp/iso 1.42 - status 1.43 - else 1.44 - echo -n "Using distro: $DISTRO" 1.45 - cd $DISTRO && status 1.46 - echo -n "Installing the Kernel and rootfs..." 1.47 - cp -a $DISTRO/rootcd/boot/bzImage /boot/frugal 1.48 - if [ -f $DISTRO/rootcd/boot/rootfs1.gz ]; then 1.49 - cd $DISTRO/rootcd/boot 1.50 - cat $(ls -r rootfs*.gz) > /boot/frugal/rootfs.gz 1.51 - else 1.52 - cp -a $DISTRO/rootcd/boot/rootfs.gz /boot/frugal 1.53 - fi 1.54 - status 1.55 - fi 1.56 - # Grub entry 1.57 - if ! grep -q "^kernel /boot/frugal/bzImage" /boot/grub/menu.lst; then 1.58 - echo -n "Configuring GRUB menu list..." 1.59 - cat >> /boot/grub/menu.lst << EOT 1.60 -title SliTaz GNU/Linux (frugal) 1.61 -root (hd0,0) 1.62 -kernel /boot/frugal/bzImage root=/dev/null 1.63 -initrd /boot/frugal/rootfs.gz 1.64 -EOT 1.65 - else 1.66 - echo -n "GRUB menu list is up-to-date..." 1.67 - fi 1.68 - status 1.69 - echo "" ;; 1.70 - 1.71 emu-iso) 1.72 # Emulate an ISO image with Qemu. 1.73 if [ -n "$2" ] ; then