Skip to content

Commit

Permalink
Merge pull request #8520 from ThomasWaldmann/vagrant-improvements
Browse files Browse the repository at this point in the history
vagrant improvements
  • Loading branch information
ThomasWaldmann authored Nov 3, 2024
2 parents 4a88e16 + 32a8c9a commit d1d438b
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,13 @@ def packages_freebsd
pkg install -y fusefs-libs3 || true
pkg install -y rust
pkg install -y git bash # fakeroot causes lots of troubles on freebsd
# for building python (for the tests we use pyenv built pythons):
pkg install -y python39 py39-sqlite3
pkg install -y python310 py310-sqlite3
# make sure there is a python3 command
ln -sf /usr/local/bin/python3.10 /usr/local/bin/python3
python3 -m ensurepip
pip3 install virtualenv
pkg install -y python311 py311-sqlite3 py311-pip py311-virtualenv
# make sure there is a python3/pip3/virtualenv command
ln -sf /usr/local/bin/python3.11 /usr/local/bin/python3
ln -sf /usr/local/bin/pip-3.11 /usr/local/bin/pip3
ln -sf /usr/local/bin/virtualenv-3.11 /usr/local/bin/virtualenv
# make bash default / work:
chsh -s bash vagrant
mount -t fdescfs fdesc /dev/fd
Expand Down Expand Up @@ -180,11 +181,7 @@ def packages_openindiana
return <<-EOF
# needs separate provisioning step + reboot:
#pkg update
pkg install gcc-13 git pkg-config libxxhash
ln -sf /usr/bin/python3.9 /usr/bin/python3
python3 -m ensurepip
ln -sf /usr/bin/pip3.9 /usr/bin/pip3
pip3 install virtualenv
pkg install gcc-13 git pkg-config libxxhash pip virtualenv
# let borg's pkg-config find openssl:
pfexec pkg set-mediator -V 3.1 openssl
EOF
Expand Down

0 comments on commit d1d438b

Please sign in to comment.