From 349c3edc5eb0988f841f483d5b08d509ff85191c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 29 Jul 2021 06:32:32 +0200 Subject: Removing obsolete settings for newer systemd versions. Signed-off-by: Daniel Baumann --- debian/patches/debian/0001-systemd.patch | 14 ++++++++++++++ debian/patches/series | 1 + 2 files changed, 15 insertions(+) create mode 100644 debian/patches/debian/0001-systemd.patch create mode 100644 debian/patches/series diff --git a/debian/patches/debian/0001-systemd.patch b/debian/patches/debian/0001-systemd.patch new file mode 100644 index 0000000..c369508 --- /dev/null +++ b/debian/patches/debian/0001-systemd.patch @@ -0,0 +1,14 @@ +Author: Daniel Baumann +Description: Removing obsolete settings for newer systemd versions. + +diff -Naurp nvme-cli.orig/nvmf-autoconnect/systemd/nvmf-connect@.service nvme-cli/nvmf-autoconnect/systemd/nvmf-connect@.service +--- nvme-cli.orig/nvmf-autoconnect/systemd/nvmf-connect@.service ++++ nvme-cli/nvmf-autoconnect/systemd/nvmf-connect@.service +@@ -4,7 +4,6 @@ + + [Unit] + Description=NVMf auto-connect scan upon nvme discovery controller Events +-After=syslog.target + PartOf=nvmf-connect.target + Requires=nvmf-connect.target + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..20f0183 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +debian/0001-systemd.patch -- cgit v1.2.3