Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 3ae6f20

Browse files
committed
Improve FreeBSD's Vagrant box
- x86_64-freebsd10 -> x86_64-freebsd-10 - Increase memory to 2048 - Upgrade installed packages - Use the `git-lite` package
1 parent 1e361b3 commit 3ae6f20

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ task :binary => :compile do
5151
end
5252

5353
namespace :build do
54-
['x86_64-linux', 'x86-linux', 'armhf-linux', 'x86_64-freebsd10'].each do |arch|
54+
['x86_64-linux', 'x86-linux', 'armhf-linux', 'x86_64-freebsd-10'].each do |arch|
5555
desc "build binary gem for #{arch}"
5656
task arch do
5757
arch_dir = Pathname(__FILE__).dirname.join("release/#{arch}")
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ Vagrant.configure(2) do |config|
6060
config.ssh.shell = "sh"
6161
config.vm.base_mac = "080027D14C66"
6262
config.vm.provider :virtualbox do |vb|
63+
vb.memory = "2048"
6364
vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
6465
vb.customize ["modifyvm", :id, "--audio", "none"]
6566
vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
@@ -81,6 +82,7 @@ Vagrant.configure(2) do |config|
8182
# sudo apt-get install -y apache2
8283
# SHELL
8384
config.vm.provision "shell", inline: <<-SHELL
84-
pkg install -y bash gmake ruby rubygem-bundler git-subversion python2
85+
pkg upgrade -y
86+
pkg install -y bash gmake ruby rubygem-bundler git-lite python2
8587
SHELL
8688
end

0 commit comments

Comments
 (0)