System quiesce target for when required targets fail

This will be the target that all other critical targets go to when
a service within it fails. Automated recovery and stay-in-fail-state
logic will be built on top of entry into this new target.

Change-Id: Ibdf2e823cf372916c61ef5a8375c4faf8a928119
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
diff --git a/common/recipes-core/systemd/obmc-targets.bb b/common/recipes-core/systemd/obmc-targets.bb
index 4317037..5f34c17 100644
--- a/common/recipes-core/systemd/obmc-targets.bb
+++ b/common/recipes-core/systemd/obmc-targets.bb
@@ -16,7 +16,7 @@
 # Track all host synchronization point target
 HOST_SYNCH_TARGETS = "start-pre start started stop-pre stop stopped"
 # Track all host action targets
-HOST_ACTION_TARGETS = "stop"
+HOST_ACTION_TARGETS = "stop quiesce"
 
 CHASSIS_FMT = "obmc-chassis-{0}@.target"
 SYNCH_POWER_FMT = "obmc-power-{0}@.target"
diff --git a/common/recipes-core/systemd/obmc-targets/obmc-quiesce-host@.target b/common/recipes-core/systemd/obmc-targets/obmc-quiesce-host@.target
new file mode 100644
index 0000000..d0473b0
--- /dev/null
+++ b/common/recipes-core/systemd/obmc-targets/obmc-quiesce-host@.target
@@ -0,0 +1,6 @@
+[Unit]
+Description=Quiesce Target
+Wants={SYSTEMD_DEFAULT_TARGET}
+After={SYSTEMD_DEFAULT_TARGET}
+RefuseManualStop=yes
+Conflicts=obmc-power-chassis-off@%i.target