summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-04-15 08:13:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-04-15 08:18:14 +0000
commit7ce66a45726842faed6d4354912b145c24d18a2f (patch)
tree41c748320822dab6869653f59d1d56e82d2dc92b
parentReleasing debian version 2.4+really2.3-2. (diff)
downloadnvme-cli-7ce66a45726842faed6d4354912b145c24d18a2f.tar.xz
nvme-cli-7ce66a45726842faed6d4354912b145c24d18a2f.zip
Overwriting systemd unit directory until debhelper supports /usr/lib/systemd/system (Closes: #1034232).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/debian/0003-meson-systemd.patch15
-rw-r--r--debian/patches/series1
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/debian/0003-meson-systemd.patch b/debian/patches/debian/0003-meson-systemd.patch
new file mode 100644
index 0000000..2fb75d7
--- /dev/null
+++ b/debian/patches/debian/0003-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
+@@ -25,7 +25,7 @@ sysconfdir = join_paths(prefixdir, get_o
+
+ 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'
+
+ ###############################################################################
+ conf = configuration_data()
diff --git a/debian/patches/series b/debian/patches/series
index 4878cbb..31c70ee 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
debian/0001-systemd.patch
debian/0002-meson-nose2.patch
+debian/0003-meson-systemd.patch