summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/classes
Commit message (Collapse)AuthorAgeFilesLines
* Specify len() of object by converting to listSaqib Khan2017-03-161-2/+2
| | | | | | | | Helps resolve the following error in python3: TypeError: object of type 'filter' has no len() Change-Id: Id607186baeacc3802f651d5cb72af82d0c10115b Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Replace iteritems() with items() in systemdSaqib Khan2017-03-161-1/+1
| | | | | | | | Deprecated iteritems() method is not forward-compatible with python3 and is replaced by items() Change-Id: Ic6b57da360149c378118673b966bde189d8e2493 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* obmc-phosphor-image.bbclass: Remove inarp from default buildJohn Wang2017-03-161-1/+0
| | | | | | | | | | | | | | This service was implemented for Barreleye to send out the ARP packet for BMC discovery. We can remove it from default build since it's not necessary for other platforms. Also need to inherit obmc-phosphor-systemd so it can be installed once built in on specific platform. Resolves openbmc/openbmc#1306 Change-Id: I20865177aa939fb729d15e9ba373c80ff8ea59bf Signed-off-by: John Wang <hsienchiang@gmail.com>
* Add virtual/phosphor-logging-calloutsDeepak Kodihalli2017-03-161-0/+1
| | | | | | | | | | | | | | | This virtual generates mappings between sysfs device paths and inventory items. Add a native recipe that builds the configuration from MRW. Set this recipe as the default for OpenPOWER systems. Resolves openbmc/openbmc#1093 Resolves openbmc/openbmc#1249 Change-Id: If67b4ef0850910a076ca212197a4bd0e704d0266 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add virtual/phosphor-ipmi-sensor-inventoryRatan Gupta2017-03-161-0/+1
| | | | | | | | | | | | | | This virtual provides a YAML file that serves as sensor inventory configuration for phosphor-host-ipmid. Add a native recipe that builds the configuration from MRW. Set this recipe as the default for OpenPOWER systems. Resolves openbmc/openbmc#781 Resolves openbmc/openbmc#1212 Change-Id: I25034dd3ed825e2ef320ab0b38ac2f733afded47 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* skeleton-rev.bbclass: bump versionPatrick Williams2017-03-141-1/+1
| | | | | Change-Id: I468dc8928d0d8133f41c5c9abdc2634fbfd0745c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* skeleton-rev.bbclass: bump versionPatrick Williams2017-03-091-1/+1
| | | | | Change-Id: I5fb8e148c527c8cf0a285f824cc898ce953a8b96 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* mrw-rev.bbclass: bump versionPatrick Williams2017-03-091-1/+1
| | | | | Change-Id: I617ece78cd9e7f296ecf0f441405e6e48bdfd8c4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* skeleton-rev.bbclass: bump versionPatrick Williams2017-03-091-1/+1
| | | | | Change-Id: I56697e33d0559da9d39a22d811377fcd402c2635 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* obmc-phosphor-image: disable /etc/version filePatrick Williams2017-03-061-0/+7
| | | | | | | | | | | | | | The /etc/version file is created by image generation with the timestamp of when the image was built. This is not useful to users and they should instead use /etc/os-release. There appears to be no way to disable the version file. Per the following email, delete it as part of the ROOTFS_POSTPROCESS_COMMAND: https://www.mail-archive.com/yocto@yoctoproject.org/msg33555.html Fixes openbmc/openbmc#1232. Change-Id: I78b3f31477c8490312be253eb363c4aafadf486c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* skeleton-rev.bbclass: bump versionPatrick Williams2017-03-061-1/+1
| | | | | Change-Id: I9bec4d5d5a5c4087cdf5bc40e3fc53bca292c04e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* mrw-rev.bbclass: bump versionPatrick Williams2017-03-061-1/+1
| | | | | Change-Id: I20be9aa1afee8d165d6812640036677e8996f455 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* image: Use VIRTUAL-RUNTIME for state pkgsBrad Bishop2017-03-061-3/+3
| | | | | | | | | | | | 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>
* skeleton-rev.bbclass: bump versionPatrick Williams2017-03-011-1/+1
| | | | | Change-Id: Ie261b5d7d9ee88aa9a93e7d52da9755b1c66d641 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* ipmi-whitelist: fix compile issuePatrick Williams2017-02-241-2/+2
| | | | | | | | | | | | | | | 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>
* mrw-rev.bbclass: bump versionPatrick Williams2017-02-241-1/+1
| | | | | Change-Id: If3f9f80b249c7710e9167bbc1990143ee5805763 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Change how hwmon.pl is invoked for MRW systemsBrad Bishop2017-02-241-41/+0
| | | | | | | | This minor tweak removes the need for MRW using systems to append the phosphor-hwmon recipe in their layer. Change-Id: I3d9dcfff452e26d191df37ae7d759c6c2c3f2cd4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* phosphor-ipmi-host.bb: bump versionTom Joseph2017-02-241-1/+1
| | | | | | | | | | | 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>
* Add virtual/phosphor-ipmi-fru-propertiesDeepak Kodihalli2017-02-231-0/+1
| | | | | | | | | | | This virtual provides an output file in YAML format, which has property:value pairs for FRUs of interest. Add a native recipe that builds the configuration from MRW. Set this recipe as the default for OpenPOWER systems. Change-Id: Icc816b777189a48aff79a958f38ad22d7002bfdc Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* mrw-rev.bbclass: bump versionPatrick Williams2017-02-231-1/+1
| | | | | Change-Id: I9f5e377862460003038a41062ac30fc149da35ee Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* skeleton-rev.bbclass: bump versionPatrick Williams2017-02-231-1/+1
| | | | | Change-Id: I9ecce4efa5d94ef2ae50d2debe6b30c2a2ac61e6 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Inventory: Map chassis fru dataRatan Gupta2017-02-221-1/+1
| | | | | | | | | Make the association for chassis. Update mrw revision due to co-req with script changes. Change-Id: I42ef9edbf9714d302d7afe2a0851f5ca6f2fe579 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* skeleton-rev.bbclass: bump versionPatrick Williams2017-02-211-1/+1
| | | | | Change-Id: I9ca815d0dd4871893c503a9af7eeca15060ede4e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* skeleton-rev.bbclass bump & disable watchdog patchMichael Tritz2017-02-211-1/+1
| | | | | Change-Id: I57d8b7371c33f3fac7e286d14deafcaf91020b26 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
* IPMI Whitelisted commands for FRU and OEM repositoriesTom Joseph2017-02-212-0/+35
| | | | | | | | | | | | 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>
* Add software package groupGunnar Mills2017-02-161-0/+3
| | | | | Change-Id: I98e19c8a7621aad18a91cb83c02b6011e0375885 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* mrw-rev.bbclass: bump versionPatrick Williams2017-02-151-1/+1
| | | | | Change-Id: Idedf8f3b9bd79eaebeb39482c24eb89d9b47647b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* mrw-rev.bbclass: bump versionPatrick Williams2017-02-141-1/+1
| | | | | Change-Id: I8792a448b74614b5d3de7ea4dc95cbf55bd4982f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Clean up op packagegroupsBrad Bishop2017-02-141-3/+0
| | | | | | | | | | | | | | | Now that the legacy applications are picked up in the OpenPOWER layer via obmc-apps packagegroups, those dependencies can be removed from the op-apps packagegroup. Remove the sensord application as it has been replaced with phosphor-hwmon. Demote sensor mgmt feature to an image feature since anything running OpenBMC can have a sensor. Change-Id: I0b27cacbcbd73d53ab8db40790ea967ad478d111 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add inventory, led and sensors package groupsBrad Bishop2017-02-141-0/+9
| | | | | | | | | | | | | | | | | 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>
* Add inventory manager classBrad Bishop2017-02-131-0/+2
| | | | Change-Id: Ib034680499f16efb842bc5074e269bb590f25fbd
* Add bbclass for phosphor-dbus-interfacesBrad Bishop2017-02-101-0/+1
| | | | | | | At the moment provides only a path to the YAML. Change-Id: I35bf3ce59057fc64a1ca930d23b1e68990e32c80 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* skeleton-rev.bbclass: bump versionv1.99.2Patrick Williams2017-02-071-1/+1
| | | | | Change-Id: I45d057449181f58057666a44eb1002f45956700f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Incorporate new FFDC script into appropriate imageMichael Tritz2017-02-021-0/+1
| | | | | Change-Id: I108f828386deef5b92fbc1b02c7207ff292474a8 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
* ipmi: Add virtual/phosphor-ipmi-fru-inventoryBrad Bishop2017-02-021-0/+2
| | | | | | | | | | | | | This virtual provides a configuration file that describes the IPMI inventory implementation details to ipmi-fru-parser. Add a recipe that provides the sample that comes with ipmi-fru-parser. Add a recipe that generates the file from an MRW. Change-Id: I331fec22fb603146cbe6b2d57256a2b29adce46b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* ipmi: Add virtual/phosphor-ipmi-fru-hostfw-configBrad Bishop2017-02-021-0/+1
| | | | | | | | | | | | | | | | | This virtual provides a configuration file that describes host firmware implementation details to ipmi-fru-parser. Add a recipe that provides the sample that comes with ipmi-fru-parser. Add a recipe for Hostboot on OpenPower systems. Set the default provider to the example. Set the default on OpenPOWER systems to the hostboot recipe. Change-Id: Iff56c5c0c2ea8aec7ecaa5a5d981da6f88a894f2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* utils: Shuffle [cf|mf|df]_enabled argumentsBrad Bishop2017-02-022-23/+23
| | | | | | | | Reorder the arguments to these functions so that an optional falsevalue can be provided. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I7eff61064d05d7f0983e404f2c67306ed12a237b
* Create symlink for IPMI Provider librariesTom Joseph2017-02-011-0/+37
| | | | | | | | | | The IPMI provider libraries are installed into /usr/lib/ipmid-providers. If the provider library is applicable for host-ipmid channel then soft link is created to /usr/lib/host-ipmid. In this way the soft links are created for the provider library to the corresponding directory. Change-Id: I586bc830efd2b1d1ff1941181d1aa8d9a400f628 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* skeleton-rev.bbclass: bump versionPatrick Williams2017-01-311-1/+1
| | | | | Change-Id: I9c4fc86e5df78e646bc7841ded2a271ba0835ae7 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Add recipe for phosphor-net-ipmid repositoryTom Joseph2017-01-311-0/+2
| | | | | | | Resolves openbmc/openbmc#430 Change-Id: Id958eab2822858fe6241830791380af1a9fc1052 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* mrw-rev.bbclass: bump versionPatrick Williams2017-01-311-1/+1
| | | | | Change-Id: I370fcfb82801503ab49a6d62eb92524320997c3c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Alphabetize listsBrad Bishop2017-01-311-32/+33
| | | | | Change-Id: I068940d3f400cae26d94dff7f5b29bd596c2a6f6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* mrw-rev.bbclass: bump versionPatrick Williams2017-01-301-1/+1
| | | | | Change-Id: Icf21f5712da81d6203c19c6f1885e221ad4082d0 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Incorporate new phosphor-bmc-state-manager into appropriate imageJosh King2017-01-271-0/+3
| | | | | Change-Id: I4c013d98e03703b1328d85ae00cebb8500ffa205 Signed-off-by: Josh King <jdking@us.ibm.com>
* Add sysconfdir to default systemd service substitutionsXo Wang2017-01-261-0/+1
| | | | | | | | | This could be specified as a custom substition by recipes that use it, but like bindir, sbindir, and envfiledir, it seems common enough that it should be a default substitution. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I827aad06ca8401a22554b87499ba7f33470f438d
* image-overlay: Include initramfs in kernel FITRick Altherr2017-01-251-15/+3
| | | | | | | | Instead of packaging the initramfs separately in the flash image, use the FIT image that includes kernel+fdt+initramfs. Change-Id: I0a3315cfc635acbfaf7b603f5dca7da1ddeae1c1 Signed-off-by: Rick Altherr <raltherr@google.com>
* Enable Witherspoon MRW hwmon generationMatt Spinler2017-01-241-0/+41
| | | | | | | | Generate Witherspoon's hwmon conf files from the mrw. Change-Id: I120f4f91de48b36ba4b610eab35df98e3e84b534 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* mrw-rev.bbclass: bump versionPatrick Williams2017-01-201-1/+1
| | | | | Change-Id: Ia39f9c3e5d62dce6f47653437fd78677b072bd46 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Rename packagegroup-phosphor-appsBrad Bishop2017-01-201-2/+2
| | | | | | | | 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>
* Incorporate new phosphor-chassis-state-manager in appropriate imageAndrew Geissler2017-01-181-0/+3
| | | | | Change-Id: I39ca1fdfb7f549036b8eb27d7cfe9cd7309dcc54 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
OpenPOWER on IntegriCloud