commit | ec6ea20896e1f6f85d2d7f736c9c23030fafac00 | [log] [tgz] |
---|---|---|
author | Xo Wang <xow@google.com> | Fri Jun 02 14:42:07 2017 -0700 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Jun 08 13:04:25 2017 +0000 |
tree | da4ee31cfd4a85d90ab803a7800555a6947c07bd | |
parent | 5dc24c938ff596e9baa9c4255587d844d2bcc0de [diff] |
meta-zaius: Don't run refclock fixup if host is up The clock generator output fixup workaround temporarily disables the clock output when run, crashing the host if it's up. Fixes openbmc/openbmc#1274. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Ib734ffc43eb29c7b7039419c8fdd42e4d47c3260
diff --git a/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/refclock-fixup/op-refclock-fixup@.service b/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/refclock-fixup/op-refclock-fixup@.service index 7521b15..5dd0b10 100644 --- a/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/refclock-fixup/op-refclock-fixup@.service +++ b/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/refclock-fixup/op-refclock-fixup@.service
@@ -6,6 +6,7 @@ After=obmc-power-on@%i.target Before=fsi-scan@%i.service Conflicts=obmc-host-stop@%i.target +ConditionPathExists=!/run/openbmc/chassis@%i-on [Service] Restart=no