diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-05 04:26:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-05 04:26:04 +0000 |
commit | e1ff67ae933fa12bffe8c0be8efed7627da8156e (patch) | |
tree | 7470efb97b25f251a8e457259f816dce2206da12 | |
parent | Updating to standards-version 4.7.0. (diff) | |
download | open-infrastructure-compute-tools-e1ff67ae933fa12bffe8c0be8efed7627da8156e.tar.xz open-infrastructure-compute-tools-e1ff67ae933fa12bffe8c0be8efed7627da8156e.zip |
Adding patch to install systemd unit files in /usr, thanks to Helmut Grohne <helmut@subdivi.de> (Closes: #1063455).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/patches/series | 1 | ||||
-rw-r--r-- | debian/patches/upstream/0003-usr-move.patch | 14 |
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) + |