vagrant-ubuntu-precise-64
vagrant-ubuntu-precise-64 copied to clipboard
tar problems
First off, thanks for creating this script!
This isn't necessarily an issue with the build script, but with tar on Mac OS X 10.7.4. It seems that it doesn't want to extract the iso that gets downloaded -- it just silently quits even if you supply the verbose flag.
I followed the instructions here to install an updated version of bsdtar using homebrew:
http://forums.macrumors.com/showthread.php?t=1377464
I also had to update the script to use /usr/local/bin/bsdtar instead of tar.
Just in case someone else has the same issue.
Thanks, same issue as #5 - maybe we should put a warning/error in the script in case unpacking the iso fails :)
FWIW, I am having the same problem. Just opened a pull request that will try /usr/local/bin/bsdtar if the tar output was empty.
Thanks for the reference, was banging my head against this.
Just wasted a good few hours on this problem than saw this in the issue queue.
I think this is down to the way Ubuntu package there iso's having read http://ubuntuforums.org/showthread.php?t=1870261&page=5 .
Before I found this and updated tar via the brew link at http://forums.macrumors.com/showthread.php?t=1377464 from post 1 I managed to get it working with the below hack using info from the ubuntuforums post. Updating tar is far eaiser/simpler... Run the script, let it download the iso and silently fail.
Delete the build directory.
Open disk utility Drag the downloaded iso into the left under the the existing mounts Double click the ubuntu image disk5s1 should appear grayed out under the image Run: dd if=/dev/disk5s1 of=/tmp/ubuntu.iso bs=1m
Mount the /tmp/ubuntu.iso by double clicking it in finder tar -czf vagrant-ubuntu-precise-64/iso/ubuntu-12.04-alternate-amd64.iso -C /Volumes/Ubuntu\ 12.04\ LTS .
Re-run the build script