Skip to content

Conversation

@dcosson
Copy link

@dcosson dcosson commented Jun 8, 2012

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.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if there's a better way to check if a folder is empty, but this works

@cmer
Copy link

cmer commented Aug 8, 2012

+1 -- Installing a more recent libarchive with Homebrew and this patch made it work for me. It should be merged.

@miagao
Copy link

miagao commented Aug 10, 2012

+1

@ccollicutt
Copy link

oof this is good to know. I hit this as well...used p7zip from brew but if bsdtar is in osx already...

@manifestinteractive
Copy link

+! - Tested and works great.

@jcowhigjr
Copy link

This fixed my problem as well. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants