diff options
author | Lei YU <mine260309@gmail.com> | 2019-03-14 13:58:07 +0800 |
---|---|---|
committer | Lei YU <mine260309@gmail.com> | 2019-03-14 14:09:41 +0800 |
commit | 7d832d7d30acfe942c7bb924ca14b9edaddca049 (patch) | |
tree | 86d7836d183935dcfd4ae25dcdba351c516d64d1 /Makefile.am | |
parent | 1db9adf37900c8503b3c9fa3fe39eef9406a30ff (diff) | |
download | openpower-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-x | Makefile.am | 4 |
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 |