Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | From b04eeea777df32364df74bd63fc5b7fb05d21c8d Mon Sep 17 00:00:00 2001 |
| 2 | From: Jackie Huang <jackie.huang@windriver.com> |
| 3 | Date: Tue, 27 Mar 2018 10:21:09 +0800 |
| 4 | Subject: [PATCH] init.d/Makefile.am: add missing dependency |
| 5 | |
| 6 | install-data-hook should epend on install-exec-hook, or the |
| 7 | haveged.service might be installed incorrectly when build |
| 8 | with -j option. |
| 9 | |
| 10 | Upstream-Status: Inappropriate [no upstream mailing list] |
| 11 | |
| 12 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> |
| 13 | --- |
| 14 | init.d/Makefile.am | 2 +- |
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 16 | |
| 17 | diff --git a/init.d/Makefile.am b/init.d/Makefile.am |
| 18 | index 5940f78..07bcdf7 100644 |
| 19 | --- a/init.d/Makefile.am |
| 20 | +++ b/init.d/Makefile.am |
| 21 | @@ -33,7 +33,7 @@ if ENABLE_SYSTEMD |
| 22 | install-exec-hook: |
| 23 | $(do_subst) < $(srcdir)/$(src_tmpl) > haveged.service; |
| 24 | |
| 25 | -install-data-hook: |
| 26 | +install-data-hook: install-exec-hook |
| 27 | if ENABLE_SYSTEMD_LOOKUP |
| 28 | install -p -D -m644 haveged.service $(DESTDIR)`pkg-config --variable=systemdsystemunitdir systemd`/haveged.service; |
| 29 | else |
| 30 | -- |
| 31 | 2.11.0 |
| 32 | |