diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-25 22:56:34 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-25 22:56:34 +0100 |
commit | b787efa8c627b459c876c11e59199df626011123 (patch) | |
tree | 9ce58cea803a6a1deecb65c48688c6c5234d781a /recipes | |
parent | 96124562bbadc7c4bbf0a4ceca39b838dbe47ed7 (diff) | |
download | libguestfs-b787efa8c627b459c876c11e59199df626011123.tar.gz libguestfs-b787efa8c627b459c876c11e59199df626011123.tar.xz libguestfs-b787efa8c627b459c876c11e59199df626011123.zip |
New recipe: iso2tar.
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/iso2tar.example | 16 | ||||
-rw-r--r-- | recipes/iso2tar.html | 11 | ||||
-rwxr-xr-x | recipes/iso2tar.sh | 3 | ||||
-rw-r--r-- | recipes/iso2tar.title | 1 |
4 files changed, 31 insertions, 0 deletions
diff --git a/recipes/iso2tar.example b/recipes/iso2tar.example new file mode 100644 index 00000000..16cb7dac --- /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 00000000..b72f3ba9 --- /dev/null +++ b/recipes/iso2tar.html @@ -0,0 +1,11 @@ +<p> +Convert a CD-ROM or DVD ISO to a tarball. +</p> + +<p> +Usage is very simple: +</p> + +<pre> +iso2tar.sh cd.iso output.tar.gz +</pre> diff --git a/recipes/iso2tar.sh b/recipes/iso2tar.sh new file mode 100755 index 00000000..78203941 --- /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 00000000..b8e95ac9 --- /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 |