summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/state
Commit message (Collapse)AuthorAgeFilesLines
* Redirect most of the Phosphor applications from GitHub to the Raptor ↵Raptor Engineering Development Team2018-01-171-1/+1
| | | | Computing Systems GIT repositories
* phosphor-state-manager.bb: bump versionAndrew Geissler2017-10-311-1/+1
| | | | | Change-Id: I355e43ea7b5308f0b56dc95b948249f583be7509 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-state-manager.bb: bump versionAndrew Geissler2017-10-111-1/+1
| | | | | Change-Id: I7c19bb244e4b9a37985f04902908cc1ee48d5069 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-09-271-1/+1
| | | | | Change-Id: Ic30c74794860dd7701029c9c455d0f639fad45a2 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-09-271-1/+1
| | | | | Change-Id: If3da1168d0546d194f7b8c3b44ca65a6672b8ebd Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-09-251-1/+1
| | | | | Change-Id: I169ef6129cb3ea61a0d0fa77664ab59652026d9d Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-09-081-1/+1
| | | | | Change-Id: I19a3a9fe13379a637d91782fdfb4ef83c557e5c4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Don't apply restore policy if system is onAndrew Geissler2017-08-241-0/+1
| | | | | | | | | | | | If the BMC was rebooted while the chassis power was on then we want the BMC to update it's targets to reflect this and leave the system as-is. This also applies if the host is running. Resolves openbmc/openbmc#2180 Change-Id: Ib9c067d79368db749fd65d050132d15ad793fdbf Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Enable BMC patching from the /usr/local pathMichael Tritz2017-08-245-6/+10
| | | | | | | | | | | | | | | | | This commit enables patches from the /usr/local path by replacing absolute paths to /usr/sbin or /usr/bin in every service file with "/usr/bin/env ". Additionally, SyslogIdentifier is added to each file to ensure that journal entries are still distinct. In two cases, service files also had to change due to references to ${{PATH}}, which doesn't work with /usr/bin/env. These references - and the corresponding definitions - were changed to ${{DEVPATH}}. Resolves openbmc/openbmc#2149 Change-Id: I12c5c6e5101eef6820b985a563313836250ff2c7 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-08-231-1/+1
| | | | | Change-Id: I19622dd6e14d0a5789bd591577d12a81542d672e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-08-181-1/+1
| | | | | Change-Id: Iddbdf16ca0e13b9edc8055b85137037108c2970c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-08-121-1/+1
| | | | | Change-Id: Idae0a17983a97a9ca1e8469d38e098f49904eaf1 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Ensure applications wait for reset servicesAndrew Geissler2017-08-092-0/+2
| | | | | | | | | | | | | | | When a BMC reboot occurs with the host running, need to ensure the reset targets and services run before we start other application that depend on whether the host is running Specifically, don't start phosphor-host-state-manager until it's been determined if the host is up. Don't start phosphor-discover-system-state until the state of the chassis is known. Change-Id: I458fa78802cd9ecca99c54834512bfebf04b5012 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Add in new host reboot targetAndrew Geissler2017-08-032-0/+25
| | | | | | | | | | | | | | | | | | | | The state management code on the BMC is designed to utilize systemd targets as much as possible. The host reboot was always the odd duck that had some special code written to support it. This special code would basically issue a power off, look for it to complete and then issue a power on. This is very error prone code and has resulted in a few issues. Moving to a single systemd target (the new reboot target) defined here will allow the host reboots to occur solely through a single systemd target now. openbmc/openbmc#2032 is one of those bugs being addressed with this change. Change-Id: If33454aa4f15580e45f888a9b1602dec24a46fca Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-08-021-1/+1
| | | | | Change-Id: I5d98c78718269ae06fadf6459d1f34f0a6166be2 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-08-011-1/+1
| | | | | Change-Id: I8d8669badd13b7fc9eddf361ca1c7dca23eaa611 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Add dependency on settings D-Bus objectsDeepak Kodihalli2017-08-012-2/+4
| | | | | Change-Id: I0e7e84f191f6a466b0f84c6d4f490816331f141f Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-07-281-1/+1
| | | | | Change-Id: I32e48e199f7220418fd91e4be294963b4b4da6af Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-07-241-1/+1
| | | | | Change-Id: I36dea72d069f53904fb244201bedc834f51fe6db Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Implement new hard power off targetAndrew Geissler2017-07-211-5/+5
| | | | | | | | | | | | | | | This target will allow the user to do an immediate power off of the system without waiting for the host. It can also be used to cause an immedate power off if the host is hung during the normal power off process. The chassis poweroff target will now require the host off target to ensure everything is properly stopped when the chassis is powered off. Change-Id: I8430d895ae5498d2e451aaf07480b0cf9550e8f2 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* phosphor-state-manager: add depends on CerealDhruvaraj Subhashchandran2017-07-181-0/+1
| | | | | Change-Id: I11f7b633d8eea82eb179ec9496623ff4ba43909a Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-07-061-1/+1
| | | | | Change-Id: I63529297e8f588d7cfe3e44b4d07cbbf79e2ebf0 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-06-061-1/+1
| | | | | Change-Id: Icb8eac9aed391324a61f4f1f81400c16c7c572a6 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Ensure host-shutdown target calls the host-stop targetAndrew Geissler2017-06-031-0/+7
| | | | | | | | | As a part of the soft power off (host-shutdown) ensure that the host-stop target always gets called. Updated the involved services to ensure they are run in the correct order. Change-Id: I7e9113631786f0d0cb0f89b94c4b97fdc0328e7b Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-06-021-1/+1
| | | | | Change-Id: I80065445998eb8f3317aa1b423540a2971dc39f0 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-05-241-1/+1
| | | | | Change-Id: Id6b0723b54c5462037722b63f9fa783cf4f07256 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-05-241-1/+1
| | | | | Change-Id: I4d391dc3c0c64bf333caeb9345e1c9e237e0316e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Conflict with host-stop target vs. host-shutdownAndrew Geissler2017-05-191-1/+1
| | | | | | | | | The obmc-host-stop@.target will always be called on host shutdowns but the inverse is not always true. This commit ensures everything conflicts with the target that is always called in this path. Change-Id: Ic680ef96b1d6e2aec844a9c619928b7014fe7450 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-05-191-1/+1
| | | | | Change-Id: Ie53ca12feea48b00120f946a7f6447f6f5878178 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-05-181-1/+1
| | | | | Change-Id: I6999283b12f0c2eccb1d6e17514e6323cd9452cc Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-05-111-1/+1
| | | | | Change-Id: I14c56f484f3cd2a36d99867e2c560b261c3ffeca Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Add phosphor-host-check and required host servicesAndrew Geissler2017-05-093-1/+60
| | | | | | | | This application and services will be used by the host reset service to determine if the host is running after a BMC has been rebooted Change-Id: I8299546b0f275ebbb46aa775ab7b0633cc3fd5e0 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Recipe for phosphor-discover-system-stateMichael Tritz2017-05-052-3/+23
| | | | | | | | | | | | This recipe will add the new program phosphor-discover-system-state to new builds. Additionally, the old Python state manager is removed from the build since discover_system_state.py was the last thing in it. Resolves openbmc/openbmc#773 Change-Id: I99ba0f1f0264cedebc5a9a7e5fa5dbaba0b79502 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-04-201-1/+1
| | | | | Change-Id: If7932b779f5de30827d603f62e96064aaf0b5c7c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Refactor action target names Power-on-offJosh D. King2017-04-201-1/+1
| | | | | | | | | | | | The target change is: obmc-power-chassis-on -> obmc-chassis-poweron obmc-power-chassis-off -> obmc-chassis-poweroff Also updated phosphor-state-manager.bb to now have correct commit id. Change-Id: I15aae803e5f0d44d4e6a137278f93e91f848b2c0 Signed-off-by: Josh D. King <jdking@us.ibm.com>
* phosphor-state-manager: split phosphor-discover-system-stateMichael Tritz2017-04-191-1/+5
| | | | | | | | | Add new phosphor-discover-system-state executable into its own package. This follows the pattern of state-manager overall. Change-Id: I9b592f967f44f121cf739300f154fac182a31cdf Signed-off-by: Michael Tritz <mtritz@us.ibm.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Move object_mapper per dbus path conventions.Patrick Williams2017-03-201-1/+1
| | | | | | | | | | | | | | | | | | phosphor-fan-presence.bb: bump version phosphor-inventory-manager.inc: bump version phosphor-ipmi-host.bb: bump version skeleton-rev.bbclass: bump version phosphor-led-manager.inc: bump version phosphor-mapper.bb: bump version phosphor-ipmi-fru.inc: bump version phosphor-state-manager.bb: bump version phosphor-logging.bb: bump version openpower-fru-vpd.inc: bump version Resolves openbmc/openbmc#1112. Change-Id: Iaf32b0e828dc4f2da021eae9b8e1d440042841d8 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-03-201-1/+1
| | | | | Change-Id: Iebd7ec1e144e24e99d7753a55beb376cd2d70f12 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* image: Use VIRTUAL-RUNTIME for state pkgsBrad Bishop2017-03-061-6/+0
| | | | | | | | | | | | The correct idiom for modeling runtime only virtual implementations with no build time API is to use VIRTUAL-RUNTIME in favor of PREFERRED_PROVIDER. Update the state management management applications accordingly since they fall into this category. Change-Id: I8f0092a38da4ea0741dd0f464b71f4ea12d12019 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-03-021-1/+1
| | | | | Change-Id: Ic97e057d9d8890dc7796feb1bc270a7e46a6a2f7 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* state: remove ${PN} pkgBrad Bishop2017-03-021-0/+4
| | | | | | | | | | | By default OE adds ${PN} as a runtime dependency to ${PN}-[static]dev Remove ${PN} since it will never have any content. Additionally, override the default ${PN}-[static]dev dependencies with the correct pkgs. Change-Id: I7c5a49a5cdd453cc23eb2595cc53455659040062 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-02-241-1/+1
| | | | | Change-Id: I96a8287ca558a876ae431dacea55291ad4fc2239 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-02-241-1/+1
| | | | | Change-Id: I546cd37c0983837a711425b126a218ce22885947 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-02-221-1/+1
| | | | | Change-Id: I678599b85cdb91a1e3d5e800b92c6df7a2e538e8 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-02-201-1/+1
| | | | | Change-Id: I5807d57439174b7172e47ec36e98274c38854a8c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-02-151-1/+1
| | | | | Change-Id: Ibdca21a2fc372dd21003cf88dc14ed0826e59a44 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Add dependency to libsdbusplusAdriana Kobylak2017-02-031-1/+2
| | | | | | | | | Remove ALLOW_EMPTY from sdbusplus recipe as the library has been created. Add dependency to phosphor-logging and state-manager. Change-Id: Ia7be4ec9f9cd0f272ece7eccad79c0bc46bbc893 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-02-011-1/+1
| | | | | Change-Id: I4c03121b3989743e627d59efa9fc9fba49d0ed45 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-01-311-1/+1
| | | | | Change-Id: Idef8b9a78157484cfdcf10055856557c199e0376 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager: dep on phosphor-dbus-interfacesPatrick Williams2017-01-311-3/+4
| | | | | Change-Id: Iff377fba5a7aeee43cfbd75d21eff05a13285fa8 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
OpenPOWER on IntegriCloud