Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
(From meta-phosphor rev: 10371974b405a4450765d0fdf39d835958717c5c)
Change-Id: I40e52bc2818324c89a5c12f0bd1be0f6263519b1
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
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>
|
|
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>
|
|
As part of the transition away from packages with dual native/target
variants where the native variant supplies YAML, add a packagegroup
to contain all of the YAML-only packages.
(From meta-phosphor rev: 9c39fb1e0cd3de5df55bfaa10e8daba591ff402b)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8c7e09f040e90d599903c1923effbf51c259dab6
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|