summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0002-meson-systemd.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/debian/0002-meson-systemd.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/debian/0002-meson-systemd.patch b/debian/patches/debian/0002-meson-systemd.patch
new file mode 100644
index 0000000..732544b
--- /dev/null
+++ b/debian/patches/debian/0002-meson-systemd.patch
@@ -0,0 +1,15 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Overwriting systemd unit directory until debhelper supports /usr/lib/systemd/system (Closes: #1034232).
+
+diff -Naurp nvme-cli.orig/meson.build nvme-cli/meson.build
+--- nvme-cli.orig/meson.build
++++ nvme-cli/meson.build
+@@ -26,7 +26,7 @@ sysconfdir = join_paths(prefixdir, get_option('sysconfdir'))
+
+ udevrulesdir = join_paths(prefixdir, get_option('udevrulesdir'))
+ dracutrulesdir = join_paths(prefixdir, get_option('dracutrulesdir'))
+-systemddir = join_paths(prefixdir, get_option('systemddir'))
++systemddir = '/lib/systemd/system'
+ rundir = join_paths(prefixdir, get_option('rundir'))
+
+ ###############################################################################