summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/packagegroups
AgeCommit message (Collapse)AuthorFilesLines
2019-10-03sysd_monitor: Add in new systemd target monAndrew Geissler1-0/+1
This new service will monitor for default phosphor systemd targets and log errors Tested: - Verified basic function in Romulus QEMU - Verified no error logged during boot, bmc reboot, or power down on witherspoon - Verified when service fail injected, appropriate error was logged on witherspoon (From meta-phosphor rev: e36b727c20c433cc02a5e9415b7df867e8443512) Change-Id: I8a3ab440f67f7e9b3a682d8645c34fa446a6119f Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-23phosphor-base: All images should use dbus-brokerWilliam A. Kennington III1-1/+0
All of our images use systemd for booting, so we should deploy dbus-broker everywhere. (From meta-phosphor rev: f8196005aefa15dd249ff72036f717b629c8bd4e) Change-Id: I3010e367a79d782db31050979f5f1bdd30944a11 Signed-off-by: William A. Kennington III <wak@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-20Add LDAP and Authority certificate services to common layerMarri Devender Rao1-0/+2
Moving LDAP and Authority instances of certificate manager to common layer from meta-ibm layer. As bmcweb implements Certificate schema which caters for uploading HTTPS, LDAP and Authority certificates and is available for everyone, certificate manager services also need to be made available to everyone. (From meta-phosphor rev: 1f2e5dccaeb773bc30b5c81b83c7a5686775970d) Change-Id: If05976f94ae8b168d0b93a0df48aaf35b4f3269b Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-13include bmcweb-cert-config the same as bmcwebEd Tanous1-0/+1
bmcweb Redfish certificate service in this review: https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/18545 Will require phosphor-bmcweb-cert-config to function correctly. Move the location that this is included to ensure that they are included together. Tested: built image with aformentioned patch. observed that GET /redfish/v1/Managers/bmc/NetworkProtocol/HTTPS/Certificates/1 no longer throws 500 errors on image types that are not exactly obmc-phosphor-image targets. (From meta-phosphor rev: 80c1e1a4a052f23e05d87d9dce0aa57d9627005e) Signed-off-by: Ed Tanous <ed.tanous@intel.com> Change-Id: I98cd1b07fb6b3050ac3c95609fbbcdc71943a7bd Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-10libgpiod: Enable CXX HeadersJames Feist1-1/+1
Add CXX to packageconfig and change the devtools to RDEPEND on libgpiod-tools instead as they are the actual tools. Without changing it to the tools when we enable cxx the tools do not by default get installed by Yocto. Tested: gpioinfo still functioned properly on BMC, and was able to bitbake package using CXX headers for dbus-sensors. (From meta-phosphor rev: 76d4c46294c83ea0240a319b4e74c06b57dc51c1) Change-Id: I5143130bbfbe97f8af4818231d502f36f88fe4ae Signed-off-by: James Feist <james.feist@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-29rsyslogd: Install default server configSantosh Puranik1-1/+0
This reverts commit 37bc1a3568f2e87987be05243627a984dc051de1. In addition, it changes the default rsyslog server config to ignore all messages. Also bumps up phosphor-logging: phosphor-logging: srcrev bump f59854e94b..0a0b5ea558 Santosh Puranik (1): rsyslod: Change disable action Tested: Verified that the default rsyslog behavior is to now ignore all messages. (From meta-phosphor rev: 138108a05f68ada8b990024bbaa8b68b135d6aeb) Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com> Change-Id: Iba11dfa153eaeef17417c82ab26f9a26fe5f9125 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-09Remove legacy BMC code update servicesLei YU1-5/+1
The services in obmc-flash-bmc and obmc-mgr-download are deprecated, remove them. Tested: Verify the legacy services are not built; and code update works with APIs described in https://github.com/openbmc/phosphor-dbus-interfaces/tree/master/xyz/openbmc_project/Software (From meta-phosphor rev: 005193d919d7d05c1dd83e9fa429805badf9ef15) Change-Id: Ia462768c51ba5ed1cc1d8523552f6c9570b0877e Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-22libgpiod: Add in package for gpio dev toolsAndrew Geissler1-0/+1
This replaces the python based gpioutil tool and provides the needed commands for developer debug of the gpio subsystem Tested: Booted up image in Romulus, verified basic commands worked root@romulus:~# gpioinfo | grep -v unused gpiochip0 - 232 lines: line 27: unnamed "nic_func_mode0" output active-high line 28: unnamed "nic_func_mode1" output active-high line 67: unnamed "sysfs" input active-high [used] line 73: unnamed "sysfs" input active-high [used] line 74: unnamed "checkstop" input active-low [used] line 106: unnamed "fault" output active-low [used] line 108: unnamed "identify" output active-high [used] line 135: unnamed "id-button" input active-low [used] line 139: unnamed "phosphor-hwmon" output active-high [used] line 141: unnamed "power" output active-low [used] line 151: unnamed "seq_cont" output active-high (From meta-phosphor rev: c078701ce0bc0399e66809826832879268d9467d) Change-Id: Id7e425d67b0f5b2a58076783717be17a55784100 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-16Add obmc-ikvm application to the apps packagegroupEddie James1-0/+1
The obmc-ikvm application is a daemon to control IpKVM functionality. (From meta-phosphor rev: 6ace8c0a1b7510b748a9e6e8412647e126209e30) Signed-off-by: Eddie James <eajames@us.ibm.com> Change-Id: I856e009ed6fef6d02bd28bcecde09168a1bd114e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-16obmcutil: Add 'sh' version, remove python versionAnthony Wilson1-0/+1
obmcutil was moved from skeleton to state-manager and converted to 'sh'. obmcutil-completion.sh no longer needed in pydevtools. Add recipe for new repo `phosphor-power-control` to install chassiskill. Adds the phosphor-power-control apps to the chassis-state-mgmt packagegroup. Install the components associated with the phosphor-state-manager package into bin. phosphor-state-manager: srcrev bump 32c532ea9b..19096267d4 Alexander Filippov (1): obmcutil: add more info to state subcommand Anthony Wilson (2): obmcutil: Add to 'make install' list obmcutil: Add chassiskill option Patrick Venture (2): build: pkg anti-pattern: use defaults build: install into bin instead of sbin (From meta-phosphor rev: 3492fb98c0a181a1c2adaae9682ef66683407241) Change-Id: Id0afaa80d1fa0c309d3d6d3483c40d26351f5f06 Signed-off-by: Anthony Wilson <wilsonan@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-15meta-phosphor: Add a hint for ipmi whitelistsBrad Bishop1-0/+4
Add additional providers with whitelists to distro or machine configuration and not in recipe context (bbappend) otherwise ipmid will not know about whitelists. (From meta-phosphor rev: 997610111f30b51742478258aa9b5513f10901e9) Change-Id: I652935f62485371f5abb517832cbf2284db8e08b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-02-01meta-phosphor: Replace phosphor-rest with bmcwebEd Tanous1-1/+1
This patchset replaces the python based phorphor-rest implementation with bmcweb, a c++ implementation. bmcweb has several advantages to phosphor rest, and should be the default implementation for new BMCs. Some of the advantages include: 1. Authentication and authorization is based on PAM 2. Its written in a compiled language, which gives it more applicability for low resource systems with lower memory. 3. It replicates all the existing phosphor-rest interfaces. 4. Smaller binary size. The bmcweb binary compresses to 800KB at last measure. 5. bmcweb implements a compliant redfish interface, which phosphor-rest does not. 6. bmcweb has a selectable build, so features can be enabled/disabled per platform as needed. (From meta-phosphor rev: 7bfe2964d1c263d7104fcaabc42806ad0bcff331) Change-Id: I4a9b5169c2151de633b5227612f15a9e7a771683 Signed-off-by: Ed Tanous <ed.tanous@intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-20Add new LDAP config packageNagaraju Goruganti1-0/+1
Package app phosphor-ldap-conf. This app implements an API to update the LDAP config file i.e /etc/nslcd.conf. This commit also creates a file:/etc/nslcd.conf.default, which is to be restored as /etc/nslcd.conf when we disable LDAP configuration. (From meta-phosphor rev: 6d7f640d702b5853268bec58e8529516e7884493) Change-Id: I7183652732c2200b5cc0a644ddb179c8784eb0fb Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-09meta-phosphor: master refresh c9d91120a2..1795f38b6fBrad Bishop1-0/+6
Update meta-phosphor to master HEAD. Adriana Kobylak (2): rsyslog-policy: Add rsyslog-override.conf Move remote logging features to their own category Brad Bishop (2): phosphor: rsyslog: remove obmc-phosphor-license phosphor: mrw-api: fetch all of serverwiz Change-Id: Ic342bda5d19272b2806f65c7082189d4a79c69d8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-07meta-phosphor: Move to dbus-brokerEd Tanous1-0/+1
Dbus-broker is an alternative implementation of the dbus-daemon that is oriented around reducing abnormal conditions, and increasing the performance of the dbus daemon process. In practice, this seems to make a world of difference in performance. A testing of a smattering of user facing interfaces shows improvements across the board: 1. 7 second improvement in boot time to BMC Ready change. 2. Dbus based ipmi sensor reading implementation gains a 120% speedup (20 seconds down to 8) 3. Redfish thermal schema goes from 550ms time to first byte, to 400ms time to first byte. Negatives as they apply to OpenBMC 1. Debug: dbus-broker loses the ability to directly implement DBus over TCP. To my knowlege very few people use this for anything other than debug, and even for debug, its usefulness is limited. It's very likely that an implementation of socat could bridge this gap. 2. Support. Very few other linux implementations have moved to dbus broker, so there is the possibility that we will find a critical flaw or bug that others haven't hit get. This seems relatively unlikely, given the widespread usage of this project already. Tested By: Booting system, and testing a variety of user facing interfaces. No issues found. Requires Williams patch cherry picked ontop of oe-core: http://cgit.openembedded.org/meta-openembedded/commit/meta-oe/recipes-core/dbus/dbus-broker_git.bb?id=e4baf298cd658b37fd90134dc54a92c75fd117d9 (From meta-phosphor rev: 72615f5614abba33a14d68afdb9010c93f3a1ea3) Change-Id: Iabac84c93253aa96c7735db4f1e0755d37e6c3db Signed-off-by: Ed Tanous <ed.tanous@intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-04ldap: Pull nss-pam-ldapd into the openbmc imageRatan Gupta1-0/+1
Bringing the LDAP authentication module support in openbmc stack requires to pull the nss-pam-ldapd which allows the LDAP server to provide the user, passwd, group info that we normally get from the /etc flat files. nss-pam-ldapd provides libnss-ldap and pam_ldap module which delegate the work to the nslcd(daemon) that queries the LDAP server. pam_ldap uses the openldap client API to interact with the LDAP server. nss-pam-ldapd files are pulled from http://git.yoctoproject.org/cgit/cgit.cgi/meta-cloud-services/ tree/recipes-support/nss-pam-ldapd meta-cloud-services sha: 38cc19fb3a813673051de314aafabda0545d8466 Tested: Adding the "ldap" distro feature brings the nss-pam-ldapd and its dependencies into the image and removing the "ldap" from the distro feature doesn't bring the nss-pam-ldapd and its dependencies. (From meta-phosphor rev: 4835bb3901a4bff777a97d4f363e3a731b87f21c) Change-Id: Ifa5da20e7ac47b0c9d9af305ae621252e6d765f3 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-01packagegroups: Remove obmc-phosphor-licenseBrad Bishop3-3/+0
This class is on its way to being deprecated, and oe-core packagegroups don't have a LICENSE specified in the recipe. Adopt the same semantics for meta-phosphor. (From meta-phosphor rev: 72c0635ff972e51d502c43ae7de6e775a6bb5aa0) Change-Id: I601ae5c5618cd098459baebbd5109972b52385e7 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-18Move screen package to debug tarballAndrew Geissler1-0/+1
This was used a long while back for a console but it's now only used for occasional debug. Tested: Verified QEMU booted to ready state and screen tool not in image. Verfied it is now in debug tarball. (From meta-phosphor rev: 773ad6892bcfc42fa9902af5e6f97e02a4993310) Change-Id: Ib1b9bae89fe0253fdc2ea173f6b0c0842d40d005 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-07Add new logging packageDeepak Kodihalli1-0/+1
Package app phosphor-rsyslog-conf. This app implements an API to update the rsyslog config. (From meta-phosphor rev: f99f3c8b4e3b364b0d1afacc144a31cccb8772da) Change-Id: I06b68329d258782bba52a93f4f6431ba94783e53 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-07Pull rsyslog into imageDeepak Kodihalli1-0/+1
The intent is to use rsyslog for streaming journal logs off of the BMC. Since this is the only intent (i.e at the moment there's no requirement to employ rsyslog for local logging), modify rsyslog.conf accordingly. (From meta-phosphor rev: a549e7540ede46686c5011ac2f7209704643a2d6) Change-Id: I01d7dbd648da82536085f7586efcd7f1c7dd8ae0 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-06meta-phosphor: Move layer content from common/Brad Bishop3-0/+159
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>