diff options
-rw-r--r-- | debian/patches/series | 1 | ||||
-rw-r--r-- | debian/patches/upstream/0002-usr-move.patch | 14 |
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) |