ci: add dependencies for repart + cryptsetup's pkcs#11 support
Let's make sure we can test systemd-repart properly (And while we are at it, also test cryptsetup-pkcs#11)
This commit is contained in:
parent
917cc8082b
commit
e65f29b4c6
|
@ -5,6 +5,9 @@ extraction:
|
||||||
- python3-pip
|
- python3-pip
|
||||||
- python3-setuptools
|
- python3-setuptools
|
||||||
- python3-wheel
|
- python3-wheel
|
||||||
|
- libfdisk-dev
|
||||||
|
- libp11-kit-dev
|
||||||
|
- libssl-dev
|
||||||
after_prepare:
|
after_prepare:
|
||||||
- pip3 install meson
|
- pip3 install meson
|
||||||
- export PATH="$HOME/.local/bin/:$PATH"
|
- export PATH="$HOME/.local/bin/:$PATH"
|
||||||
|
|
|
@ -5,6 +5,7 @@ setup:
|
||||||
- sudo apt-get update -y
|
- sudo apt-get update -y
|
||||||
- sudo apt-get build-dep -y systemd
|
- sudo apt-get build-dep -y systemd
|
||||||
- sudo apt-get install -y python3-pip
|
- sudo apt-get install -y python3-pip
|
||||||
|
- sudo apt-get install -y libfdisk-dev libp11-kit-dev libssl-dev
|
||||||
# FIXME: temporarily pin the meson version as 0.53 doesn't work with older
|
# FIXME: temporarily pin the meson version as 0.53 doesn't work with older
|
||||||
# python 3.5
|
# python 3.5
|
||||||
# # See: https://github.com/mesonbuild/meson/issues/6427
|
# # See: https://github.com/mesonbuild/meson/issues/6427
|
||||||
|
|
|
@ -35,6 +35,8 @@ while [ -z "\$(ip route list 0/0)" ]; do sleep 1; done
|
||||||
apt-get -q --allow-releaseinfo-change update
|
apt-get -q --allow-releaseinfo-change update
|
||||||
apt-get -y dist-upgrade
|
apt-get -y dist-upgrade
|
||||||
apt-get install -y eatmydata
|
apt-get install -y eatmydata
|
||||||
|
# The following four are needed as long as these deps are not covered by Debian's own packaging
|
||||||
|
apt-get install -y libfdisk-dev libp11-kit-dev libssl-dev
|
||||||
apt-get purge --auto-remove -y unattended-upgrades
|
apt-get purge --auto-remove -y unattended-upgrades
|
||||||
systemctl unmask systemd-networkd
|
systemctl unmask systemd-networkd
|
||||||
systemctl enable systemd-networkd
|
systemctl enable systemd-networkd
|
||||||
|
|
|
@ -18,7 +18,10 @@ REPO_ROOT="${REPO_ROOT:-$PWD}"
|
||||||
ADDITIONAL_DEPS=(python3-libevdev
|
ADDITIONAL_DEPS=(python3-libevdev
|
||||||
python3-pyparsing
|
python3-pyparsing
|
||||||
clang
|
clang
|
||||||
perl)
|
perl
|
||||||
|
libfdisk-dev
|
||||||
|
libp11-kit-dev
|
||||||
|
libssl-dev)
|
||||||
|
|
||||||
function info() {
|
function info() {
|
||||||
echo -e "\033[33;1m$1\033[0m"
|
echo -e "\033[33;1m$1\033[0m"
|
||||||
|
|
|
@ -23,7 +23,10 @@ ADDITIONAL_DEPS=(dnf-plugins-core
|
||||||
libubsan
|
libubsan
|
||||||
clang
|
clang
|
||||||
llvm
|
llvm
|
||||||
perl)
|
perl
|
||||||
|
libfdisk-devel
|
||||||
|
openssl-devel
|
||||||
|
p11-kit-devel)
|
||||||
|
|
||||||
function info() {
|
function info() {
|
||||||
echo -e "\033[33;1m$1\033[0m"
|
echo -e "\033[33;1m$1\033[0m"
|
||||||
|
|
|
@ -10,6 +10,8 @@ sudo bash -c "echo 'deb-src http://archive.ubuntu.com/ubuntu/ xenial main restri
|
||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
sudo apt-get build-dep systemd -y
|
sudo apt-get build-dep systemd -y
|
||||||
sudo apt-get install -y ninja-build python3-pip python3-setuptools quota
|
sudo apt-get install -y ninja-build python3-pip python3-setuptools quota
|
||||||
|
# The following should be dropped when debian packaging has been updated to include them
|
||||||
|
sudo apt-get install -y libfdisk-dev libp11-kit-dev libssl-dev
|
||||||
# FIXME: temporarily pin the meson version as 0.53 doesn't work with older python 3.5
|
# FIXME: temporarily pin the meson version as 0.53 doesn't work with older python 3.5
|
||||||
# See: https://github.com/mesonbuild/meson/issues/6427
|
# See: https://github.com/mesonbuild/meson/issues/6427
|
||||||
pip3 install meson==0.52.1
|
pip3 install meson==0.52.1
|
||||||
|
|
|
@ -14,6 +14,8 @@ sudo bash -c "echo 'deb-src http://archive.ubuntu.com/ubuntu/ xenial main restri
|
||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
sudo apt-get build-dep systemd -y
|
sudo apt-get build-dep systemd -y
|
||||||
sudo apt-get install -y ninja-build python3-pip python3-setuptools
|
sudo apt-get install -y ninja-build python3-pip python3-setuptools
|
||||||
|
# The following should be dropped when debian packaging has been updated to include them
|
||||||
|
sudo apt-get install -y libfdisk-dev libp11-kit-dev libssl-dev
|
||||||
# FIXME: temporarily pin the meson version as 0.53 doesn't work with older python 3.5
|
# FIXME: temporarily pin the meson version as 0.53 doesn't work with older python 3.5
|
||||||
# See: https://github.com/mesonbuild/meson/issues/6427
|
# See: https://github.com/mesonbuild/meson/issues/6427
|
||||||
pip3 install meson==0.52.1
|
pip3 install meson==0.52.1
|
||||||
|
|
Loading…
Reference in a new issue