Skip to content
Snippets Groups Projects
Verified Commit b521e17e authored by Sebastian's avatar Sebastian Committed by Mikolai Gütschow
Browse files

Create vagrant setup for testing installability

parent 39cd6ec6
No related branches found
No related tags found
1 merge request!280Vagrant setup for testing deb installability and configure deb for Ubuntu Jammy
......@@ -179,27 +179,33 @@ pinpit.desktop {
qualifier = "ubuntu-20.04"
arch = "x64"
depends(
"libc6", "libexpat1", "libgcc-s1", "libpcre3", "libuuid1", "xdg-utils",
"zlib1g", "libnotify4"
// determined by pinpitSuggestDebDependencies
"libc6", "libexpat1", "libuuid1", "zlib1g",
// manually added
"xdg-utils", "libnotify4"
)
}
deb("UbuntuBionicX64") {
qualifier = "ubuntu-18.04"
arch = "x64"
depends(
"libasound2", "libc6", "libexpat1", "libfontconfig1", "libfreetype6", "libgcc1",
"libglib2.0-0", "libgraphite2-3", "libharfbuzz0b", "libjpeg-turbo8", "liblcms2-2",
"libpcre3", "libpng16-16", "libstdc++6", "xdg-utils", "zlib1g", "libnotify4"
// determined by pinpitSuggestDebDependencies
"libasound2", "libbsd0", "libc6", "libexpat1", "libfontconfig1",
"libfreetype6", "libgl1", "libglvnd0", "libglx0", "libpng16-16",
"libx11-6", "libxau6", "libxcb1", "libxdmcp6", "libxext6",
"libxi6", "libxrender1", "libxtst6", "zlib1g",
// manually added
"xdg-utils", "libnotify4"
)
}
deb("DebianBullseyeX64") {
qualifier = "debian-bullseye"
arch = "x64"
depends(
"libasound2", "libbrotli1", "libc6", "libexpat1", "libfontconfig1", "libfreetype6",
"libgcc-s1", "libglib2.0-0", "libgraphite2-3", "libharfbuzz0b", "libjpeg62-turbo",
"liblcms2-2", "libpcre3", "libpng16-16", "libstdc++6", "libuuid1", "xdg-utils", "zlib1g",
"libnotify4"
// determined by pinpitSuggestDebDependencies
"libc6", "libexpat1", "zlib1g",
// manually added
"xdg-utils", "libnotify4"
)
}
}
......
.vagrant
# Vagrant
To get started type any of the commands below from within this directory.
Start:
vagrant up
Destroy and start over:
vagrant destroy && vagrant up
After starting, do this to log in:
vagrant ssh
For cloning git and running `./gradlew pinpitSuggestDebDependencies`:
sudo apt install git openjdk-17-jdk binutils ca-certificates
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "debian/bullseye64"
config.vm.provider "virtualbox" do |v|
v.memory = 4096
end
config.vm.provision :shell, path: "bootstrap.sh"
config.ssh.forward_agent = true
config.ssh.forward_x11 = true
end
#!/bin/bash
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y xauth xdg-utils libnotify4 libasound2
wget -O briar.deb "https://code.briarproject.org/briar/briar-desktop/-/jobs/artifacts/main/raw/briar-desktop-debian-bullseye.deb?job=b_package_linux"
sudo dpkg -i briar.deb
# Vagrant
To get started type any of the commands below from within this directory.
Start:
vagrant up
Destroy and start over:
vagrant destroy && vagrant up
After starting, do this to log in:
vagrant ssh
For cloning git and running `./gradlew pinpitSuggestDebDependencies`:
sudo apt install openjdk-17-jdk binutils ca-certificates
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/bionic64"
config.vm.provider "virtualbox" do |v|
v.memory = 4096
end
config.vm.provision :shell, path: "bootstrap.sh"
config.ssh.forward_agent = true
config.ssh.forward_x11 = true
end
#!/bin/bash
# Install gedit as a random package that ensures `/usr/share/metainfo` is available
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y xauth xdg-utils libnotify4 libasound2 gedit
wget -O briar.deb "https://code.briarproject.org/briar/briar-desktop/-/jobs/artifacts/main/raw/briar-desktop-ubuntu-18.04.deb?job=b_package_linux"
sudo dpkg -i briar.deb
# Vagrant
To get started type any of the commands below from within this directory.
Start:
vagrant up
Destroy and start over:
vagrant destroy && vagrant up
After starting, do this to log in:
vagrant ssh
For cloning git and running `./gradlew pinpitSuggestDebDependencies`:
sudo apt install openjdk-17-jdk binutils ca-certificates
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/focal64"
config.vm.provider "virtualbox" do |v|
v.memory = 4096
end
config.vm.provision :shell, path: "bootstrap.sh"
config.ssh.forward_agent = true
config.ssh.forward_x11 = true
end
#!/bin/bash
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y xauth xdg-utils libnotify4 libasound2
wget -O briar.deb "https://code.briarproject.org/briar/briar-desktop/-/jobs/artifacts/main/raw/briar-desktop-ubuntu-20.04.deb?job=b_package_linux"
sudo dpkg -i briar.deb
# Vagrant
To get started type any of the commands below from within this directory.
Start:
vagrant up
Destroy and start over:
vagrant destroy && vagrant up
After starting, do this to log in:
vagrant ssh
For cloning git and running `./gradlew pinpitSuggestDebDependencies`:
sudo apt install openjdk-17-jdk
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/jammy64"
config.vm.provider "virtualbox" do |v|
v.memory = 4096
end
config.vm.provision :shell, path: "bootstrap.sh"
config.ssh.forward_agent = true
config.ssh.forward_x11 = true
end
#!/bin/bash
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y xauth xdg-utils libnotify4 libasound2
wget -O briar.deb "https://code.briarproject.org/briar/briar-desktop/-/jobs/artifacts/main/raw/briar-desktop-ubuntu-20.04.deb?job=b_package_linux"
sudo dpkg -i briar.deb
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment