summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor
AgeCommit message (Collapse)AuthorFilesLines
2018-09-06meta-phosphor: Move layer content from common/Brad Bishop310-10237/+0
Adopt a more conventional directory hierarchy. meta-phosphor is still a _long_ way from suitable for hosting on yoctoproject.org but things like this don't help. (From meta-phosphor rev: 471cfcefa74b8c7ceb704cb670e6d915cf27c63b) Change-Id: I3f106b2f6cdc6cec734be28a6090800546f362eb Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-05Spelling fixesGunnar Mills6-7/+7
Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2. (From meta-phosphor rev: 38f27112a9bc38337d8f4c63c333d2a1f28945fa) Change-Id: I834b99d63a260f21c60b58c91ec328cf04b683fe Signed-off-by: Gunnar Mills <gmills@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-05phosphor-hwmon: srcrev bump 043d32306e..c9c818ed85Andrew Geissler1-1/+1
Patrick Venture (1): hwmon: revert alignment change and fix-up (From meta-phosphor rev: 06f257cb0a8ff30de01dfaf640b7424c44372440) Change-Id: I68f8a2196a21d32192aa93c34ab30c0ec88c8474 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-05phosphor-pid-control: srcrev bump 991cf8757b..e2ec0f618aAndrew Geissler1-1/+1
Patrick Venture (1): clang-format: fix pointer alignment, sort using (From meta-phosphor rev: c5d21afea33c774961762bda445d7f01a536d730) Change-Id: I0ea244ce43e6f2670f73e22582c7501e6f315f81 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-04phosphor-hwmon: srcrev bump 901f117733..043d32306eAndrew Geissler1-1/+1
Patrick Venture (1): add .clang-format (From meta-phosphor rev: 91825c03eb7151ad917e9aec3266ba9fcaaef947) Change-Id: Ia4b07602ebe5ea6e4c06c33ab77f0b257f63ea26 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-04phosphor-webui: srcrev bump 1ca1d7e10e..e364faa031Andrew Geissler1-1/+1
Gunnar Mills (2): Move to clang-format-6.0 Remove hack for 1/0 booleans (From meta-phosphor rev: bd847c188b7acb547578bf9e0321c9709ae03d55) Change-Id: I081a828f4c342c9fac3f35a293a285252a7ead6b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-01phosphor-pid-control: srcrev bump da4a5dd133..991cf8757bAndrew Geissler1-1/+1
Patrick Venture (1): clang-format: always break template declarations (From meta-phosphor rev: 655f0aa9f1eecd3fe8fc18cbdc9a7b61a2fa38d6) Change-Id: Ibd33b6b42c5b650fd41a6998595c3fddfeba5e65 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-01phosphor-state-manager: srcrev bump 9eab98618f..a965cf06a6Andrew Geissler1-1/+1
Andrew Geissler (1): Clang 6 updates (From meta-phosphor rev: 6357b1f20015296afba97a4bb2c1efea03b7db8f) Change-Id: I7be8c3dc99a65d5113075a90929946ecb44320b3 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31bmcweb: srcrev bump 9b243a4ee4..a38b0b2063Andrew Geissler1-1/+1
Ed Tanous (1): Resolve issue with duplicated static files (From meta-phosphor rev: 0e517f8a431289ddb1e02b2eaaa990114f259ce1) Change-Id: I7780e6155645ff8c53157056dcbb7e470baefd3b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31phosphor-logging: srcrev bump 9fab279fb3..5ac1bde129Andrew Geissler1-1/+1
Deepak Kodihalli (3): phoshor-rsyslog-config: wrap utils::restart phosphor-rsyslog-conf: add unit tests phosphor-rsyslog-conf: add unit tests (From meta-phosphor rev: 39ae434fa51513aa0715df0e772555cfeea0af0c) Change-Id: I94e70f3b53bce4f285d8b1aedb61e6cdd3338230 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31phosphor-fan-presence: srcrev bump 86be476bfb..ecd4bc7bf2Andrew Geissler1-1/+1
Andrew Geissler (1): Add -flto to CXXFLAGS (From meta-phosphor rev: 7aefde2c1c20dac9271fab604c203dbe615de349) Change-Id: I2dcb4e619c1c81b50697864689acb72b08b82f4c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31phosphor-pid-control: srcrev bump 40be36ac31..da4a5dd133Andrew Geissler1-1/+1
Patrick Venture (1): add .clang-format (From meta-phosphor rev: 2cc612c2f8a3d2ca01e3fc43c0434184cd625d0f) Change-Id: Ic033237071af7c8e413f48c8531319be721367bc Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31phosphor-webui: srcrev bump dc36acc943..1ca1d7e10eAndrew Geissler1-1/+1
beccabroek (1): Event log select all checkbox (From meta-phosphor rev: 512574c50df3fd68f8a5cee2fb3327a48e85da32) Change-Id: Icf12e56cbb2865753d36a333cc1e5b37e77e887e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31phosphor-dbus-interfaces: srcrev bump 5af83f1528..e0e9aed2beAndrew Geissler1-1/+1
Lei YU (1): EpocTime: Use proper errors on setting time failure (From meta-phosphor rev: b12dda36607e5770afb5b19cc861baea645ded87) Change-Id: I7e4125dec6938d92b76be606d245d4e7e1f36216 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31phosphor-inventory-manager: srcrev bump 566e096e97..d6819c9fccAndrew Geissler1-1/+1
Andrew Geissler (1): Add -flto to CXXFLAGS (From meta-phosphor rev: 9ddb021682a17da707003bef3da43dce08f0cb0a) Change-Id: Id50cf65ab4650569b421cc91a1b659f079fec139 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31phosphor-dbus-interfaces: srcrev bump 4132f4b6b1..5af83f1528Andrew Geissler1-1/+1
Adriana Kobylak (1): Control: Make PowerSupplyRedundancy const (read-only) Andrew Geissler (1): Add -flto to CXXFLAGS Deepak Kodihalli (1): Add errors to Network/Client interface (From meta-phosphor rev: 96dc4d450b840533b771f3c3848b3cb47a6b4891) Change-Id: Icb0dccfc6d0647837dfb2ac4d840d4b477a21ba4 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31Restructure phosphor-logging recipeDeepak Kodihalli1-3/+17
Restructure phosphor-logging recipe to allow additions of packages. (From meta-phosphor rev: 38af2c0d75122aecaeac53c0190884a48885f6a6) Change-Id: If187200a0874bc0c9ce6e4d759a2e1ca7ea7ffc8 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31Revert "Disable forwarding of journal to syslog"Deepak Kodihalli2-14/+0
This reverts commit cffe1bf83203854489e7b8bab81c9188143f7ab5. This is to enable syslog daemons to forward journal logs to a remote server. (From meta-phosphor rev: 03f3dbd09e50b6e63418118df6e2267a2ba650bc) Change-Id: Ie1ff86a2f48e77227eda60f2f047e6f33ff7b01c Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31bmcweb: srcrev bump b79d4eef01..9b243a4ee4Brad Bishop1-1/+1
Ed Tanous (2): Add json to the known content types Make dbus monitor compatible with phosphor-rest (From meta-phosphor rev: fb386a7e5cd0f760a47f5de7f9ec3445ff27ca03) Change-Id: I62bca43b27272e9800e9207bf222bda532d71229 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31phosphor-rest-server: srcrev bump 3a9a51c969..6691e7ca4eBrad Bishop1-1/+1
Adriana Kobylak (1): rest_dbus: Add read-only property error Matt Spinler (1): Explicitly convert dbus.Booleans to bools (From meta-phosphor rev: a2c69d7b18c201dc2e7b269eb436d87cfa54654e) Change-Id: I11889bb8c9bebc02e5eef6b64dca0c47a6ba0781 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31phosphor-snmp: srcrev bump f3fac2228a..f4ecf88338Brad Bishop1-1/+1
Gunnar Mills (1): Fix broken link (From meta-phosphor rev: 8a34d2d33b124170321cfe18a0082a44bee81083) Change-Id: Ia68dc83f7743a7b320c9cfac6aae201addceebc0 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31phosphor-pid-control: srcrev bump 64f072a74c..40be36ac31Brad Bishop1-1/+1
Patrick Venture (1): add missing gmock header: read|write interface mock (From meta-phosphor rev: 2d789d810dc9b74817760473ea25d631c0183ff5) Change-Id: If44eb6054745b5e42594059cd92ae31ebd7c6fa7 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31phosphor-webui: srcrev bump 1073c1490f..dc36acc943Brad Bishop1-1/+1
Gunnar Mills (6): Add Power Usage Page Remove unused chassisPowerOn Set the power cap Add config.json file Remove double variable set Remove 2nd CopyWebpackPlugin var beccabroek (1): Checkbox not selected with 0 log events selected (From meta-phosphor rev: 9568968e0534f24e1a23a2be64706cb089b94dab) Change-Id: I1f4b29550d112d2da6f02c3250ab6e7f578ee301 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31phosphor-logging: srcrev bump 477b731ad0..9fab279fb3Brad Bishop1-1/+1
Deepak Kodihalli (5): documentation: markdown header level fixups Add application to configure rsyslog phosphor-ryslog-conf: add way to disable logging rsyslog-conf: add validation and error handling phosphor-rsyslog-conf: implement restore (From meta-phosphor rev: ea6a3d1ce6e1921e7e729a71c68cbfed3b564676) Change-Id: I97cf268e88b94bcc9efad6991a2291e8cb15d061 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31phosphor-bmc-code-mgmt: srcrev bump 28b2ba4a2d..76c79df3fcBrad Bishop1-1/+1
Andrew Geissler (1): Add -flto to CXXFLAGS Lei YU (3): Make MEDIA_DIR configurable Delete functional BMC id if ACTIVE_BMC_MAX_ALLOWED is less than 2 static layout: Support field mode (From meta-phosphor rev: 1b7c30dcac5dff739a6ccb66ccd20ed632511f9b) Change-Id: If5b70e8c063b86c9ee8dbc6bcd433b52b0a7d5e4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-28Install GPIO definition JSONMatt Spinler2-0/+9
The code in libopenbmc_intf.so looks for the GPIO definition file /etc/default/obmc/gpio/gpios_defs.json. Install it from this recipe. The actual JSON files should go into the corresponding directories in the machine layers along with a bbappend of this recipe to set FILESEXTRAPATHS_prepend. (From meta-phosphor rev: 728258c6a235f75176ea213e671d7a93904ca72a) Change-Id: I3969e005cbdfd04ae8cec1c13c3c3bb625dca574 Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-28phosphor-software-manager: Add ACTIVE_BMC_MAX_ALLOWED configLei YU1-0/+1
For static flash layout, configure ACTIVE_BMC_MAX_ALLOWED to 1, because it has only one active BMC image; For ubi-fs, configure ACTIVE_BMC_MAX_ALLOWED to 2, because ubi-fs assumes there are two BMC images by default. Resolves openbmc/phosphor-bmc-code-mgmt#2 Tested: Verify that ACTIVE_BMC_MAX_ALLOWED is set to 1 for Romulus build, and set to 2 for Witherspoon build. (From meta-phosphor rev: bf3edf1ce09f19836c38c2dd43ab4e50664fc46e) Change-Id: I60e49c14bda25547fde9a2308470ed164ebbd249 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-28phosphor-software-manager: Add MEDIA_DIR configLei YU1-0/+3
Configure MEDIA_DIR to /run/media for static flash layout; Configure MEDIA_DIR to /media which is default for ubi-fs. Resolves openbmc/phosphor-bmc-code-mgmt#3 Tested: Verify that the MEDIA_DIR is set to /run/media for Romulus build, and set to /media for Witherspoon build. (From meta-phosphor rev: f43eb6ee89433e4898cbdb1532963f038419c003) Change-Id: If96c2ee135d314bd6de0cd745c6a871b75183fe1 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-28Make obmc-flash-bmc-setenv common for static and ubiLei YU1-1/+13
Static flash layout will use obmc-flash-bmc-setenv service to set factory-reset env in u-boot, so make it common for both static and ubi flash layout. Tested: Build the image and verify the service and the obmc-flash-bmc script exist in both static and ubi builds. (From meta-phosphor rev: b2c944f13b0f891a7f569f3a9608e3c0de27a462) Change-Id: Ia067cebfe35a9d2d7d2af8b4d1bd4cb5717372ae Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-23phosphor-pid-control.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I10692dea155377dcd8558ae57e69948e6995ded0 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2018-08-22phosphor-webui.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I1c709f716bec80bed0c4dc5b16fa70c809c8cc64 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-22inarp.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I3aa64d678759bcba72bfc093f88d07c5a6bb91ae Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-22phosphor-gpio-monitor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I6622c666a193d8c17b88027d88790fda88e33b96 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-21phosphor-pid-control.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I7ab76637af5a601b92f3fbcd31f5c39af49f6f0d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-21phosphor: Remove 'pflash -i' serviceJoel Stanley2-22/+0
Once upon a time this service was added to initalise the host flash before starting the host firmware, otherwise some systems would not boot. > commit 14f965d8dc806d710218de18357ba7f106484a8e > Author: Andrew Geissler <andrewg@us.ibm.com> > Date: Thu May 11 09:54:04 2017 -0500 > > PNOR init workaround for P8 based systems > > 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. Ever since e7b0fd568ae2 ("Switch userspace to use MTD access by default", October 2017) running pflash hs not done this, as it access the flash through the kernel mtd interface. A machine could chose use mboxd and the mbox protocol on P8 but it is not required to fix this issue. Change-Id: I5c2400063bf776018ef60f2642fb2629c96af0a7 Resolves: openbmc/openbmc#1598 Signed-off-by: Joel Stanley <joel@jms.id.au>
2018-08-21bmcweb.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Icf5868a967bc55e5d45a8b58c80bfb6a1aaf96bd Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-20phosphor-webui.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Id24b1c26d0e91172285f745926d6b0ff538d37f0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-20phosphor-software-manager.inc: bump versionAndrew Geissler1-1/+1
Change-Id: Ia57c246400656cee580f8fd5f249a05ad44c2715 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-20obmc-init: Add factory reset supportLei YU1-3/+17
In obmc-init.sh, there is "clean-rwfs-filesystem" that clean the rwfs during boot, but it backs up the files in whitelist, so it is not a *real* factory reset. Add a new "factory-reset" option, and when it exists, erase the rwfs without restoring files in whitelist. Tested: Set openbmconce=factory-reset in u-boot env, and verify the rwfs is erased during boot without restore; Set openbmconce=clean-rwfs-filesystem in u-boot env, and verify that rwfs is erased with whitelist restored. Change-Id: Ifdc76da46fe273e9c942f30444173e51f8106fcc Signed-off-by: Lei YU <mine260309@gmail.com>
2018-08-17phosphor-snmp_git.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Ibbb72012ce64021300413fa4de7f591eb8ae69a0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-17phosphor-webui.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Ia9b517ccea96d32d65f38eeb38cd132a3023ab66 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-16phosphor-host-postd.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I3e4f730965d0c9ec8743c91b40891310fdad0890 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-16phosphor-webui.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I7ff2e1c95a00c9c5dc62427aca3fe0f1bdf1aa30 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-15bmcweb.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I6f8fca9d7922386a91129a54c9f028d91929a048 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-15bmcweb.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Icb33325493b1bd3dd4f4faf4313cc6918afeceff Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-14bmcweb.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I155c11daa55d454be4eb615d39f907563184c5df Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-13phosphor-software-manager.inc: bump versionAndrew Geissler1-1/+1
Change-Id: Ibd1e9079fb4a20326f64888e2aa49190262ed9c5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-13bmcweb.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I715fa2b0e223986143cba7648e46bcd35eb5dc1f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-11phosphor-webui.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I2a6176fd7dcdb89c94f3e2bc9982143a69882562 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-10phosphor-host-postd.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I9dfe7bd38124eb50949a8bae661f6d99c94ce276 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>