summaryrefslogtreecommitdiffstats
path: root/meta-phosphor
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2018-05-12 19:41:43 -0500
committerTimothy Pearson <tpearson@raptorengineering.com>2019-04-25 08:02:00 +0000
commitdd46e8f60b3c5048baeee4e7246b2f4346eb0457 (patch)
treeb55974306af69e3ab3d4882dad1a4750668b69a5 /meta-phosphor
parentd5268d61a9211f4a8fa411ae7f056922de35cd3a (diff)
downloadtalos-openbmc-dd46e8f60b3c5048baeee4e7246b2f4346eb0457.tar.gz
talos-openbmc-dd46e8f60b3c5048baeee4e7246b2f4346eb0457.zip
Block chassis poweron and host start on completion of shutdown scripts
Diffstat (limited to 'meta-phosphor')
-rw-r--r--meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-poweron@.target1
-rw-r--r--meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-start-pre@.target1
2 files changed, 2 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-poweron@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-poweron@.target
index cd7c2fc49..f0664d3cf 100644
--- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-poweron@.target
+++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-poweron@.target
@@ -10,3 +10,4 @@ Conflicts=obmc-chassis-poweroff@%i.target
RefuseManualStop=yes
OnFailure=obmc-chassis-poweroff@%i.target
OnFailureJobMode=flush
+ConditionPathExists=!/run/openbmc/host@0-ipl-complete
diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-start-pre@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-start-pre@.target
index fe5514618..3d2600f49 100644
--- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-start-pre@.target
+++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-start-pre@.target
@@ -5,3 +5,4 @@ After=multi-user.target
Conflicts=obmc-host-stop@%i.target
RefuseManualStart=yes
RefuseManualStop=yes
+ConditionPathExists=!/run/openbmc/host@0-ipl-complete
OpenPOWER on IntegriCloud