diff options
author | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2012-12-03 17:42:16 +0000 |
---|---|---|
committer | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2012-12-03 17:42:16 +0000 |
commit | 4600c6b6781387cff481ff4ae261f174df2e4a26 (patch) | |
tree | 6700488b5635d864b1e0deb1c63a478b683d2aab | |
parent | d3f04b9de015d04fffd70387314b0367502c8d5c (diff) | |
download | genivi-initial-setup-4600c6b6781387cff481ff4ae261f174df2e4a26.tar.gz |
Decompress downloaded image instead of compressing it further
-rwxr-xr-x | baserock-install-vm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/baserock-install-vm b/baserock-install-vm index 74f7966..fa02880 100755 --- a/baserock-install-vm +++ b/baserock-install-vm @@ -50,7 +50,7 @@ if [ -e $DEVEL_IMAGE_NAME.img ]; then echo "Development image has already been decompressed" else echo "Decompressing development image" - gzip -c "$DEVEL_IMAGE_NAME.img.gz" >"$DEVEL_IMAGE_NAME.img" + gzip -dc "$DEVEL_IMAGE_NAME.img.gz" >"$DEVEL_IMAGE_NAME.img" fi # Convert the .img file into a VirtualBox .vdi and create the virtual machine |