From 7d832d7d30acfe942c7bb924ca14b9edaddca049 Mon Sep 17 00:00:00 2001 From: Lei YU Date: Thu, 14 Mar 2019 13:58:07 +0800 Subject: Install services to systemd unit dir Add configure and makefile rule to install system service units to systemd unit dir. Tested: Verify the service is install to /lib/systemd/system in openbmc environment. Change-Id: I620fe1f01ad315e4918d30fecdf165fd91fefe7b Signed-off-by: Lei YU --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 63601deb6..b350948a3 100755 --- a/Makefile.am +++ b/Makefile.am @@ -16,6 +16,10 @@ if UBIFS_LAYOUT include ubi/Makefile.am.include else include static/Makefile.am.include +if HAVE_SYSTEMD + systemdsystemunit_DATA = \ + openpower-pnor-update@.service +endif endif if WANT_SIGNATURE_VERIFY_BUILD -- cgit v1.2.1