Skip to content

Commit

Permalink
revive the buster64 box
Browse files Browse the repository at this point in the history
RHEL8 and clones are on this glibc version.
  • Loading branch information
ThomasWaldmann committed Jun 2, 2024
1 parent 10fda2f commit 18a8baf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ def packages_debianoid(user)
apt install -y libfuse-dev fuse || true
apt install -y libfuse3-dev fuse3 || true
apt install -y locales || true
# we need to give the prefix to support debian buster (no libxxhash.pc for pkg-config there):
echo 'export BORG_LIBXXHASH_PREFIX=/usr' >> ~vagrant/.bash_profile
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
usermod -a -G fuse #{user}
chgrp fuse /dev/fuse
Expand Down Expand Up @@ -329,6 +331,22 @@ Vagrant.configure(2) do |config|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("bullseye64", ".*none.*")
end

config.vm.define "buster64" do |b|
b.vm.box = "debian/buster64"
b.vm.provider :virtualbox do |v|
v.memory = 1024 + $wmem
end
b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
b.vm.provision "packages debianoid", :type => :shell, :inline => packages_debianoid("vagrant")
b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("buster64")
b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("buster64")
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("buster64")
b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("llfuse")
b.vm.provision "install pyinstaller", :type => :shell, :privileged => false, :inline => install_pyinstaller()
b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("buster64")
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("buster64", ".*none.*")
end

config.vm.define "freebsd64" do |b|
b.vm.box = "generic/freebsd14"
b.vm.provider :virtualbox do |v|
Expand Down
1 change: 1 addition & 0 deletions scripts/fetch-binaries
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ check_and_copy () {
echo ""
}

check_and_copy buster64 borg-linux-glibc228
check_and_copy bullseye64 borg-linux-glibc231
check_and_copy bookworm64 borg-linux-glibc236

Expand Down

0 comments on commit 18a8baf

Please sign in to comment.