summaryrefslogtreecommitdiff
path: root/meta-ibm/meta-witherspoon/recipes-phosphor/power/phosphor-power_%.bbappend
AgeCommit message (Collapse)AuthorFilesLines
2020-04-27meta-ibm: move all meta-witherspoon metadataBrad Bishop1-17/+0
The metadata common to all IBM systems is confusingly split between meta-ibm and meta-witherspoon. Move everything to meta-ibm. The meta-ibm README is re-written to more accurately reflect the scope of the layer. Allow the configuration samples (bblayers.conf.sample, local.conf.sample) to be sourced from either meta-ibm or meta-witherspoon until such a time that any workflows and tooling have had the opportunity to move to meta-ibm. (From meta-ibm rev: 6e05ef2e90b214eaf4e43ee7027bbbb1d8d09442) Change-Id: I3ec890d5300f9649c974ea6b9dca93a2e8a889ab Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-10meta-ibm: add missing phosphor power configurationBrad Bishop1-2/+2
There were a couple _${PN} (package name) style overrides added to DEPENDS and EXTRA_OEMESON with 438174de3490. The package being built is only addeed to OVERRIDES during the packaging task. DEPENDS and EXTRA_OEMESON are used during the configure task. The result is DEPENDS and EXTRA_OEMESON are not updated as intended. (From meta-ibm rev: 4e1950490e3329c1f9f193cba7f2739df6456c59) Change-Id: I7a902ad4ca07cb590cd1bad5f5d1046ecaa9d63e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-17meta-witherspoon: Use separated phosphor-power packagesLei YU1-3/+3
phosphor-power recipe is splitted into separated packages. In packagegroup-obmc-apps.bbappend, define POWER_SERVICE_PACKAGES_AC_SERVER to include the packages for IBM AC servers and POWER_SERVICE_PACKAGES_RAINIER for rainier server. The package cold-redundancy is not included yet because the repo does not install the files yet. In phosphor-power bbappend, use separated packages as well. It also add phosphor-power to install the psu.json in witherspoon's phosphor-power bbappend, which is needed for multiple packages. Tested: Verify all the ac-server services and utils are installed into Witherspoon's image as before. (From meta-ibm rev: 438174de3490d800181ecd26ac162c6ebe442194) Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I76808e92de7cf144ba2a3b7a455af582eaad3d33 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-12-11meta-witherspoon: Fix missing power-supply-monitor configsLei YU1-1/+3
The power-supply-monitor configs were installed by SYSTEMD_ENVIRONMENT_FILE_${PN}, which is defined in obmc-phosphor-systemd.bbclass. phosphor-power recipe does not inherit obmc-phosphor-systemd, results in the files installed by SYSTEMD_ENVIRONMENT_FILE_${PN} are not installed at all. Fix this issue by inherit obmc-phosphor-systemd in the bbappend. Tested: Verify the witherspoon build includes the power-supply-monitor configs. (From meta-ibm rev: d4374bf93e5927ccadb9de954384096ffb8590ec) Change-Id: Iaa3a04694c7b591d349a32529a0afef16239203d Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-07meta-witherspoon: Use phosphor-power recipeLei YU1-0/+15
phosphor-power recipe is added in meta-phosphor, replace witherspoon-pfault-analysis with phosphor-power. Add "psuDevices" in psu.json for witherspoon and swift. Tested: Verify witherspoon build is OK, the phosphor-power related binaries and the services are installed correctly. (From meta-ibm rev: 9422171d261d155b903295cd7c0c5aedbab535a0) Change-Id: I2706ac9e9bff11b943ae6861bebd67e67d0bee15 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>