Age | Commit message (Collapse) | Author | Files | Lines |
|
Phosphor specific overrides to systemd should be stored
within its own recipe and pulled in via the phosphor layer.
This helps distinguish systemd specific overrides with
phosphor overrides.
Tested: Verified service-restart-policy.conf was still
pulled in as expected in witherspoon QEMU
Change-Id: I32110fc2edd3abd2bb0008c63dd4ad7828b762b8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Remove from the base phosphor-software-manager recipe everything
that is conditional in the ubi-fs distro feature and put it
in its own class.
This allows for the base recipe to be cleaner and for future
specific packages to be added conditionally.
Tested: Built witherspoon and romulus and verified only
witherspoon contained the UBI-specific files.
Booted a witherspoon and a romulus qemu.
Change-Id: I2a783abc6152aadcf212a35f0060409f8dac2241
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
latencytop was dropped upstream. Reference oe-core commit
36aae56e7f86a4d5ce93e4528e7dcc42f60c705e.
Change-Id: I90c11193476ab1e1bb8d71893445a87e45a0bd89
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Remove the phosphor-logging virtuals. They were unused.
Add a logging packagegroup so other layers can add additional
logging applications predicated on the logging distro feature
being enabled.
Change-Id: Ic82843cb2b1229df55005bad93576c14f468073b
Tested: Built witherspoon, palmetto and qemu images
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
In order to secure the BMC, we need to sign all the images and include a
public key in the package with which to verify future update images.
This commit adds a framework to sign the image files with an open
private key and generates a corresponding public key added to the image.
This isn't secure by itself (since the private key is available), but
additional changes can easily provide their own private key, creating a
secure BMC.
To use a secure private key:
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE SIGNING_KEY"
SIGNING_KEY=/path/to/secure/key bitbake obmc-phosphor-image
Resolves openbmc/openbmc#2835
Resolves openbmc/openbmc#2836
Resolves openbmc/openbmc#2837
Change-Id: I28919b7de54e3a32e5efcbb4522fb39731e68384
Signed-off-by: Eddie James <eajames@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
There were a number of places that inherited this class but did not
use it. A number of classes that did use it did not inherit it.
This was possible because the class was pulled in by the distro
configuration but that has been removed here as well.
Tested: Built and verified a witherspoon image
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I73511cdcc609875b4fe016967c1b84c5200fb703
|
|
In the previous review it was noted that it didn't make much sense
for host-check to be it's own provided function in OpenBMC. It's more
of a recommended piece of the base host state function.
Change-Id: I024472e96ea00f411e8348e0221c210f84700019
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
As with MRW the use of the UBI image scheme is distro policy.
Convert the existing machine feature to a distro feature.
Enable the new distro feature on the systems that use
it(Witherspoon).
Add a distro override and fix-up MF checks to use this override
instead for improved readability.
Tested: Built a Witherspoon image and validated image
Change-Id: I8ab03115bbfc2ecc77cff5c9eb8628903ae88051
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
xyz.openbmc_project.Settings has replaced this function
Resolves openbmc/openbmc#2339
Change-Id: Ifec6a2fda088c4631e3835d3276a54e09b5d7147
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Two un-needed applications are getting installed and started on
UBI enabled systems:
- download_manager.py (obmc-mgr-download.bb)
- bmc_update.py (obmc-flash-bmc.bb)
Remove these if it is a BMC UBI enabled system.
Moved all of the BMC flash logic to the phosphor layer where
it really belongs since the ability to update your OpenBMC
should come by default when bringing in phosphor.
Tested: Verified 2 python applications not present on witherspoon and
system boots and code updates fine. Verified romulus image still had
python applications and made it to Ready states.
Resolves openbmc/openbmc#2480
Change-Id: I42317ece1b75fd6bb05e766e486dfecdb7d4ccf3
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The sensor config recipe is a native recipe. Native recipes
do not build packages and therefore cannot be a packagegroup.
Do not inherit packagegroup and remove references to variables
without meaning in native context like PACKAGES.
Rename the recipe to reflect its status as a native recipe.
Move the recipe to the ipmi namespace since it isn't a packagegroup.
Fix up the associated bbappend in the OpenPower layer.
This eliminates a number of "manifest-foo:populate_sysroot not
found" build warnings.
Change-Id: Id56896efaa7e11a2427047d896ee36e69139de31
Tested: Built a witherspoon image
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Note this doesn't *quite* work: ncurses is missing from the debug tools
tarball and so the application can't execute. The issue is captured in:
https://github.com/openbmc/openbmc/issues/2430
Until that's resolved you'll have to copy the library to somewhere
accessible and put the symlinks in place if necessary.
Change-Id: I1dd5239cb8b86d7a79f2591f241695e4f9122c68
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
The current dual-use of packagegroup-ipmid-providers as a
dependency insertion point for both native (whitelists) and
runtime (provider libs) doesn't work under Yocto 2.3.
Move the ipmi provider configuration from recipe scope to
the global configuration scope so we can continue to avoid
dually maintaining whitelist and provider lists _and_ build
under Yocto 2.3.
Also rename OBMC_IPMID_PROVIDERS with the more conventional
VIRTUAL-RUNTIME_phosphor-ipmi-providers.
Change-Id: I1acce0b08047cba2312f60542942cccbcff66aec
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Create a new development tools package and move the obmc-pydevtools there
so they're no longer in the extrasdev development feature package.
The reason is that the extrasdev contains features that are desirable to
be removed from production systems, such as the rest-dbus. On the other
hand the pydevtools are binaries that are useful to have even in
production systems, so makes sense to put them in a separate tools
category.
Resolves openbmc/openbmc#2571
Change-Id: Ia66bf6e83d920818c8c355ec9d01a047583b82c0
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
Resolves openbmc/openbmc#2037
Install dreport, dreport.conf, plugins
Parse the scripts to fetch config value
Create user directories based on config value with
softlinks to the plugins
Change-Id: If1bdefca362a282132364306b26eecb4b7003390
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
|
|
Removed the obmc-phosphor-user and put the new one
Also, removed the usage of PREFERRED_PROVIDER and replaced by
VIRTUAL_RUNTIME for this feature
Change-Id: I6f0825f8d51eecb9c666a95d9fd702a8ea8bb08b
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
dreport provides mechanisms to collect various log files
and system parameters in compressed tar file format.
This data can be used to troubleshoot problems in
OpenBMC based systems.
Change-Id: I18007a8792344d345478aea73501c2959533d14c
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
phosphor-software-manager-version provides a set of dbus
interfaces that are only useful if there is an 'updater'
package also installed. Rather than explicitly install
phosphor-software-manager-version, have it RPROVIDE a
virtual package and set up RDEPENDS correctly so it is
added to the image whenever an 'updater' package is
installed.
Change-Id: Id6850aca023bb546881fe1583c57d9a24405e25a
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Change-Id: I270a62022340d6be382091a6595859dafdb634ae
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
|
|
Change-Id: I074b48a44f2f93bf5cfdaf1ef573d67887cb4ccb
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
|
|
lmsensors contains the 'sensors' command, the standard method for
reading hwmon nodes and reporting information.
Change-Id: I2a3f3a925d06cd22b12f33f2e4090ecaf2cca44a
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Change-Id: I03382dbcbd350d7e3a8991633b4548658e4e4b1e
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
|
|
Add a recipe for the phosphor-dbus-monitor application.
phosphor-dbus-monitor is a YAML driven dbus event -> response
application.
Resolves: openbmc/openbmc#1303
Change-Id: If27ab0b73ec23e9f15150e98d5798a41f28435df
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change-Id: I7f61a48b31d2997c1710c7d0bdde387e5c41a598
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
Adding service file for this application. Environment file for Witherspoon.
This is currently the only system known to really need this check for water
cooling property to be set/updated.
Resolves openbmc/openbmc#370
Change-Id: I978de38d09111c38d77e1ca4b287724243acf0a9
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
|
|
Change-Id: I28b3454c0066649b0c163616247f9ca1bbf3abb3
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
|
Change-Id: I9a5b8977072c30d7c2c8a8402ca5bf627d8b79bd
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
Resolves openbmc/openbmc#941
Change-Id: I3e5672af468185f6bae50c438820a10d57d60d55
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
|
|
Change-Id: I2724bcadc0a44c2f2d6c59e8c481e9d7e16e59a9
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
Resolves openbmc/openbmc#1346
Change-Id: I9abac19b18b02158ff4fdae6e94406b64957cefb
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
Also move the fan presence and fan control services
into obmc-power-chassis-on.target so they start as
soon as power comes on so it covers cases when the
boot stops at obmc-chassis-poweron.target.
Resolves openbmc/openbmc#1445
Change-Id: Idc271a2d770d85bc1a4d51d8d1473ca8d0c73889
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
Resolves openbmc/openbmc#1503
Change-Id: Id42d8c5042af4a9a74a9a284f3601989a65c5054
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
This application and services will be used by the host reset service
to determine if the host is running after a BMC has been rebooted
Change-Id: I8299546b0f275ebbb46aa775ab7b0633cc3fd5e0
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
Add a fan control package group for applications implementing
fan control algorithms.
Change-Id: Ida2146465ef1c18832550e91d5c749cfa21ee171
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Create a new package for the phosphor-download-manager.
Update dependencies for phosphor-software-manager.bb.
Change-Id: Ieb44e0e7314ec30c1cdb2d7e9d05931b0674eff6
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
|
This recipe will add the new program phosphor-discover-system-state
to new builds. Additionally, the old Python state manager is
removed from the build since discover_system_state.py was the last
thing in it.
Resolves openbmc/openbmc#773
Change-Id: I99ba0f1f0264cedebc5a9a7e5fa5dbaba0b79502
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
|
|
Add a stub recipe for this package under development. Add the libev
package to all images via runtime dependency.
Change-Id: I59ed1a556f08979a70d506d38a9bf267c3e9a220
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
These recipe changes will add the package
phosphor-logging-test to the debug image recipe.
Change-Id: Id0f3e2ee0ec2ebe421586ced928d60c73cbe9b8c
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
|
|
Created phosphor-fan-presence recipe along with service file to run the
phosphor-fan-presence-tach daemon.
Change-Id: I7211d51eaf48648e7bf2f838edee49ecadb534fb
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
|
The correct idiom for modeling runtime only virtual implementations
with no build time API is to use VIRTUAL-RUNTIME in favor of
PREFERRED_PROVIDER.
Update the state management management applications accordingly
since they fall into this category.
Change-Id: I8f0092a38da4ea0741dd0f464b71f4ea12d12019
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change-Id: I2eb0c70941c78d99d087f5af8d8762fa8a610ddf
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
ipmi-whitelists were not working correctly when restored from sstate
due to incorrect path locations in the bbclass. Files being installed
with the do_install step were not associated with the package because
they were placed in the wrong directory. By placing in the right
directory, they are placed into the sstate file and restored correctly.
The files were also installed into /etc and move to /usr/share. This
matches what is being done for the mrw files (see
phosphor-ipmi-fru.bbclass for example).
Change-Id: I1881d383d4d9d7d3098411fa83c85e49c3a08560
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Fix dependency between whitelists and ipmi-host by adding an
explicit recipe-task dependency.
Resolves openbmc/openbmc#1197.
Change-Id: Ic33fa3e9b3519935500c718f203b989b6c423684
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
The IPMI whitelisted commands for phosphor-ipmi-fru and openpower-ipmi-oem
is added. Only the IPMI whitelisted listed commands are allowed in
restricted mode.
The IPMI whitelisted commands for phosphor-ipmi-fru and openpower-ipmi-oem
are added as native packages and host-ipmid depends on those.
Change-Id: Ic4184773656567eb0dffa30ef29f8bc3ced3aff4
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
|
Change-Id: I98e19c8a7621aad18a91cb83c02b6011e0375885
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
Add inventory, leds and sensors categories to the obmc-apps
packagegroup.
Add virtuals and mark Phosphor apps as providers:
-obmc-inventory-manager
-obmc-leds-manager
-obmc-leds-sysfs
-obmc-sensors-hwmon
Add legacy applications to these groups in the OpenPOWER later until
they are fully deprecated.
Change-Id: If3ae7c83ccd03e21adbca4653c1e803566b502de
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This ipmid plugin is a reference implementation, so add phosphor
to the name.
Additionally remove 'host' as this plugin could be used in an
out of band context.
Change-Id: I604f0e57cf9d93ce1baaa6cdd223254d01330a23
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Rename to packagegroup-obmc-apps as this recipe provides structure
as opposed to reference implementation (Phosphor).
Change-Id: I0e0aa51453d35dce675874ffaf3ea497d097ed1a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
These are useful for diagnosing issues with network devices.
net-tools is brought in for mii-tool.
Change-Id: Ib47e7a7498a5f999ffa86a343191e9fcd6dd0a87
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Add a distro/machine feature for Host IPMI.
Change-Id: I873e5a37236ab408890e967109f16bc1926503be
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|