summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/host
Commit message (Collapse)AuthorAgeFilesLines
* Add missing pkgconfig dependenciesBrad Bishop2018-02-011-0/+1
| | | | | | | | A number of skeleton recipes were missing pkgconfig dependencies. Exposed by Yocto 2.3 per-recipe sysroots feature. Change-Id: I514a95d08e199b395355341fec586b2af11428b5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Enable BMC patching from the /usr/local pathMichael Tritz2017-08-243-3/+6
| | | | | | | | | | | | | | | | | 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>
* PNOR init workaround for P8 based systemsAndrew Geissler2017-05-112-0/+21
| | | | | | | | | | | The PNOR chip requires an init to be done to it prior to starting the host. This is a temporary fix to this issue until we get the mboxd function ported to P8. Resolves openbmc/openbmc#1426 Change-Id: I784c6aa6ca299fe1d4593295c30d0056f0167706 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Add phosphor-host-check and required host servicesAndrew Geissler2017-05-093-55/+0
| | | | | | | | 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>
* Refactor action target names Host-shutdown-quiesceJosh D. King2017-04-201-1/+1
| | | | | | | | | | | | The target change is: obmc-stop-host -> obmc-host-shutdown obmc-quiesce-host -> obmc-host-quiesce Updated skeleton-rev.bbclass to have correct commit id. Change-Id: Ida47f8709622d98129c0fe00c86bad77d8d76dfb Signed-off-by: Josh D. King <jdking@us.ibm.com>
* Refactor action target names Host-start-stopJosh D. King2017-04-203-6/+6
| | | | | | | | | | | | | | | | | | | | | | | The target change is: obmc-chassis-stop -> obmc-host-stop obmc-chassis-start -> obmc-host-start Removed CHASSIS_FMT and CHASSIS_LINK_FMT because they are no longer needed. CHASSIS_POWER_FMT_2 did not change because its used for obmc-chassis-reset. Deleted files obmc-chassis-start@.target and obmc-chassis-stop@.target because they are no longer needed. I moved over their contents to obmc-host-start and obmc-host-stop. Updated phosphor-state-manager.bb and skeleton-rev.bbclass to have correct commit id. Change-Id: I26cba4153038f39d60e8d450a05969a216848abe Signed-off-by: Josh D. King <jdking@us.ibm.com>
* Disable check for Control.Host object until availableAndrew Geissler2017-04-111-2/+3
| | | | | | | | | | Need to wait for the new object code to be merged before we can wait on it. Resolves openbmc/openbmc#1448 Change-Id: Ifc433cb0a34d19bd6dc7ccc872782b3faac696ce Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Add in new targets to handle bmc resets while host runningAndrew Geissler2017-04-073-1/+57
| | | | | | | | | | | | | | | | | | | | The point of this new target is to support getting the systemd targets which boot the host into the running state (without actually running the associated services) when the BMC is rebooted and the host is up and running. This will ensure that systemd and its targets match with the state of the system without affecting the running host. This commit will run the new target but nothing will happen yet due to the discovery service being a noop. Once the application is in for the service to call, it will be added to the service which will enable this new host running with bmc reset support. Change-Id: Ia29e53de58ea7530941341b0e515e4d8fa49be6c Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Do not run host start targets if host already onAndrew Geissler2017-03-251-0/+1
| | | | | | | | | | | | This is the first commit in a series that will ensure we do not run the host start services when the host is already running. Specifically this is to handle the situation where the host is running and the BMC is rebooted. Change-Id: I6c6a99a3c2aefff338c2eafe546a525999c357b4 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Change wants to requires for all critical servicesAndrew Geissler2017-02-151-1/+1
| | | | | | | | In order for targets to fail when their services fail, the relationship must be a "requires" Change-Id: I1523dd51af8817b473557bac65e9e71eacecf52e Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Move hosts -> hostBrad Bishop2017-01-043-0/+54
A number of host recipes were added to the openpower layers in the recipes-phosphor/host directory. These should have been created in the hosts directory. Rename hosts to host in the phosphor layer to match. Change-Id: Icb6bc888c9db5578b72a13964365d5f8fab9cd22 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
OpenPOWER on IntegriCloud