summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorLei YU <mine260309@gmail.com>2019-03-14 13:58:07 +0800
committerLei YU <mine260309@gmail.com>2019-03-14 14:09:41 +0800
commit7d832d7d30acfe942c7bb924ca14b9edaddca049 (patch)
tree86d7836d183935dcfd4ae25dcdba351c516d64d1 /Makefile.am
parent1db9adf37900c8503b3c9fa3fe39eef9406a30ff (diff)
downloadopenpower-pnor-code-mgmt-7d832d7d30acfe942c7bb924ca14b9edaddca049.tar.gz
openpower-pnor-code-mgmt-7d832d7d30acfe942c7bb924ca14b9edaddca049.zip
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 <mine260309@gmail.com>
Diffstat (limited to 'Makefile.am')
-rwxr-xr-xMakefile.am4
1 files changed, 4 insertions, 0 deletions
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
OpenPOWER on IntegriCloud