# HG changeset patch # User Eric Joseph-Alexandre # Date 1200346183 -3600 # Node ID 5aa9e17f7c9f44db65b62a06241f380e17488e14 # Parent fc4903b7641904f76ba9a6b8dd93d53ced3235ed Adding copy of syslinux, Grub and extlinux in extract-distro diff -r fc4903b76419 -r 5aa9e17f7c9f tazlito --- a/tazlito Sun Jan 13 22:07:24 2008 +0100 +++ b/tazlito Mon Jan 14 22:29:43 2008 +0100 @@ -228,7 +228,7 @@ # Use lzma if installed if [ -x /usr/bin/lzma -a "$COMPRESSION" != "gzip" ]; then echo -n "Generating lzma'ed initramfs... " - find . -print | cpio -o -H newc | lzma e -si -so > $DISTRO/$INITRAMFS + find . -print | cpio -o -H newc | lzma e -si -so -d26 > $DISTRO/$INITRAMFS else echo -n "Generating gziped initramfs... " find . -print | cpio -o -H newc | gzip -9 > $DISTRO/$INITRAMFS @@ -432,6 +432,19 @@ echo -n "Copying isolinux files..." cp -a $TMP_DIR/boot/isolinux $TARGET/rootcd/boot status + if [ -d $TMP_DIR/boot/syslinux ]; then + cp -a $TMP_DIR/boot/syslinux $TARGET/rootcd/boot + status + fi + if [ -d $TMP_DIR/boot/extlinux ]; then + cp -a $TMP_DIR/boot/extlinux $TARGET/rootcd/boot + status + fi + if [ -d $TMP_DIR/boot/grub ]; then + cp -a $TMP_DIR/boot/grub $TARGET/rootcd/boot + status + fi + echo -n "Copying the rootfs..." cp $TMP_DIR/boot/rootfs.?z $TARGET/rootcd/boot status