]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
travis: make the ASan+UBSan stage compatible with Azure Pipelines
authorEvgeny Vereshchagin <evvers@ya.ru>
Sun, 12 May 2019 01:45:29 +0000 (03:45 +0200)
committerEvgeny Vereshchagin <evvers@ya.ru>
Sun, 12 May 2019 01:45:29 +0000 (03:45 +0200)
travis-ci/managers/xenial.sh

index 4822bdd4b73b84c7ff12b44c37c3f4e490a332fa..e1c5d77cbf57746ca927d243343cf64e6ba8850b 100755 (executable)
@@ -2,13 +2,14 @@
 set -e
 set -x
 
+bash -c "echo 'deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse' >>/etc/apt/sources.list"
 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
+cd ${REPO_ROOT:-$(pwd)}
 
 sed -i 's/2\.30/2.27/' meson.build