aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/debian/rules.in
diff options
context:
space:
mode:
authorUmer Saleem <[email protected]>2024-10-04 12:21:28 +0500
committerBrian Behlendorf <[email protected]>2024-10-04 11:18:15 -0700
commit45addf760532a346d36b759801b2fda427f7be4a (patch)
tree407952cc1d36b7ae443a74b89efe0a551fe2f273 /contrib/debian/rules.in
parentcc9e36a42e60145c3c571290d482b03005ae9f79 (diff)
Update path for zed in zfs-zed.service for native debian packages
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Umer Saleem <[email protected]> Closes#15638
Diffstat (limited to 'contrib/debian/rules.in')
-rwxr-xr-xcontrib/debian/rules.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/debian/rules.in b/contrib/debian/rules.in
index 1cca75d7b..3226d6045 100755
--- a/contrib/debian/rules.in
+++ b/contrib/debian/rules.in
@@ -88,6 +88,7 @@ override_dh_auto_install:
@# Zed has dependencies outside of the system root.
mv '$(CURDIR)/debian/tmp/sbin/zed' '$(CURDIR)/debian/tmp/usr/sbin/zed'
+ sed -i 's|ExecStart=/sbin/|ExecStart=/usr/sbin/|g' '$(CURDIR)/debian/tmp/lib/systemd/system/zfs-zed.service'
@# Install the DKMS source.
@# We only want the files needed to build the modules