Automate generation of the sample and debian log configs (#6627)

This commit is contained in:
Richard van der Hoff
2020-01-03 17:14:00 +00:00
committed by GitHub
parent e484101306
commit 08815566bc
9 changed files with 73 additions and 40 deletions

View File

@@ -85,6 +85,9 @@ PYTHONPATH="$tmpdir" \
' > "${PACKAGE_BUILD_DIR}/etc/matrix-synapse/homeserver.yaml"
# build the log config file
"${TARGET_PYTHON}" -B "${VIRTUALENV_DIR}/bin/generate_log_config" \
--output-file="${PACKAGE_BUILD_DIR}/etc/matrix-synapse/log.yaml"
# add a dependency on the right version of python to substvars.
PYPKG=`basename $SNAKE`