1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-03-10 06:03:38 +00:00

vagrant: local freebsd 12.1 box -> generic/freebsd13 box

Building in the 12.1 box stopped working, thus replaced it
with the same box as we use in master.
This commit is contained in:
Thomas Waldmann 2023-03-12 22:05:52 +01:00
parent 0a61c7b767
commit fc0c594ff6
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01

8
Vagrantfile vendored
View file

@ -42,9 +42,11 @@ def packages_freebsd
pkg install -y fusefs-libs3 || true pkg install -y fusefs-libs3 || true
pkg install -y git bash # fakeroot causes lots of troubles on freebsd pkg install -y git bash # fakeroot causes lots of troubles on freebsd
# for building python (for the tests we use pyenv built pythons): # for building python (for the tests we use pyenv built pythons):
pkg install -y python38 py38-sqlite3 py38-virtualenv py38-pip pkg install -y python39 py39-sqlite3
# make sure there is a python3 command # make sure there is a python3 command
ln -sf /usr/local/bin/python3.8 /usr/local/bin/python3 ln -sf /usr/local/bin/python3.9 /usr/local/bin/python3
python3 -m ensurepip
pip3 install virtualenv
# make bash default / work: # make bash default / work:
chsh -s bash vagrant chsh -s bash vagrant
mount -t fdescfs fdesc /dev/fd mount -t fdescfs fdesc /dev/fd
@ -342,7 +344,7 @@ Vagrant.configure(2) do |config|
end end
config.vm.define "freebsd64" do |b| config.vm.define "freebsd64" do |b|
b.vm.box = "freebsd121-64" b.vm.box = "generic/freebsd13"
b.vm.provider :virtualbox do |v| b.vm.provider :virtualbox do |v|
v.memory = 1024 + $wmem v.memory = 1024 + $wmem
end end