mirror of
https://github.com/systemd/systemd.git
synced 2024-11-04 22:21:55 +03:00
1766204279
This should help to catch issues like https://github.com/systemd/systemd/issues/11253 and https://github.com/systemd/systemd/issues/11251.
20 lines
823 B
Bash
Executable File
20 lines
823 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
add-apt-repository ppa:pitti/systemd-semaphore -y
|
|
apt-get update
|
|
apt-get build-dep systemd -y
|
|
apt-get install -y util-linux libmount-dev libblkid-dev liblzma-dev libqrencode-dev libmicrohttpd-dev iptables-dev liblz4-dev libcurl4-gnutls-dev unifont itstool kbd cryptsetup-bin net-tools isc-dhcp-client iputils-ping strace qemu-system-x86 linux-image-virtual mount libgpg-error-dev libxkbcommon-dev python-lxml python3-lxml python3-pip libcap-dev
|
|
apt-get install -y gettext python3-evdev python3-pyparsing libmount-dev python3-setuptools ninja-build
|
|
pip3 install meson
|
|
|
|
cd $REPO_ROOT
|
|
|
|
sed -i 's/2\.30/2.27/' meson.build
|
|
|
|
meson --werror -Db_sanitize=address,undefined -Dsplit-usr=true build
|
|
ninja -v -C build
|
|
make -C test/TEST-01-BASIC clean setup run TEST_NO_QEMU=yes NSPAWN_ARGUMENTS=--keep-unit
|