summary refs log tree commit diff
path: root/debian/build_virtualenv
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-03-20 16:58:07 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-03-20 16:58:07 +0000
commit1b410419c273482ff93c83783089fe1bc30991a8 (patch)
treef97447d38162487948109a280f1a6cfcbd179d3b /debian/build_virtualenv
parentRaise an error if someone tries to use the log_file config option (#6626) (diff)
parentAutomate generation of the sample and debian log configs (#6627) (diff)
downloadsynapse-1b410419c273482ff93c83783089fe1bc30991a8.tar.xz
Automate generation of the sample and debian log configs (#6627)
* commit '08815566b':
  Automate generation of the sample and debian log configs (#6627)
Diffstat (limited to 'debian/build_virtualenv')
-rwxr-xr-xdebian/build_virtualenv3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/build_virtualenv b/debian/build_virtualenv

index 2791896052..d892fd5c9d 100755 --- a/debian/build_virtualenv +++ b/debian/build_virtualenv
@@ -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`