summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
Commit message (Collapse)AuthorAgeFilesLines
* meta-phosphor: Move layer content from common/Brad Bishop2018-09-061-133/+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>
* Move phosphor overrides of systemd into own recipeAndrew Geissler2018-07-241-0/+1
| | | | | | | | | | | | | 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>
* phosphor-software-manager: Create new UBI bbclassAdriana Kobylak2018-07-161-0/+1
| | | | | | | | | | | | | | | 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>
* logging: virtual refactoringBrad Bishop2018-04-041-0/+6
| | | | | | | | | | | | 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>
* Add image signing framework and open keysEddie James2018-03-301-1/+3
| | | | | | | | | | | | | | | | | | | | | | 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>
* Clean up stale obmc-phosphor-utils referencesBrad Bishop2018-03-231-1/+0
| | | | | | | | | | | 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
* Make host-check a part of host state functionAndrew Geissler2018-03-151-5/+0
| | | | | | | | | 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>
* Convert obmc-ubi-fs to a distro featureBrad Bishop2018-03-121-6/+9
| | | | | | | | | | | | | | | 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>
* Remove legacy settings serviceAndrew Geissler2018-02-281-1/+1
| | | | | | | | | xyz.openbmc_project.Settings has replaced this function Resolves openbmc/openbmc#2339 Change-Id: Ifec6a2fda088c4631e3835d3276a54e09b5d7147 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Don't load non-UBI flash packages on UBI systemsAndrew Geissler2018-02-231-0/+8
| | | | | | | | | | | | | | | | | | | | | | | 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>
* Move obmc-pydevtools to tools packageAdriana Kobylak2017-11-281-0/+5
| | | | | | | | | | | | | | | | 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>
* Enable support for usecase specific bash script invocationMarri Devender Rao2017-10-261-0/+1
| | | | | | | | | | | | 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>
* Add recipe for phosphor-user-managerVishwanatha Subbanna2017-10-241-0/+6
| | | | | | | | | | 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>
* Incorporate dreport script into appropriate imageJayanth Othayoth2017-08-141-0/+1
| | | | | | | | | | 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: make version a virtual pkgPatrick Williams2017-08-101-1/+0
| | | | | | | | | | | | | 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>
* Add changes in the recipe for the new network managerRatan Gupta2017-07-121-0/+6
| | | | | Change-Id: I03382dbcbd350d7e3a8991633b4548658e4e4b1e Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Add recipe for phosphor-dbus-monitorBrad Bishop2017-06-261-0/+1
| | | | | | | | | | | | 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>
* Create a new package for the phosphor-dump-monitor.Jayanth Othayoth2017-06-121-1/+2
| | | | | Change-Id: I7f61a48b31d2997c1710c7d0bdde387e5c41a598 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Create recipe files for phosphor-cooling-typeBrandon Wyman2017-06-081-1/+0
| | | | | | | | | | | 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>
* Add recipe for the new settings managerDeepak Kodihalli2017-06-021-0/+6
| | | | | Change-Id: I28b3454c0066649b0c163616247f9ca1bbf3abb3 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Create a new package for the phosphor-image-updaterGunnar Mills2017-05-241-0/+1
| | | | | Change-Id: I9a5b8977072c30d7c2c8a8402ca5bf627d8b79bd Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* leds: package the FRU fault monitor application.Dhruvaraj Subhashchandran2017-05-191-0/+1
| | | | | | | Resolves openbmc/openbmc#941 Change-Id: I3e5672af468185f6bae50c438820a10d57d60d55 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* Fix a failure building phosphor-debug-collectorVishwanatha Subbanna2017-05-121-0/+1
| | | | | Change-Id: I2724bcadc0a44c2f2d6c59e8c481e9d7e16e59a9 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Install phosphor-fan-monitor app and serviceMatt Spinler2017-05-121-0/+1
| | | | | | | Resolves openbmc/openbmc#1346 Change-Id: I9abac19b18b02158ff4fdae6e94406b64957cefb Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Install phosphor-fan-control app and serviceMatt Spinler2017-05-111-0/+1
| | | | | | | | | | | | 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>
* Add recipe for Phosphor Debug collectorJayanth Othayoth2017-05-111-0/+4
| | | | | | | Resolves openbmc/openbmc#1503 Change-Id: Id42d8c5042af4a9a74a9a284f3601989a65c5054 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Add phosphor-host-check and required host servicesAndrew Geissler2017-05-091-0/+6
| | | | | | | | 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 groupBrad Bishop2017-05-051-0/+9
| | | | | | | | Add a fan control package group for applications implementing fan control algorithms. Change-Id: Ida2146465ef1c18832550e91d5c749cfa21ee171 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* phosphor-software-manager.bb: create new packageDeepak Kodihalli2017-05-051-0/+1
| | | | | | | | | 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>
* Recipe for phosphor-discover-system-stateMichael Tritz2017-05-051-0/+1
| | | | | | | | | | | | 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 stub for phosphor-chassis-cooling-typeBrad Bishop2017-04-171-0/+1
| | | | | | | | 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>
* Add phosphor-fan-presence to bitbakeMatthew Barth2017-03-151-0/+1
| | | | | | | | 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>
* image: Use VIRTUAL-RUNTIME for state pkgsBrad Bishop2017-03-061-0/+18
| | | | | | | | | | | | 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>
* Add phosphor-led packages to all imagesBrad Bishop2017-02-281-0/+2
| | | | | Change-Id: I2eb0c70941c78d99d087f5af8d8762fa8a610ddf Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add software package groupGunnar Mills2017-02-161-0/+6
| | | | | Change-Id: I98e19c8a7621aad18a91cb83c02b6011e0375885 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Add inventory, led and sensors package groupsBrad Bishop2017-02-141-0/+17
| | | | | | | | | | | | | | | | | 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>
* Rename packagegroup-phosphor-appsBrad Bishop2017-01-201-0/+22
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>
OpenPOWER on IntegriCloud