Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwlive.git;a=commitdiff;h=f23432f88b7ca805aba68b13f642e51804dc1ab1

commit f23432f88b7ca805aba68b13f642e51804dc1ab1
Author: James Buren <[email protected]>
Date:   Mon Feb 18 00:25:00 2013 -0600

import port of create-iso

diff --git a/new/create-iso b/new/create-iso
new file mode 100755
index 0000000..32a32c4
--- /dev/null
+++ b/new/create-iso
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+set -e
+
+ROOT="$(pwd)/root"
+
+# Create the skeleton directory.
+mkdir -p $ROOT/{boot/syslinux,LiveOS}
+
+# Setup kernel and initrd.
+cp vmlinuz $ROOT/boot/vmlinuz
+cp initrd $ROOT/boot/initrd
+
+# Setup squashfs image.
+cp squashfs.img $ROOT/LiveOS/squashfs.img
+
+# Setup isolinux bootloader.
+cp /usr/lib/syslinux/isolinux.bin $ROOT/boot/syslinux/isolinux.bin
+#cp /usr/lib/syslinux/vesamenu.c32 $ROOT/boot/syslinux/vesamenu.c32
+cat > $ROOT/boot/syslinux/syslinux.cfg << EOF
+default frugalware
+label frugalware
+linux /boot/vmlinuz
+initrd /boot/initrd
+append root=live:CDLABEL=fwlive vga=789 video=800x600
+EOF
+
+# Create the ISO.
+mkisofs -R -J -V fwlive -b boot/syslinux/isolinux.bin -no-emul-boot 
-boot-load-size 4 -boot-info-table -o fwlive.iso $ROOT
+isohybrid fwlive.iso
+
+# Delete the root directory.
+rm -rf $ROOT
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to