blob: a65c0218ceaf2ec5c8a61f90eb6f641c6bd09fc8 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From 80b087193698632e525b90d45b4a49e61e343e1c Mon Sep 17 00:00:00 2001
2From: Krzysztof Kozlowski <krzk@kernel.org>
3Date: Thu, 13 Jul 2017 21:30:35 +0200
4Subject: [PATCH] etc: Makefile.am: Use systemd_unitdir instead of libdir
5
6Proper directory for installing systemd services is systemd_unitdir, not
7libdir.
8
9Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
10---
Patrick Williams520786c2023-06-25 16:20:36 -050011Upstream-Status: Pending
12
Brad Bishopd7bf8c12018-02-25 22:55:05 -050013 etc/Makefile.am | 6 +++---
14 1 file changed, 3 insertions(+), 3 deletions(-)
15
16diff --git a/etc/Makefile.am b/etc/Makefile.am
17index 9b6e7522c20f..6d663241a72f 100644
18--- a/etc/Makefile.am
19+++ b/etc/Makefile.am
20@@ -16,8 +16,8 @@ if ADD_SYSTEMD
21 test -f $(DESTDIR)/$(sysconfdir)/conf.d/devmon || $(INSTALL_DATA) \
22 $(srcdir)/systemd/devmon \
23 $(DESTDIR)/$(sysconfdir)/conf.d/devmon
24- test -d $(DESTDIR)/$(libdir)/systemd/system || \
25- mkdir -p -- $(DESTDIR)/$(libdir)/systemd/system
26+ test -d $(DESTDIR)/$(systemd_unitdir)/system || \
27+ mkdir -p -- $(DESTDIR)/$(systemd_unitdir)/system
28 $(INSTALL_DATA) $(srcdir)/systemd/devmon@.service \
29- $(DESTDIR)/$(libdir)/systemd/system/devmon@.service
30+ $(DESTDIR)/$(systemd_unitdir)/system/devmon@.service
31 endif
32--
332.11.0
34