]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
debian: install scrub services with dh_installsystemd
authorDarrick J. Wong <djwong@kernel.org>
Fri, 12 Jan 2024 02:07:05 +0000 (18:07 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 12 Jan 2024 02:08:46 +0000 (18:08 -0800)
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

index 95df4835b2536fb6159b5a8e83fb67a23ddbe56e..57baad625c55fb1aaa777e1ddcd9662fb51f7ebf 100755 (executable)
@@ -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