aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2024-04-29 14:13:47 -0400
committerTheodore Ts'o <tytso@mit.edu>2024-04-29 14:13:47 -0400
commita4c1bf4d4704495ee9ce074eef61714d646dc6b4 (patch)
tree84b8dd3a0f97c6ebb1e6ccf56bd5e1e7fb443a7a
parent7272a9724468622129978507c70efc68769aaf9f (diff)
downloade2fsprogs-a4c1bf4d4704495ee9ce074eef61714d646dc6b4.tar.gz
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 <tytso@mit.edu>
-rwxr-xr-xdebian/rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index b95e0fa32..6e98d9150 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); \