diff options
author | Andrew Geissler <geissonator@yahoo.com> | 2023-06-28 23:32:06 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2023-07-05 19:48:51 +0300 |
commit | b5ad410cb679767686fb9ebd5638009f47b03d34 (patch) | |
tree | db44861cb218888fee3ce6528004798ee6321a0a | |
parent | 57ab960cac198378f2a924631c680daed2a67e56 (diff) | |
download | openbmc-b5ad410cb679767686fb9ebd5638009f47b03d34.tar.xz |
obmc-op-control-host: install service properly
The latest systemd requires templated services be installed properly. As
this is old org.openbmc, just do the minimum to get the service
installed properly.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Id4e6f436742309f998c11a779ab5203c91ba48be
-rw-r--r-- | meta-phosphor/recipes-phosphor/host/obmc-op-control-host_git.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-phosphor/recipes-phosphor/host/obmc-op-control-host_git.bb b/meta-phosphor/recipes-phosphor/host/obmc-op-control-host_git.bb index 6cc31b4641..6c8f8ee71b 100644 --- a/meta-phosphor/recipes-phosphor/host/obmc-op-control-host_git.bb +++ b/meta-phosphor/recipes-phosphor/host/obmc-op-control-host_git.bb @@ -20,5 +20,8 @@ inherit pkgconfig RPROVIDES:${PN} += "virtual-obmc-host-ctl" -FMT = "org.openbmc.control.Host@{0}.service" -DBUS_SERVICE:${PN} += "${@compose_list(d, 'FMT', 'OBMC_HOST_INSTANCES')}" +DBUS_SERVICE:${PN} += "org.openbmc.control.Host@.service" +OBMC_CONTROL_INST = "org.openbmc.control.Host@{0}.service" +OBMC_CONTROL_SVC = "org.openbmc.control.Host@.service" +OBMC_CONTROL_FMT = "../${OBMC_CONTROL_SVC}:multi-user.target.wants/${OBMC_CONTROL_INST}" +SYSTEMD_LINK:${PN} += "${@compose_list(d, 'OBMC_CONTROL_FMT', 'OBMC_HOST_INSTANCES')}" |