diff options
Diffstat (limited to 'meta-openpower/recipes-phosphor/host/p9-vcs-workaround.bb')
-rw-r--r-- | meta-openpower/recipes-phosphor/host/p9-vcs-workaround.bb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-openpower/recipes-phosphor/host/p9-vcs-workaround.bb b/meta-openpower/recipes-phosphor/host/p9-vcs-workaround.bb new file mode 100644 index 000000000..11ad79cb1 --- /dev/null +++ b/meta-openpower/recipes-phosphor/host/p9-vcs-workaround.bb @@ -0,0 +1,19 @@ +SUMMARY = "POWER9 VCS workaround" +DESCRIPTION = "Apply fixes over FSI to POWER9 CPUs prior to host power on" +PR = "r1" + +inherit obmc-phosphor-systemd +inherit obmc-phosphor-license + +FILESEXTRAPATHS_prepend := "${THISDIR}/op-host-control:" +RDEPENDS_${PN} += "virtual-p9-vcs-workaround op-proc-control" + +S = "${WORKDIR}" + +TMPL = "vcs_workaround@.service" +INSTFMT = "vcs_workaround@{0}.service" +TGTFMT = "obmc-chassis-poweron@{0}.target" +FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}" + +SYSTEMD_SERVICE_${PN} += "${TMPL}" +SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}" |