summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
AgeCommit message (Collapse)AuthorFilesLines
2021-10-03certificate-manager: ship nslcd config from user-manager repoAnton D. Kachalov1-1/+0
This change required as a part of privilege separation work: https://github.com/openbmc/openbmc/issues/3383 This change should be merged after individual repo change: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-user-manager/+/42633 Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I3d68a3cb27f822b05027ef07a89e6c65f6859178
2021-10-03certificate-manager: supply configs from the repoAnton D. Kachalov1-2/+1
This change is a part of the privilege seperation work which is tracked in: https://github.com/openbmc/openbmc/issues/3383 This change should be merged after individual repo change: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-certificate-manager/+/41166 Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I72e4842e7aa6de2ae4bcbdbf00953b7a79a0f414
2021-08-11meta-phosphor: prep for new override syntaxPatrick Williams1-53/+53
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5
2021-07-18Install obmc-mapper.target from obmc-targets packageLei YU1-0/+1
The obmc-mapper.target was installed by phosphor-state-manager package. It works fine if phosphor-state-manager is installed. Unfortunately, x86 systems typically uses x86-power-control instead of phosphor-state-manager to implement the state manager, and the obmc-mapper.target is missing there. So a system with x86-power-control does not have a valid obmc-mapper.target, and the services depdend on the target will be started in unexpected order. The obmc-mapper.target is really a common target, let obmc-targets.bb install it. Tested: Verify the g220a build has a valid obmc-mapper.target and the phosphor-virtual-sensor service starts after the target. Also verify the targets in phosphor-state-manager are not installed. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: Idb069385a6c6c7add5331a1bf3efc0babc005d62
2021-01-30meta-phosphor: obmc-apps: Add telemetryWludzik, Jozef1-0/+6
Added telemetry package to obmc package groups. Added telemetry to image features for easy opt-out. Change-Id: I66be3a545a1ce1cfb2c2c241629168c5b8d56c0d Signed-off-by: Wludzik, Jozef <jozef.wludzik@intel.com>
2020-09-13meta-phosphor: fru-device: add packageBrad Bishop1-0/+6
Add a fru-device package, packagegroup, and image feature. Remove the ipmi-fru distro feature, since adding it in the first place was a mistake - no projects have conditional ipmi-fru feature flags. (From meta-phosphor rev: 4525a9d01a5f65438342a894f27c82f0dd61642c) Change-Id: I6928ac67d4acb4568359a308b45cb0734d116054 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-10meta-phosphor: obmc-apps: Add health monitoringVijay Khemka1-0/+6
Add phosphor-health-monitor packages to obmc packagroups and create IMAGE_FEATURES for easy opt-out. (From meta-phosphor rev: 67a3c577eced35685ec373b30a1419be5f3d3827) Change-Id: I912610933a2e73530e862feff684134dce9dfe99 Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-26meta-phosphor: obmc-apps: Avoid extrasBrad Bishop1-10/+31
Much like CORE_IMAGE_EXTRA_INSTALL, packagegroup-obmc-apps-extras is a dumping ground. Move packages to proper packagroups (bmcweb, ikvm, dbus-monitor, ldap) and create IMAGE_FEATURES for easy opt-out. (From meta-phosphor rev: 7463d6daf6868dcad47070c35c1abaec5cf3d2a5) Change-Id: Ic4209059ac6e22aac18ef95010c7da1439686962 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-14phosphor-image: Avoid CORE_IMAGE_EXTRA_INSTALLBrad Bishop1-0/+16
CORE_IMAGE_EXTRA_INSTALL is a dumping ground. Move packages to proper packagroups (console/sol, rng) and create IMAGE_FEATURES for easy opt-out. Move the ffdc application to the debugging packagegroup. Move the pam-access plugin to the user management packagegroup. (From meta-phosphor rev: 94bf53d44193b6c5d123c462333fdedf91613370) Change-Id: If43af92f9bfcb6e0eef08adefbce077defd90b8d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-14meta-phosphor: systemd-policy: move to systemdBrad Bishop1-1/+0
Don't install systemd policy if: - systemd is not being installed - a non phosphor distro Use RRECOMMENDS for easy opt-out in Phosphor based distros. (From meta-phosphor rev: 2641990831230d85ee7cb5fdc29450ad561a4799) Change-Id: Ie3154cc6ee8d257ffa92463c49d3755a15379663 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-14obmc-phosphor-image: devtools refactoringBrad Bishop1-3/+7
Move i2c tools to the devtools package, right next to gpio tools. Rename extrasdevtools to just devtools. "Extra" doesn't convey any useful information. We can get away with this rename since noone is touching the package. Add an IMAGE_FEATURE for devtools, for easy opt-out. (From meta-phosphor rev: 113fe568c65247e4dc99513b679b74c049178d36) Change-Id: I28e8e6444e7d5d8c5c6b7c0fb6666587027b3a7b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-14obmc-apps: drop empty and unused packagegroupBrad Bishop1-5/+0
(From meta-phosphor rev: 10371974b405a4450765d0fdf39d835958717c5c) Change-Id: I40e52bc2818324c89a5c12f0bd1be0f6263519b1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-07-15phosphor-software-manager: Create a new mmc bbclassAdriana Kobylak1-0/+4
Add a bbclass for the mmc configuration option. (From meta-phosphor rev: 7df4aa01e4d35e6ec7294f08e4bd3f1d18e61f01) Change-Id: I6602362e511bcffae1e185a72861ae1edec050f9 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-10Add phosphor-image-signing if verify_signature is enabledAdriana Kobylak1-1/+0
The phosphor-image-signing adds the public key to the BMC rootfs and it was added if the UBI distro was enabled. The phosphor-software-manager supports signature verification regardless of the choice of BMC layout, so add it based if the signature verification config (verify_signture) is enabled. Otherwise the user would need to know that the package phosphor-image-signing needed to be added if the signature verification config was enabled, which is not intuitive. This way it's done automatically. Tested: Verified that adding verify_signature resulted in the /etc/activationdata/ directory being added to the BMC rootfs, and without it no directory was created. (From meta-phosphor rev: 379f327e91542e7b2c3c4fb6b41b325b1a0a3412) Change-Id: If0137b75f6de3b3087389c98229c85c346804912 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-14packagegroup-obmc-apps: remove rest-dbusPatrick Williams1-1/+0
rest-dbus was being inserted into ${PN}-extrasdev. This is an old python2-based application which is no longer used. Remove the package RDEPENDS to avoid python2 being built. (From meta-phosphor rev: 0d7b7fb556738a23873885dba996ae9667443be2) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I281daa2fcebe0e49d457eba326ca4f6d160cdf40 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-27meta-phosphor: distro: remove obmc-settings-mgmtBrad Bishop1-1/+1
Remove VIRTUAL-RUNTIME_obmc-settings-mgmt. phosphor-settings-manager is the de-facto standard for settings management in OpenBMC. This is a minor improvement to ease of consumption and comprehensibility. If a popular alternative to phosphor-settings-manager emerges, revisit the need for this abstraction then. For un-popular alternatives, bitbake still provides the means for doing this entirely in downstream layers. (From meta-phosphor rev: a71cf481ef2f836c839542818e03eda058bc5ef9) Change-Id: Id563e252c14627e5842c9353e0631901be876326 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
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-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 Bishop1-1/+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-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 Bishop1-0/+133
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>