openSUSE / imagewriter

Utility for writing raw disk images & hybrid isos to USB keys
GNU General Public License v2.0
178 stars 164 forks source link

Extract tar.gz archives from susestudio #8

Open rominf opened 10 years ago

rominf commented 10 years ago

SuseStudio generates tar.gz archives for preload usb images. Imagewriter silently writes those archives but this of course produces unbootable usb flash drives.

I propose to automatically extract those archives. Meanwhile I'm using this:

#!/usr/bin/env fish

tar xf $argv[1]
set raw (echo $argv[1] | sed 's/preload\.raw\.tar\.gz/raw.install.raw/')
imagewriter -f $raw
rm $raw