Package: debhelper Version: 10.2.3 Severity: important Tags: patch Dear Maintainer,
Currently dh_systemd_enable installs mount units in /usr/lib/system which is very likely a typo introduced by Erik's patch that I sent for: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803774 The systemd package installs its own mount units in /lib/systemd/system so the attached patch makes dh-systemd install them there as well. Please consider including this fix for Stretch, as installing units in /usr/lib/system is not very useful and a bit broken. Thank you! Kind regards, Luca Boccassi From 697293cdc62829de1b02b39083779492c55f5fe6 Mon Sep 17 00:00:00 2001 From: Luca Boccassi <[email protected]> Date: Wed, 18 Jan 2017 11:43:00 +0000 Subject: [PATCH] dh-systemd: install mount units in /lib/systemd/system Currently dh_systemd_enable installs mount units in /usr/lib/system which is very likely a typo. The systemd package installs its own mount units in /lib/systemd/system so make dh-systemd install them there as well. --- dh_systemd_enable | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dh_systemd_enable b/dh_systemd_enable index 09093f0..360392e 100755 --- a/dh_systemd_enable +++ b/dh_systemd_enable @@ -176,7 +176,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { my $mount=pkgfile($package,"mount"); if ($mount ne '') { - my $path="$tmpdir/usr/lib/system"; + my $path="$tmpdir/lib/systemd/system"; install_dir($path); install_file($mount, "$path/$script.mount"); } -- 2.1.4
signature.asc
Description: This is a digitally signed message part

