mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 02:25:45 +03:00
Fix building debian packages on non-clean checkouts (#17390)
If we leave the `.so` in place it causes the tests to fail, as it gets picked up (instead of the newly built .so) and so fails with mismatched GLIBC errors.
This commit is contained in:
parent
635e3927d2
commit
9c8f1a6d41
2 changed files with 4 additions and 0 deletions
1
changelog.d/17390.misc
Normal file
1
changelog.d/17390.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Fix building debian packages on non-clean checkouts.
|
|
@ -11,6 +11,9 @@ DIST=$(cut -d ':' -f2 <<< "${distro:?}")
|
||||||
cp -aT /synapse/source /synapse/build
|
cp -aT /synapse/source /synapse/build
|
||||||
cd /synapse/build
|
cd /synapse/build
|
||||||
|
|
||||||
|
# Delete any existing `.so` files to ensure a clean build.
|
||||||
|
rm -f /synapse/build/synapse/*.so
|
||||||
|
|
||||||
# if this is a prerelease, set the Section accordingly.
|
# if this is a prerelease, set the Section accordingly.
|
||||||
#
|
#
|
||||||
# When the package is later added to the package repo, reprepro will use the
|
# When the package is later added to the package repo, reprepro will use the
|
||||||
|
|
Loading…
Reference in a new issue