vagrant-ubuntu-precise-64
vagrant-ubuntu-precise-64 copied to clipboard
Making it work on OSX 10.7.4, where tar fails silently to extract the iso
First of all, great script - it's annoying that the default vagrant box is an old version.
I tried to run it this morning, and ran into a couple of issues - first with brew installing cdrtools (using a slightly outdated version of XCode). I updated XCode and got that working, but then tar was failing silently on extracting from the ISO file.
I solved the problem by updating to a more recent "homebrew-dupes" version of libarchive as recommended in this thread: http://forums.macrumors.com/showthread.php?t=1377464
This pull request updated the README to outline those two potential issues and their fixes, and I updated build.sh
to try using the homebrew installed bsdtar if the tar output is empty.
Googling for the first cdrtools problem, I saw it was a common problem with smake and OSX Lion. And there is an open Github issue on the project for the empty tar output problem, so it seems like other people are having the same problem with tar 2.8.3.
+1 -- Installing a more recent libarchive with Homebrew and this patch made it work for me. It should be merged.
+1
oof this is good to know. I hit this as well...used p7zip from brew but if bsdtar is in osx already...
+! - Tested and works great.
This fixed my problem as well. Thanks