From 3a7dedc6e5e0d70edbb9801e7effa042b3dc8604 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 5 Jun 2024 06:30:13 +0200 Subject: Adding patch to install systemd unit files in /usr, thanks to Helmut Grohne (Closes: #1063458). Signed-off-by: Daniel Baumann --- debian/patches/series | 1 + debian/patches/upstream/0002-usr-move.patch | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 debian/patches/upstream/0002-usr-move.patch 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) -- cgit v1.2.3