1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-27 02:08:54 +00:00

Merge pull request #978 from ThomasWaldmann/fix-osx

vagrant: OS X update osxfuse / fix lzma, fixes #933
This commit is contained in:
TW 2016-04-24 02:35:34 +02:00
commit 81a1952c9a

5
Vagrantfile vendored
View file

@ -54,14 +54,15 @@ def packages_darwin
# install all the (security and other) updates # install all the (security and other) updates
sudo softwareupdate --install --all sudo softwareupdate --install --all
# get osxfuse 3.0.x pre-release code from github: # get osxfuse 3.0.x pre-release code from github:
curl -s -L https://github.com/osxfuse/osxfuse/releases/download/osxfuse-3.0.9/osxfuse-3.0.9.dmg >osxfuse.dmg curl -s -L https://github.com/osxfuse/osxfuse/releases/download/osxfuse-3.2.0/osxfuse-3.2.0.dmg >osxfuse.dmg
MOUNTDIR=$(echo `hdiutil mount osxfuse.dmg | tail -1 | awk '{$1="" ; print $0}'` | xargs -0 echo) \ MOUNTDIR=$(echo `hdiutil mount osxfuse.dmg | tail -1 | awk '{$1="" ; print $0}'` | xargs -0 echo) \
&& sudo installer -pkg "${MOUNTDIR}/Extras/FUSE for OS X 3.0.9.pkg" -target / && sudo installer -pkg "${MOUNTDIR}/Extras/FUSE for OS X 3.2.0.pkg" -target /
sudo chown -R vagrant /usr/local # brew must be able to create stuff here sudo chown -R vagrant /usr/local # brew must be able to create stuff here
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update brew update
brew install openssl brew install openssl
brew install lz4 brew install lz4
brew install xz # required for python lzma module
brew install fakeroot brew install fakeroot
brew install git brew install git
brew install pkgconfig brew install pkgconfig