[glib: 4/7] ci: Set localstatedir to the system directory on CI machines
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 4/7] ci: Set localstatedir to the system directory on CI machines
- Date: Tue, 9 Mar 2021 12:49:52 +0000 (UTC)
commit 62cc3158e907fc051c37d808e407d1a5dc6611d3
Author: Philip Withnall <pwithnall endlessos org>
Date: Wed Feb 24 13:16:57 2021 +0000
ci: Set localstatedir to the system directory on CI machines
So the tests can access `/var/lib/dbus/machine-id`. This is not a
behaviour change relative to older behaviour on CI.
In future, it might make more sense to revert this commit and change the
CI scripts so they symlink
`/home/user/glib-installed/var/lib/dbus/machine-id` to the system
machine ID; or ensure that `/etc/machine-id` exists on all the CI
machines. That’s too complicated to do right now though.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
.gitlab-ci.yml | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e79a66767..cc61edf1e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -74,6 +74,7 @@ fedora-x86_64:
--werror
--default-library=both
--prefix=$HOME/glib-installed
+ --localstatedir=/var
--libdir=lib
-Dsystemtap=true
-Ddtrace=true
@@ -117,6 +118,7 @@ debian-stable-x86_64:
--werror
--default-library=both
--prefix=$HOME/glib-installed
+ --localstatedir=/var
--libdir=lib
-Dsystemtap=true
-Ddtrace=true
@@ -461,6 +463,7 @@ scan-build:
--werror
--default-library=both
--prefix=$HOME/glib-installed
+ --localstatedir=/var
--libdir=lib
-Dsystemtap=true
-Ddtrace=true
@@ -487,6 +490,7 @@ coverity:
--werror
--default-library=both
--prefix=$HOME/glib-installed
+ --localstatedir=/var
--libdir=lib
-Dsystemtap=true
-Ddtrace=true
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]