]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: add dependencies for repart + cryptsetup's pkcs#11 support
authorLennart Poettering <lennart@poettering.net>
Tue, 17 Dec 2019 18:19:02 +0000 (19:19 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 20 Jan 2020 16:42:03 +0000 (17:42 +0100)
Let's make sure we can test systemd-repart properly

(And while we are at it, also test cryptsetup-pkcs#11)

.lgtm.yml
fuzzbuzz.yaml
semaphoreci/semaphore-runner.sh
travis-ci/managers/debian.sh
travis-ci/managers/fedora.sh
travis-ci/managers/fuzzbuzz.sh
travis-ci/managers/fuzzit.sh

index 5948d8c2bc0d7fc7f941cd62c843f4bd6b7ed887..51ec50e3b1e56451d353adfaff6f42aa3f29cc2f 100644 (file)
--- a/.lgtm.yml
+++ b/.lgtm.yml
@@ -5,6 +5,9 @@ extraction:
         - python3-pip
         - python3-setuptools
         - python3-wheel
+        - libfdisk-dev
+        - libp11-kit-dev
+        - libssl-dev
     after_prepare:
       - pip3 install meson
       - export PATH="$HOME/.local/bin/:$PATH"
index 18c70e3555323a9795f8d3f4589f551228a14cbd..6dfdd8123722060c8bba3045e9a36cdac8c29638 100644 (file)
@@ -5,6 +5,7 @@ setup:
 - sudo apt-get update -y
 - sudo apt-get build-dep -y systemd
 - 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
 # python 3.5
 # # See: https://github.com/mesonbuild/meson/issues/6427
index 504ada59ee0daee3a87e35e66f5840c4c3dfcb05..a5d8bc26a1af1db677bdf0a8b5085e5dd239300d 100755 (executable)
@@ -35,6 +35,8 @@ while [ -z "\$(ip route list 0/0)" ]; do sleep 1; done
 apt-get -q --allow-releaseinfo-change update
 apt-get -y dist-upgrade
 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
 systemctl unmask systemd-networkd
 systemctl enable systemd-networkd
index 6a6923fbc86a138d7623220f19c8c1724d17dfe2..dedddab3b5a709490bd3333aa9f9f8cf0f7be5ac 100755 (executable)
@@ -18,7 +18,10 @@ REPO_ROOT="${REPO_ROOT:-$PWD}"
 ADDITIONAL_DEPS=(python3-libevdev
                  python3-pyparsing
                  clang
-                 perl)
+                 perl
+                 libfdisk-dev
+                 libp11-kit-dev
+                 libssl-dev)
 
 function info() {
     echo -e "\033[33;1m$1\033[0m"
index e07b4938dfd47a5eabcda2d3cf46f7f522b34d4d..dbd484c25cf1c44694ee89862fc5471b306499da 100755 (executable)
@@ -23,7 +23,10 @@ ADDITIONAL_DEPS=(dnf-plugins-core
                  libubsan
                  clang
                  llvm
-                 perl)
+                 perl
+                 libfdisk-devel
+                 openssl-devel
+                 p11-kit-devel)
 
 function info() {
     echo -e "\033[33;1m$1\033[0m"
index 1541b466526681ec65eb99f243c71613db606631..21b736cb6041cf26793ed52782830aa95050d566 100755 (executable)
@@ -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 build-dep systemd -y
 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
 # See: https://github.com/mesonbuild/meson/issues/6427
 pip3 install meson==0.52.1
index 376761e20ccfa7a7da1fe90bfaf0d69ca4be00ed..044d126e150c525a459d3107d18a56685c51e7a5 100755 (executable)
@@ -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 build-dep systemd -y
 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
 # See: https://github.com/mesonbuild/meson/issues/6427
 pip3 install meson==0.52.1