diff --git a/recipes/iso2tar.example b/recipes/iso2tar.example new file mode 100644 index 000000000..16cb7dacb --- /dev/null +++ b/recipes/iso2tar.example @@ -0,0 +1,16 @@ +$ ll -h /tmp/Fedora-11-Beta-i386-netinst.iso +-r--r--r--. 1 rjones rjones 168M 2009-04-25 22:38 /tmp/Fedora-11-Beta-i386-netinst.iso +$ ./iso2tar.sh /tmp/Fedora-11-Beta-i386-netinst.iso /tmp/cd.tar.gz +$ ls -lh /tmp/cd.tar.gz +-rw-rw-r--. 1 rjones rjones 177M 2009-04-25 22:50 /tmp/cd.tar.gz +$ tar ztf /tmp/cd.tar.gz +./ +./EFI/ +./EFI/BOOT/ +./EFI/BOOT/BOOT.conf +./EFI/BOOT/BOOTIA32.conf +./EFI/BOOT/splash.xpm.gz +./EFI/BOOT/TRANS.TBL +./images/ +./images/efiboot.img +[etc] diff --git a/recipes/iso2tar.html b/recipes/iso2tar.html new file mode 100644 index 000000000..b72f3ba9f --- /dev/null +++ b/recipes/iso2tar.html @@ -0,0 +1,11 @@ +
+Convert a CD-ROM or DVD ISO to a tarball. +
+ ++Usage is very simple: +
+ ++iso2tar.sh cd.iso output.tar.gz +diff --git a/recipes/iso2tar.sh b/recipes/iso2tar.sh new file mode 100755 index 000000000..78203941c --- /dev/null +++ b/recipes/iso2tar.sh @@ -0,0 +1,3 @@ +#!/bin/sh - + +guestfish -a "$1" -m /dev/sda tgz-out / "$2" diff --git a/recipes/iso2tar.title b/recipes/iso2tar.title new file mode 100644 index 000000000..b8e95ac90 --- /dev/null +++ b/recipes/iso2tar.title @@ -0,0 +1 @@ +Convert a CD-ROM or DVD ISO to a tarball \ No newline at end of file