tazlito rev 31
Adding copy of syslinux, Grub and extlinux in extract-distro
author | Eric Joseph-Alexandre <erjo@pimentvert.com> |
---|---|
date | Mon Jan 14 22:29:43 2008 +0100 (2008-01-14) |
parents | fc4903b76419 |
children | bda5158e6335 |
files | tazlito |
line diff
1.1 --- a/tazlito Sun Jan 13 22:07:24 2008 +0100 1.2 +++ b/tazlito Mon Jan 14 22:29:43 2008 +0100 1.3 @@ -228,7 +228,7 @@ 1.4 # Use lzma if installed 1.5 if [ -x /usr/bin/lzma -a "$COMPRESSION" != "gzip" ]; then 1.6 echo -n "Generating lzma'ed initramfs... " 1.7 - find . -print | cpio -o -H newc | lzma e -si -so > $DISTRO/$INITRAMFS 1.8 + find . -print | cpio -o -H newc | lzma e -si -so -d26 > $DISTRO/$INITRAMFS 1.9 else 1.10 echo -n "Generating gziped initramfs... " 1.11 find . -print | cpio -o -H newc | gzip -9 > $DISTRO/$INITRAMFS 1.12 @@ -432,6 +432,19 @@ 1.13 echo -n "Copying isolinux files..." 1.14 cp -a $TMP_DIR/boot/isolinux $TARGET/rootcd/boot 1.15 status 1.16 + if [ -d $TMP_DIR/boot/syslinux ]; then 1.17 + cp -a $TMP_DIR/boot/syslinux $TARGET/rootcd/boot 1.18 + status 1.19 + fi 1.20 + if [ -d $TMP_DIR/boot/extlinux ]; then 1.21 + cp -a $TMP_DIR/boot/extlinux $TARGET/rootcd/boot 1.22 + status 1.23 + fi 1.24 + if [ -d $TMP_DIR/boot/grub ]; then 1.25 + cp -a $TMP_DIR/boot/grub $TARGET/rootcd/boot 1.26 + status 1.27 + fi 1.28 + 1.29 echo -n "Copying the rootfs..." 1.30 cp $TMP_DIR/boot/rootfs.?z $TARGET/rootcd/boot 1.31 status