From 7090d856ef425999fb5ab4dc2fa7f40e0a1ee031 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 15 Apr 2023 10:13:44 +0200 Subject: Overwriting systemd unit directory until debhelper supports /usr/lib/systemd/system (Closes: #1034232). Signed-off-by: Daniel Baumann --- debian/patches/debian/0002-meson-systemd.patch | 15 +++++++++++++++ debian/patches/series | 1 + 2 files changed, 16 insertions(+) create mode 100644 debian/patches/debian/0002-meson-systemd.patch (limited to 'debian/patches') diff --git a/debian/patches/debian/0002-meson-systemd.patch b/debian/patches/debian/0002-meson-systemd.patch new file mode 100644 index 0000000..2fb75d7 --- /dev/null +++ b/debian/patches/debian/0002-meson-systemd.patch @@ -0,0 +1,15 @@ +Author: Daniel Baumann +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 2ecdfd2..4758381 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ debian/0001-meson-nose2.patch +debian/0002-meson-systemd.patch -- cgit v1.2.3