mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 12:25:07 +00:00
.github: fix tetexec.cfg creation
We need to run the Xts build inside Xvfb, because it needs a running Xserver for creating tetexec.cfg. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
4
.github/scripts/util.sh
vendored
4
.github/scripts/util.sh
vendored
@@ -79,13 +79,15 @@ build_ac_xts() {
|
||||
if [ -f $X11_PREFIX/$pkgname.DONE ]; then
|
||||
echo "package $pkgname already built"
|
||||
else
|
||||
echo "::group::Build XTS"
|
||||
clone_source "$pkgname" "$url" "$ref"
|
||||
(
|
||||
cd $pkgname
|
||||
CFLAGS='-fcommon'
|
||||
./autogen.sh --prefix=$X11_PREFIX CFLAGS="$CFLAGS"
|
||||
make -j${FDO_CI_CONCURRENT:-4} install
|
||||
xvfb-run make -j${FDO_CI_CONCURRENT:-4} install tetexec.cfg
|
||||
)
|
||||
touch $X11_PREFIX/$pkgname.DONE
|
||||
echo "::endgroup::"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user