From: Theodore Ts'o Date: Mon, 29 Apr 2024 18:13:47 +0000 (-0400) Subject: debian: don't try to install e2scrub on Hurd X-Git-Tag: v1.47.1-rc2~14 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=a4c1bf4d4704495ee9ce074eef61714d646dc6b4;p=tools%2Fe2fsprogs.git debian: don't try to install e2scrub on Hurd The e2scrub scripts rely on systemd, which isn't present on non-Linux systems, so they aren't built. So we need to skip trying to run dh_installsystemd since it will fail on the Hurd build since the requisite files aren't being built. Signed-off-by: Theodore Ts'o --- diff --git a/debian/rules b/debian/rules index b95e0fa..6e98d91 100755 --- a/debian/rules +++ b/debian/rules @@ -153,9 +153,10 @@ override_dh_installinfo: dh_installinfo -pcomerr-dev ${stdbuilddir}/lib/et/com_err.info dh_installinfo -plibext2fs-dev ${stdbuilddir}/doc/libext2fs.info +ifneq ($(DEB_HOST_ARCH_OS), hurd) override_dh_installsystemd: dh_installsystemd -p e2fsprogs --no-restart-after-upgrade --no-stop-on-upgrade e2scrub_all.timer e2scrub_reap.service - dh_installsystemd --name=service1 +endif override_dh_makeshlibs: for i in $(SYMBOL_LIBS); \