[PATCH 1/9] debian: install scrub services with dh_installsystemd

Darrick J. Wong
2023-12-31T22:52:36Z

Use dh_installsystemd to handle the installation and activation of the
scrub systemd services. This requires bumping the compat version to 11.
Note that the services are /not/ activated on installation.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
---
debian/rules | 1 +
1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 95df4835b25..57baad625c5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -108,6 +108,7 @@ binary-arch: checkroot built
dh_compress
dh_fixperms
dh_makeshlibs
+ dh_installsystemd -p xfsprogs --no-enable --no-start --no-restart-after-upgrade --no-stop-on-upgrade
dh_installdeb
dh_shlibdeps
dh_gencontrol