From 2d94d04c66a779d15ceda9c093812e94421dc89b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Otto=20Kek=C3=A4l=C3=A4inen?= Date: Fri, 6 Jul 2018 16:04:49 +0300 Subject: [PATCH] Delete unnecessary systemd files introduced by upstream --- debian/rules | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/rules b/debian/rules index 35f36e21..55ac8924 100755 --- a/debian/rules +++ b/debian/rules @@ -144,6 +144,12 @@ endif rm -f $(TMP)/usr/lib/*/mariadb18/plugin/qa_auth_interface.so rm -f $(TMP)/usr/lib/*/mariadb18/plugin/qa_auth_server.so + # Delete useless systemd files introduced in upstream commit + # https://github.com/MariaDB/server/commit/7bbc6c14d1e8fcf1f4737e0a5fcf6237fe18bd23 + # They have no function in Debian systems and their path and usage is unstandardized. + rm -rf $(TMP)/usr/lib/sysusers.d/sysusers.conf + rm -rf $(TMP)/usr/lib/tmpfiles.d/tmpfiles.conf + # nm numeric soft is not enough, therefore extra sort in command # to satisfy Debian reproducible build requirements nm --defined-only $(BUILDDIR)/sql/mysqld | LC_ALL=C sort | gzip -n -9 > $(TMP)/usr/share/doc/mariadb-server-10.1/mysqld.sym.gz -- GitLab