summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-05 04:30:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-05 04:31:37 +0000
commit3a7dedc6e5e0d70edbb9801e7effa042b3dc8604 (patch)
tree257681908ba6d740d4826c5ecc52e1cc7a94b271
parentUpdating to standards-version 4.7.0. (diff)
downloadopen-infrastructure-storage-tools-3a7dedc6e5e0d70edbb9801e7effa042b3dc8604.tar.xz
open-infrastructure-storage-tools-3a7dedc6e5e0d70edbb9801e7effa042b3dc8604.zip
Adding patch to install systemd unit files in /usr, thanks to Helmut Grohne <helmut@subdivi.de> (Closes: #1063458).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/upstream/0002-usr-move.patch14
2 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/series b/debian/patches/series
index cfc95e6..5fa8004 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
upstream/0001-ftbfs-asciidoc.patch
+upstream/0002-usr-move.patch
diff --git a/debian/patches/upstream/0002-usr-move.patch b/debian/patches/upstream/0002-usr-move.patch
new file mode 100644
index 0000000..04065d5
--- /dev/null
+++ b/debian/patches/upstream/0002-usr-move.patch
@@ -0,0 +1,14 @@
+diff -Naurp open-infrastructure-storage-tools.orig/Makefile open-infrastructure-storage-tools/Makefile
+--- open-infrastructure-storage-tools.orig/Makefile
++++ open-infrastructure-storage-tools/Makefile
+@@ -72,8 +72,8 @@ install: build
+ mkdir -p $(DESTDIR)/etc/logrotate.d
+ cp -r share/logrotate/* $(DESTDIR)/etc/logrotate.d
+
+- mkdir -p $(DESTDIR)/lib/systemd/system
+- cp -r share/systemd/* $(DESTDIR)/lib/systemd/system
++ mkdir -p $(DESTDIR)/usr/lib/systemd/system
++ cp -r share/systemd/* $(DESTDIR)/usr/lib/systemd/system
+
+ mkdir -p $(DESTDIR)/usr/share/$(PROJECT)/$(PROGRAM)
+ cp -r share/ceph-info $(DESTDIR)/usr/share/$(PROJECT)