meta-openpower: support enabling and disabling sys dump active
See the following for more details:
https://gerrit.openbmc-project.xyz/c/openbmc/pldm/+/52268
This commit ties all the function together, ensuring the new BIOS is
enabled and disabled appropriately
openpower-proc-control: srcrev bump 69708fbb4b..9ca8a11763
Andrew Geissler (1):
update host bios to indicate mpreboot
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ib03cf0190f8d69e7200e4f95b43680da2149b6a2
diff --git a/meta-openpower/recipes-phosphor/host/op-proc-control-systemd-links.bb b/meta-openpower/recipes-phosphor/host/op-proc-control-systemd-links.bb
index a9c329a..8dce7b0 100644
--- a/meta-openpower/recipes-phosphor/host/op-proc-control-systemd-links.bb
+++ b/meta-openpower/recipes-phosphor/host/op-proc-control-systemd-links.bb
@@ -49,6 +49,15 @@
# Only install certain units if phal enabled
if [ "${@bb.utils.filter('MACHINE_FEATURES', 'phal', d)}" = phal ]; then
+ LINK="$D$systemd_system_unitdir/obmc-host-stop@0.target.wants/op-clear-sys-dump-active@0.service"
+ TARGET="../op-clear-sys-dump-active@.service"
+ ln -s $TARGET $LINK
+
+ mkdir -p $D$systemd_system_unitdir/multi-user.target.wants
+ LINK="$D$systemd_system_unitdir/multi-user.target.wants/op-clear-sys-dump-active@0.service"
+ TARGET="../op-clear-sys-dump-active@.service"
+ ln -s $TARGET $LINK
+
mkdir -p $D$systemd_system_unitdir/obmc-host-start@0.target.requires
LINK="$D$systemd_system_unitdir/obmc-host-start@0.target.requires/phal-reinit-devtree.service"
TARGET="../phal-reinit-devtree.service"
@@ -62,7 +71,6 @@
TARGET="../op-reset-host-check@.service"
ln -s $TARGET $LINK
- mkdir -p $D$systemd_system_unitdir/multi-user.target.wants
LINK="$D$systemd_system_unitdir/multi-user.target.wants/phal-import-devtree@0.service"
TARGET="../phal-import-devtree@.service"
ln -s $TARGET $LINK