summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/upstream/0003-usr-move.patch14
2 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/series b/debian/patches/series
index e76f4e8..2bee32d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
upstream/0001-host-variable.patch
upstream/0002-versioned-sort.patch
+upstream/0003-usr-move.patch
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)
+