summaryrefslogtreecommitdiffstats
path: root/debian/patches/upstream/0003-usr-move.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/upstream/0003-usr-move.patch')
-rw-r--r--debian/patches/upstream/0003-usr-move.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/upstream/0003-usr-move.patch b/debian/patches/upstream/0003-usr-move.patch
new file mode 100644
index 0000000..6278efe
--- /dev/null
+++ b/debian/patches/upstream/0003-usr-move.patch
@@ -0,0 +1,14 @@
+diff -Naurp open-infrastructure-compute-tools.orig/Makefile open-infrastructure-compute-tools/Makefile
+--- open-infrastructure-compute-tools.orig/Makefile
++++ open-infrastructure-compute-tools/Makefile
+@@ -142,8 +142,8 @@ install: build
+ ln -sf stop $(DESTDIR)/usr/libexec/$(PROGRAM)/t
+ ln -sf update $(DESTDIR)/usr/libexec/$(PROGRAM)/u
+
+- 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)/var/log/$(SOFTWARE)
+