diff mbox series

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

Message ID 170405001860.1800712.12681766556317697413.stgit@frogsfrogsfrogs (mailing list archive)
State New
Headers show
Series [1/9] debian: install scrub services with dh_installsystemd | expand

Commit Message

Darrick J. Wong Dec. 31, 2023, 10:52 p.m. UTC
From: Darrick J. Wong <djwong@kernel.org>

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 mbox series

Patch

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