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>
This commit is contained in:
Philip Withnall 2021-02-24 13:16:57 +00:00
parent 05ff2f877c
commit 62cc3158e9

View File

@ -74,6 +74,7 @@ fedora-x86_64:
--werror --werror
--default-library=both --default-library=both
--prefix=$HOME/glib-installed --prefix=$HOME/glib-installed
--localstatedir=/var
--libdir=lib --libdir=lib
-Dsystemtap=true -Dsystemtap=true
-Ddtrace=true -Ddtrace=true
@ -117,6 +118,7 @@ debian-stable-x86_64:
--werror --werror
--default-library=both --default-library=both
--prefix=$HOME/glib-installed --prefix=$HOME/glib-installed
--localstatedir=/var
--libdir=lib --libdir=lib
-Dsystemtap=true -Dsystemtap=true
-Ddtrace=true -Ddtrace=true
@ -461,6 +463,7 @@ scan-build:
--werror --werror
--default-library=both --default-library=both
--prefix=$HOME/glib-installed --prefix=$HOME/glib-installed
--localstatedir=/var
--libdir=lib --libdir=lib
-Dsystemtap=true -Dsystemtap=true
-Ddtrace=true -Ddtrace=true
@ -487,6 +490,7 @@ coverity:
--werror --werror
--default-library=both --default-library=both
--prefix=$HOME/glib-installed --prefix=$HOME/glib-installed
--localstatedir=/var
--libdir=lib --libdir=lib
-Dsystemtap=true -Dsystemtap=true
-Ddtrace=true -Ddtrace=true