From c7776fa271b05746bf05f28e459e7a6eb659af68 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 5 Mar 2016 20:12:28 +0100 Subject: [PATCH] update OS / dist packages on build machines, fixes #717 --- Vagrantfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index bd6a03561..1f89aeb32 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -13,6 +13,8 @@ end def packages_debianoid return <<-EOF apt-get update + # install all the (security and other) updates + apt-get dist-upgrade -y # for building borgbackup and dependencies: apt-get install -y libssl-dev libacl1-dev liblz4-dev libfuse-dev fuse pkg-config usermod -a -G fuse vagrant @@ -49,6 +51,8 @@ end def packages_darwin return <<-EOF + # install all the (security and other) updates + sudo softwareupdate --install --all # 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 MOUNTDIR=$(echo `hdiutil mount osxfuse.dmg | tail -1 | awk '{$1="" ; print $0}'` | xargs -0 echo) \ @@ -67,6 +71,8 @@ end def packages_freebsd return <<-EOF + # install all the (security and other) updates, base system + freebsd-update --not-running-from-cron fetch install # for building borgbackup and dependencies: pkg install -y openssl liblz4 fusefs-libs pkgconf pkg install -y fakeroot git bash @@ -83,6 +89,9 @@ def packages_freebsd sysctl vfs.usermount=1 pw groupmod operator -M vagrant touch ~vagrant/.bash_profile ; chown vagrant ~vagrant/.bash_profile + # install all the (security and other) updates, packages + pkg update + yes | pkg upgrade EOF end