commit | 6dc257eb79cd1ab63050f9bcb183daf19d32d710 | [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 | cea6c437506c031263f05ff6ed092190e51b3a50 | |
parent | 6c77e4847de261e3343d98f81a02d5b0023fcb3e [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-zaius/recipes-phosphor/chassis/refclock-fixup/op-refclock-fixup@.service b/meta-zaius/recipes-phosphor/chassis/refclock-fixup/op-refclock-fixup@.service index 7521b15..5dd0b10 100644 --- a/meta-zaius/recipes-phosphor/chassis/refclock-fixup/op-refclock-fixup@.service +++ b/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