]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commitdiff
debian: don't explicitly reload systemd from postinst
authorDarrick J. Wong <djwong@kernel.org>
Tue, 20 Jan 2026 17:51:51 +0000 (09:51 -0800)
committerAndrey Albershteyn <aalbersh@kernel.org>
Tue, 27 Jan 2026 16:59:35 +0000 (17:59 +0100)
Now that we use dh_installsystemd, it's no longer necessary to run
systemctl daemon-reload explicitly from postinst because
dh_installsystemd will inject that into the DEBHELPER section on its
own.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
debian/postinst

index 2ad9174658ceb4b3d8869610978da88bc77d7cba..d11c8d94a3cbe451a0c2978f6e51188a31baaded 100644 (file)
@@ -8,9 +8,6 @@ case "${1}" in
                then
                        update-initramfs -u
                fi
-               if [ -x /bin/systemctl ]; then
-                       /bin/systemctl daemon-reload 2>&1 || true
-               fi
                ;;
 
        abort-upgrade|abort-remove|abort-deconfigure)