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: archive/debian/1.47.1_rc1-3~2^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4c1bf4d4704495ee9ce074eef61714d646dc6b4;p=thirdparty%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 b95e0fa3..6e98d915 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); \