summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/p9-vcs-workaround.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/p9-vcs-workaround.bb')
-rw-r--r--meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/p9-vcs-workaround.bb14
1 files changed, 2 insertions, 12 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/p9-vcs-workaround.bb b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/p9-vcs-workaround.bb
index b03e26c0c..53b84a639 100644
--- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/p9-vcs-workaround.bb
+++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/p9-vcs-workaround.bb
@@ -5,19 +5,10 @@ PR = "r1"
inherit obmc-phosphor-systemd
inherit obmc-phosphor-license
-FILESEXTRAPATHS_prepend := "${THISDIR}/op-pdbg-host-control:"
-
-RDEPENDS_${PN} += "pdbg \
- virtual-p9-vcs-workaround"
+FILESEXTRAPATHS_prepend := "${THISDIR}/op-host-control:"
+RDEPENDS_${PN} += "virtual-p9-vcs-workaround op-proc-control"
S = "${WORKDIR}"
-SRC_URI += "file://vcs_workaround.sh"
-
-do_install() {
- install -d ${D}${bindir}
- install -m 0755 ${WORKDIR}/vcs_workaround.sh \
- ${D}${bindir}/vcs_workaround.sh
-}
TMPL = "vcs_workaround@.service"
INSTFMT = "vcs_workaround@{0}.service"
@@ -26,4 +17,3 @@ FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}"
SYSTEMD_SERVICE_${PN} += "${TMPL}"
SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}"
-SYSTEMD_SUBSTITUTIONS += "MACHINE:${MACHINE}:${TMPL}"
OpenPOWER on IntegriCloud