diff options
author | Matt Spinler <spinler@us.ibm.com> | 2017-09-18 15:40:44 -0500 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-10-05 18:14:37 +0000 |
commit | d608220c7fb5a0b40ec3ca0b44f96c158b903287 (patch) | |
tree | 437df88197c063ab512ba2c3135c4bb6118bd9f8 /meta-openbmc-machines/meta-openpower/common/recipes-phosphor | |
parent | e651eecf4d7c90d1da19c2a044eb55b3d5d38998 (diff) | |
download | talos-openbmc-d608220c7fb5a0b40ec3ca0b44f96c158b903287.tar.gz talos-openbmc-d608220c7fb5a0b40ec3ca0b44f96c158b903287.zip |
Remove the fsi-hub-scan service
The hub scan will be done from within the
fsi-scan service.
Change-Id: I6bccac926b450a3b46d3067a4c72756ac001de96
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/common/recipes-phosphor')
5 files changed, 5 insertions, 24 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi.bb b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi.bb index 0638c3d68..26cab2c07 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi.bb +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi.bb @@ -15,12 +15,7 @@ TMPL_BIND = "fsi-bind@.service" INSTFMT_BIND = "fsi-bind@{0}.service" FMT_BIND = "../${TMPL_BIND}:${TGTFMT}.requires/${INSTFMT_BIND}" -TMPL_HUB = "fsi-hub-scan@.service" -INSTFMT_HUB = "fsi-hub-scan@{0}.service" -FMT_HUB = "../${TMPL_HUB}:${TGTFMT}.requires/${INSTFMT_HUB}" - -SYSTEMD_SERVICE_${PN} += "${TMPL_SCAN} ${TMPL_BIND} fsi-enable.service fsi-disable.service ${TMPL_HUB}" +SYSTEMD_SERVICE_${PN} += "${TMPL_SCAN} ${TMPL_BIND} fsi-enable.service fsi-disable.service" SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT_SCAN', 'OBMC_CHASSIS_INSTANCES')}" SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT_BIND', 'OBMC_CHASSIS_INSTANCES')}" -SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT_HUB', 'OBMC_CHASSIS_INSTANCES')}" diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-hub-scan@.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-hub-scan@.service deleted file mode 100644 index edb79d7d5..000000000 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-hub-scan@.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Scan FSI hub device -Wants=fsi-scan@%i.service -After=fsi-scan@%i.service -Conflicts=obmc-chassis-poweroff@%i.target - -[Service] -ExecStart=/bin/sh -c "echo 1 > /sys/devices/platform/gpio-fsi/fsi0/slave@00:00/00:00:00:0a/fsi1/rescan" -Type=oneshot -RemainAfterExit=yes diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-host-control/cfam_override@.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-host-control/cfam_override@.service index 221bcebf4..e6bc9389c 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-host-control/cfam_override@.service +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-host-control/cfam_override@.service @@ -4,8 +4,8 @@ Wants=obmc-host-start-pre@%i.target Before=obmc-host-start-pre@%i.target Wants=obmc-power-on@%i.target After=obmc-power-on@%i.target -Wants=fsi-hub-scan@%i.service -After=fsi-hub-scan@%i.service +Wants=fsi-scan@%i.service +After=fsi-scan@%i.service Conflicts=obmc-chassis-poweroff@%i.target ConditionPathExists=!/run/openbmc/chassis@%i-on ConditionPathExists=/var/lib/obmc/cfam_overrides diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-host-control/vcs_workaround@.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-host-control/vcs_workaround@.service index d7d9f12c4..bd9db809b 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-host-control/vcs_workaround@.service +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-host-control/vcs_workaround@.service @@ -4,8 +4,8 @@ Wants=obmc-host-start-pre@%i.target Before=obmc-host-start-pre@%i.target Wants=obmc-power-on@%i.target After=obmc-power-on@%i.target -Wants=fsi-hub-scan@%i.service -After=fsi-hub-scan@%i.service +Wants=fsi-scan@%i.service +After=fsi-scan@%i.service Conflicts=obmc-chassis-poweroff@%i.target ConditionPathExists=!/run/openbmc/chassis@%i-on diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/op-occ-enable@.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/op-occ-enable@.service index c4c963894..b97253cf0 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/op-occ-enable@.service +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/op-occ-enable@.service @@ -6,10 +6,6 @@ Wants=org.open_power.OCC.Control.service After=org.open_power.OCC.Control.service Wants=fsi-scan@%i.service After=fsi-scan@%i.service -# TODO - openbmc/openbmc#2278 - Remove fsi-hub-scan -# These are not needed once we remove fsi-hub-scan service -Wants=fsi-hub-scan@%i.service -After=fsi-hub-scan@%i.service ConditionPathExists=/run/openbmc/host@%i-on [Service] |