commit | a70eb8af74d7997e5072ec398ddaac97d1be927c | [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 | 8425ae7108973631ac5e8946fea8790fdba56e94 | |
parent | d11978d584ef915244165833b674985757ffb11d [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-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/refclock-fixup/op-refclock-fixup@.service b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/refclock-fixup/op-refclock-fixup@.service index 7521b15..5dd0b10 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/refclock-fixup/op-refclock-fixup@.service +++ b/meta-openbmc-machines/meta-openpower/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