diff options
author | Andrew Geissler <geissonator@yahoo.com> | 2023-11-15 22:09:53 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2023-11-16 23:58:13 +0300 |
commit | 6daf73eb77c4738ba9309361ec9059b28cab67fd (patch) | |
tree | a35351be65b615033e6c7337fe5fd93477f48b71 | |
parent | 343bce9ea27456916c2ea4ac3065f04ab0f69ce6 (diff) | |
download | openbmc-6daf73eb77c4738ba9309361ec9059b28cab67fd.tar.xz |
meta-openpower: occ: remove meta services and scripts
These services and script file are now in the actual
openpower-occ-control repository. Delete them from the meta layer so we
install the correct ones.
Tested:
- Confirmed expected files are now installed
Change-Id: If2b0cc868b5ca42ebf36be22da50a64d57b99274
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
5 files changed, 0 insertions, 73 deletions
diff --git a/meta-openpower/recipes-phosphor/occ/openpower-occ-control/occ-active.sh b/meta-openpower/recipes-phosphor/occ/openpower-occ-control/occ-active.sh deleted file mode 100755 index bb9e482ae5..0000000000 --- a/meta-openpower/recipes-phosphor/occ/openpower-occ-control/occ-active.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# set and unset occ active for all occ's in system - -if [ "$1" = "disable" ]; then - value='false' -elif [ "$1" = "enable" ]; then - value='true' -else - echo "Usage: occ-active.sh [argument]" - echo " enable - set occ's to active state" - echo " disable - set occ's to inactive state" - exit 1 -fi - -OCC_CONTROL_SERVICE="org.open_power.OCC.Control" - -busctl tree $OCC_CONTROL_SERVICE --list | grep -i occ | xargs -r -n1 -I{} \ - busctl set-property $OCC_CONTROL_SERVICE {} org.open_power.OCC.Status \ - OccActive b $value -exit 0 diff --git a/meta-openpower/recipes-phosphor/occ/openpower-occ-control/op-occ-disable@.service b/meta-openpower/recipes-phosphor/occ/openpower-occ-control/op-occ-disable@.service deleted file mode 100644 index dfa3935200..0000000000 --- a/meta-openpower/recipes-phosphor/occ/openpower-occ-control/op-occ-disable@.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=OpenPOWER OCC Active Disable -Before=obmc-host-stop-pre@%i.target -Before=op-enter-mpreboot@%i.service -Before=op-stop-instructions@%i.service -Conflicts=op-occ-enable@%i.service - -[Service] -ExecStart=/usr/bin/occ-active.sh disable -Type=oneshot - -[Install] -WantedBy=obmc-host-stop@%i.target diff --git a/meta-openpower/recipes-phosphor/occ/openpower-occ-control/op-occ-enable@.service b/meta-openpower/recipes-phosphor/occ/openpower-occ-control/op-occ-enable@.service deleted file mode 100644 index 54311019c2..0000000000 --- a/meta-openpower/recipes-phosphor/occ/openpower-occ-control/op-occ-enable@.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=OpenPOWER OCC Active Enable for host %I -Conflicts=obmc-host-stop@%i.target -Conflicts=op-occ-disable@%i.service -Wants=org.open_power.OCC.Control.service -After=org.open_power.OCC.Control.service -Wants=fsi-scan@%i.service -After=fsi-scan@%i.service -ConditionPathExists=/run/openbmc/host@%i-on - -[Service] -ExecStart=/usr/bin/occ-active.sh enable -Type=oneshot - -[Install] -WantedBy=obmc-host-start@%i.target diff --git a/meta-openpower/recipes-phosphor/occ/openpower-occ-control/org.open_power.OCC.Control.service b/meta-openpower/recipes-phosphor/occ/openpower-occ-control/org.open_power.OCC.Control.service deleted file mode 100644 index 5f9b90711d..0000000000 --- a/meta-openpower/recipes-phosphor/occ/openpower-occ-control/org.open_power.OCC.Control.service +++ /dev/null @@ -1,17 +0,0 @@ -[Unit] -Description=OpenPOWER OCC controller -Wants=mapper-wait@-xyz-openbmc_project-inventory.service -After=mapper-wait@-xyz-openbmc_project-inventory.service -Wants=obmc-host-reset-running@0.target -After=obmc-host-reset-running@0.target -Wants=xyz.openbmc_project.PLDM -After=xyz.openbmc_project.PLDM - -[Service] -ExecStart=/usr/bin/openpower-occ-control -Restart=always -Type=dbus -BusName={BUSNAME} - -[Install] -WantedBy=multi-user.target diff --git a/meta-openpower/recipes-phosphor/occ/openpower-occ-control_git.bb b/meta-openpower/recipes-phosphor/occ/openpower-occ-control_git.bb index fec813615b..83e7e09d7f 100644 --- a/meta-openpower/recipes-phosphor/occ/openpower-occ-control_git.bb +++ b/meta-openpower/recipes-phosphor/occ/openpower-occ-control_git.bb @@ -12,13 +12,6 @@ inherit meson \ require ${BPN}.inc -SRC_URI += "file://occ-active.sh" -do_install:append() { - install -d ${D}${bindir} - install -m 0755 ${WORKDIR}/occ-active.sh \ - ${D}${bindir}/occ-active.sh -} - DBUS_SERVICE:${PN} += "org.open_power.OCC.Control.service" SYSTEMD_SERVICE:${PN} += "op-occ-enable@.service" SYSTEMD_SERVICE:${PN} += "op-occ-disable@.service" |