summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/inventory
AgeCommit message (Collapse)AuthorFilesLines
2020-06-16phosphor-inventory-manager: remove p-d-i-native DEPENDPatrick Williams1-2/+1
PIM uses phosphor-dbus-interfaces-native in order to obtain the interface YAML to perform additional processing on. The non-native p-d-i package also provides this YAML, so switch to using it instead. (From meta-phosphor rev: c6f2c8854eb1f8e9add8f916aaf39d0bf52c2af9) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iefa7e1342e4dede7087b1bcad610082eec3edb96 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-28phosphor-inventory-manager: srcrev bump ebff814fb7..55f9eae440Andrew Geissler1-1/+1
Patrick Williams (2): sdbusplus: remove deprecated variant_ns sdbusplus: replace message::variant with std::variant (From meta-phosphor rev: f0db6faf3f965c367aadd8aa6ea8a6d859f35686) Change-Id: I65d2f44e94e879bcfdbf534214001b2522145d20 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-07phosphor-inventory-manager: srcrev bump 5a71b4c637..ebff814fb7Andrew Geissler2-2/+2
And switch recipes to python3native. Patrick Williams (2): scripts: convert to python3 MAINTAINERS: update Deepak's email address (From meta-phosphor rev: 7f303982383ff61ee3d1b4a8b4e9e2037feed7ed) Change-Id: Ie6c9d05af0631e736ce45369076bdf0f768d7f81 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-03meta-phosphor: update DEPENDS for sdbusplus-nativePatrick Williams1-1/+1
sdbusplus has changed the package layout so that sdbusplus-native and sdbus++-native are now ${PYTHON_PN}-sdbus++-native. Update recipes that need to use sdbus++ (or its associated python modules) or remove the DEPENDS if it is no longer necessary. (From meta-phosphor rev: 2bebd1247cb78567441158b152c7a13f476afd4f) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I30f9c2220da9145ef0a7067e067aed1396d8b40d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-13phosphor-inventory-manager: fix missing python depAndrew Geissler1-0/+3
The repo runs python to generate code or validate config, which requires python and the dependent python packages. Previously that happens to be satisfied by sdbusplus's RDEPENDS. If sdbusplus is changed to use python3, this repo fails to built because it lacks of dependency. See details in https://lists.ozlabs.org/pipermail/openbmc/2020-February/020771.html This commit fixes the depends by adding the required python and python-packages so that it builds fine. (From meta-phosphor rev: 89d17815d5fd3a5247479feb01682c741698a8b5) Change-Id: I09852819750d4faa320a9b9f236bb9ee2de94fc5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-11-21phosphor-dbus-interfaces: srcrev bump 9cb4a711cf..2d3b637f21Andrew Geissler1-1/+1
Alpana Kumari (1): Add support for byte array as a property type Brad Bishop (1): Revert "Enhance DHCP beyond just OFF and IPv4/IPv6 enabled." Chen Yugang (1): Add NMI source Property Cheng C Yang (2): Add DIMM Properties Add memory device types as in DSP0134 Deepak Kodihalli (1): Add PLDM.Requester interface Gunnar Mills (2): Update user_management.md link Update openbmc-systemd.md link James Feist (2): Add Drive Inventory Item Implement Global Inventory Item Johnathan Mantey (1): Enhance DHCP beyond just OFF and IPv4/IPv6 enabled. Manojkiran Eda (1): Aligned Nameservers property with Redfish Spec Yong Li (1): Add http/https boot option phosphor-inventory-manager: srcrev bump bbacd2326f..5a71b4c637 Alpana Kumari (1): Add support for byte array as a property type Andrew Geissler (1): dbus-name: do startup work before registering name (From meta-phosphor rev: 27e53a16a78515dbd4bf6377c73ac15eb594bf17) Change-Id: I64787138452806556eb5d870fec66ae5d3d38b59 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-23phosphor-inventory-manager: srcrev bump ded627c42f..bbacd2326fAndrew Geissler1-1/+1
Gunnar Mills (1): Update object-mapper.md link (From meta-phosphor rev: d4c9425cd9006a7d943025218640a6ae679251e2) Change-Id: Ie00e7284f71ef0b12a42d17c43c6e57b14d495c8 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-20meta-phosphor: Remove references to PHOSPHORBASEBrad Bishop1-1/+1
PHOSPHORBASE is only used for pointing at licenses...point at the licenses in oe-core in meta/files/common-licenses instead. to match the defacto convention used in other oe layers like meta-openembedded. (From meta-phosphor rev: a1cee09419cb1467c3d2b7bf996b40089f0d06f4) Change-Id: If136d24638a8022671988cf0a01620e7fffc545f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-29meta-phosphor: inventory: drop config-nativeBrad Bishop1-16/+0
With the switch of phosphor-inventory-manager to target class configuration recipes, this recipe is no longer used. Drop. (From meta-phosphor rev: 921266cc8ecd2bb5b04adff91007f9c1438fd32b) Change-Id: I5ba6a47b61cf2164ac9b58bdfaabd9a7393a1e02 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-29meta-phosphor: inventory: enable non-native recipesBrad Bishop2-12/+9
There exists a number native class recipes throughout meta-phosphor that simply provide a data (often YAML) file as input to building another application. Having these data file recipes implemented as native class recipes prevents the use of machine overrides because bitbake (rightfully so) discards machine qualifiers from native recipes. Further, data files aren't really any different than library header files and those are consumed by recipes as target class recipes that are DEPENDed on. Do the same thing for data file recipes. (From meta-phosphor rev: 1675a60bc9648cb5c7ec224df3791dbe89f09134) Change-Id: I7fa23c7914abc5018f6534a8daa0462c6ee9daa3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-15meta-phosphor: remove unused obmc-inventoryBrad Bishop1-33/+0
obmc-inventory is a native recipe that provides a translator application that bridges OpenPOWER machine readable workbooks to a runtime configuration file for the obmc-mgr-inventory application. The Palmetto system was the only system to ever make use of obmc-inventory; the other obmc-mgr-inventory using systems use a hardcoded-in-python config file. Since Palmetto doesn't use obmc-mgr-inventory anymore, there is no longer a user of obmc-inventory. Drop from the tree. (From meta-phosphor rev: be7b902b79a0639d41f80102d79d26cce62be2f4) Change-Id: Ida807973f79e9d68e32be015408f84954c18ee39 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-22Add associations support to phosphor-inventory-mgrMatt Spinler1-0/+3
Add support so another layer can select the 'associations' PACKAGECONFIG and install their own associations.json file which the phosphor-inventory code uses to create associations between inventory paths and other paths. (From meta-phosphor rev: 6bc9cd4952999bbb8bb5083c1c6e89b6ad2c8b8b) Change-Id: Id0cb5f5a7f8759455c1ebaa068ab6c810c118f5f Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-22phosphor-inventory-manager: srcrev bump c47ca585b1..ded627c42fAndrew Geissler1-1/+1
Matt Spinler (1): deserialization: adapt to filesystem API changes (From meta-phosphor rev: 1d3f872a38b4ab05eba58b444edf68f17ee70785) Change-Id: I956341219be31eb48c8336825c9d45b51c011594 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-20phosphor-inventory-manager: srcrev bump a248550458..c47ca585b1Andrew Geissler1-1/+1
Matt Spinler (4): Add the association functionality to the README Add associations::Manager class Load the associations definitions Create associations (From meta-phosphor rev: beb187c785b7cb7d291a8ac3ce2c58a125e13a58) Change-Id: I4b992097d3df69af4781a971998ecfbcec43cbd6 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-16phosphor-inventory-manager: srcrev bump 2ed0fd1025..a248550458Andrew Geissler1-1/+1
Brad Bishop (3): serialization: use the same inflection as sdbus++ serialization: Add cereal support for tuples serialization: adapt to filesystem API changes Kun Yi (1): cleanup: Use filesystem instead of experimental (From meta-phosphor rev: 28dbfec701864607bcf8701d53ff5981ae038779) Change-Id: Ibd65dd555ff50e10e3a2a1a7acb580c283f50380 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-06update upstream subtreesBrad Bishop1-1/+1
A number of corequisites exist so squashing these all into one patch. meta-ingrasys - refresh master bc513127f4..67bcaf389f meta-hxt - refresh master 86a4df514f..8fe0d38bbb meta-phosphor - refresh master 06c09d7cce..df6ddae3d2 meta-quanta - refresh master 4f126361a1..53f3025271 Change-Id: I3daeef2a0467d8ea4f1fd1c617e526f8b11258af Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-29phosphor-inventory-manager: srcrev bump 1384cde059..2ed0fd1025Andrew Geissler1-1/+1
Patrick Venture (1): build: install into bin instead of sbin (From meta-phosphor rev: 9db0fe97a2457e973cb47d4bdc6726c7b8ffc498) Change-Id: I446efd90ee03f0680b784b5d4be9d933b4dd3d60 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-28meta-phosphor: Fix explicit dependencies antipatternBrad Bishop1-5/+0
Out of the box bitbake examines built applications, automatically adds runtime dependencies and thus ensures any library packages dependencies are automatically added to images, sdks, etc. There is no need to list them explicitly in a recipe. Dependencies change over time, and listing them explicitly is likely prone to errors - the net effect being unnecessary shared library packages being installed into images. Consult https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-RDEPENDS for information on when to use explicit runtime dependencies. (From meta-phosphor rev: 26873c99d30b55e21a920c9851f21c3e2eab19f7) Change-Id: I38640d75a2d834c07d45ddcdb0162f1a23f848d9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-02-14phosphor-inventory-manager: srcrev bump 6b22dbb2a1..1384cde059Andrew Geissler1-1/+1
Patrick Venture (1): build: pkg anti-pattern: use defaults (From meta-phosphor rev: 0c1c15a49c31cd6b8d7b655f5edcbcd98fdd5d21) Change-Id: Ibd390715e9229e3b755aa1e9cbdca37a3a41c4f4 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-01-08phosphor-inventory-manager: srcrev bump 25d54b5102..6b22dbb2a1Andrew Geissler1-1/+1
Brad Bishop (12): test: Add test-driver, minor refactoring types: minor build improvements types: Add build testcase utils: Add missing headers utils: Add unit tests build: Don't build tests unless asked serialize: add concept API serialize: Add build testcase manager: refactor interface templates manager: switch to refactored internal APIs manager: Add build testcase build: Don't build tests unless asked (From meta-phosphor rev: 49ed192656a4c9965a665cdc670f0ac2231ca224) Change-Id: I24f7db00958d8f78e468cc11f677c33e4b980abe Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-28phosphor-inventory-manager: srcrev bump 6e94b65268..25d54b5102Andrew Geissler1-1/+1
Brad Bishop (1): Replace std::experimental::any with std::any (From meta-phosphor rev: 738474681293cb66161263218fedd805d3bde6b7) Change-Id: I791da3cdc8eaab58f0cdc4eb8a81ba312175bfef Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-08phosphor-inventory-manager: srcrev bump 979eb59165..6e94b65268Andrew Geissler1-1/+1
William A. Kennington III (1): Fix std::variant usage (From meta-phosphor rev: 771ae39740bb591dd6582bbfe8e7993d321b868f) Change-Id: I142ccf43e25730776351d9158ab4463c688a9d86 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-08meta-phosphor: master refresh d71a48b236..f05db6a860Brad Bishop1-1/+2
Update meta-phosphor to master HEAD. Patrick Venture (6): meta-phosphor: mrw-api-native: set LICENSE field meta-phosphor: obmc-inventory: set LICENSE field meta-phosphor: mrw-perl-tools-native: set LICENSE field meta-phosphor: mrw-patch-native: set LICENSE field meta-phosphor: obmc-phosphor-fand: set LICENSE field meta-phosphor: obmc-phosphor-chassisd: set LICENSE field Change-Id: Ife52c4042abb732dd6511f20645837a844716e25 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-06meta-phosphor: master refresh 3026b0fa5a..d76a657a63Brad Bishop2-2/+4
Update meta-phosphor to master HEAD. Patrick Venture (52): meta-phosphor: obmc-console: set LICENSE field meta-phosphor: dbus-interfaces: set LICENSE field meta-phosphor: rest-dbus: set LICENSE field meta-phosphor: slpd-lite: set LICENSE field meta-phosphor: ipmi-host: set LICENSE field meta-phosphor: ipmi-net: set LICENSE field meta-phosphor: network: inarp: set LICENSE field meta-phosphor: network: set LICENSE field meta-phosphor: logging: set LICENSE field meta-phosphor: ipmi-tool: fixup LICENSE meta-phosphor: clear-once: set LICENSE field meta-phosphor: preinit-mounts: set LICENSE field meta-phosphor: systemd: obmc-targets: set LICENSE field meta-phosphor: dbus: perms: set LICENSE field meta-phosphor: dbus-interfaces-mapper-config-native: set LICENSE field meta-phosphor: dbus-monitor-config-native: set LICENSE field meta-phosphor: legacy-namespace-mapper-config-native: set LICENSE field meta-phosphor: mapper-config-native: set LICENSE field meta-phosphor: obmc-host-failure-reboots: set LICENSE field meta-phosphor: fan-control-events-config-native: set LICENSE field meta-phosphor: fan-control-fan-config-native: set LICENSE field meta-phosphor: fan-control-zone-conditions-config-native: set LICENSE field meta-phosphor: fan-control-zone-config-native: set LICENSE field meta-phosphor: fan-monitor-config-native: set LICENSE field meta-phosphor: fan-presence-config-native: set LICENSE field meta-phosphor: image-signing: set LICENSE field meta-phosphor: insecure-signing-key-native: set LICENSE field meta-phosphor: inventory-manager-assettag-native: set LICENSE field meta-phosphor: inventory-manager-config-native: set LICENSE field meta-phosphor: ipmi-channel-inventory-native: set LICENSE field meta-phosphor: ipmi-config: set LICENSE field meta-phosphor: ipmi-fru-merge-config-native: set LICENSE field meta-phosphor: ipmi-fru-properties-native: set LICENSE field meta-phosphor: ipmi-fru-read-bmc-inventory-native: set LICENSE field meta-phosphor: ipmi-fru-read-not-sent-by-host-inventory-native: set LICENSE field meta-phosphor: ipmi-fru-whitelist-native: set LICENSE field meta-phosphor: ipmi-inventory-sel-native: set LICENSE field meta-phosphor: ipmi-sensor-config-native: set LICENSE field meta-phosphor: ipmi-sensor-inventory-native: set LICENSE field meta-phosphor: logging-callouts-example-native: set LICENSE field meta-phosphor: logging-error-logs-native: set LICENSE field meta-phosphor: settings-defaults-native: set LICENSE field meta-phosphor: fan-presence-mrw-native: set LICENSE field meta-phosphor: fan-control-fan-config-mrw-native: set LICENSE field meta-phosphor: ipmi-fru-properties-mrw-native: set LICENSE field meta-phosphor: ipmi-inventory-sel-mrw-native: set LICENSE field meta-phosphor: ipmi-sensor-inventory-mrw-config-native: set LICENSE field meta-phosphor: ipmi-sensor-inventory-mrw-native: set LICENSE field meta-phosphor: led-manager-config-mrw-native: set LICENSE field meta-phosphor: logging-callouts-mrw-native: set LICENSE field meta-phosphor: hwmon-config-mrw: set LICENSE field meta-phosphor: settings-read-settings-mrw-native: set LICENSE field Change-Id: Ibe919c3f1a748fae67b45ff6908a236b08902450 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-01meta-phosphor: obmc-inventory: QA fixup PVPatrick Venture1-0/+1
Fixup PV in obmc-inventory_git.bb (From meta-phosphor rev: 77d1439d4274c7dc8fb799df7e88af25d52a7a96) Change-Id: Ib4ec015af7c5fad42035ac0d2c9a8ecdcd34d976 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-24phosphor-inventory-manager: srcrev bump 3bb98f2901..979eb59165Andrew Geissler1-1/+1
Matthew Barth (2): Get an inventory property's value Generate functor to read a property (From meta-phosphor rev: 05c3b6b2bb1d74c741ca73a345a8af96b467226a) Change-Id: If43a6372d3a933929681cdaa1681f0fb7120fd02 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-19meta-phosphor: switch to meta-oe libcerealBrad Bishop1-1/+1
A cereal recipe was added recently to meta-openembedded. Use it so we can deprecate our version of it. (From meta-phosphor rev: cc51cd9910f3480cf4d2e0bff8aa6b95162e5bc1) Change-Id: I7746dbd1eda3011b870b85770092b2d020800af7 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-19phosphor-inventory-manager: srcrev bump d6819c9fcc..3bb98f2901Andrew Geissler1-1/+1
Matthew Barth (1): Update .gitignore Patrick Venture (1): formatter: update clang-format and fix-up file(s) Vernon Mauery (1): phosphor-inventory-manager: use c++17 (From meta-phosphor rev: 1723a55a743d1c4a4443feb1e15e6a25eecdbf0c) Change-Id: Ifa5d0c4f4d3761cd6a00316991c3e2a979a6dfe9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-18meta-phosphor: inventory-manager: rename as gitPatrick Venture1-0/+1
Rename phosphor-inventory-manager.bb as _git per OE norms. (From meta-phosphor rev: aad7449d09e51478af437dad0f2407c074917f9f) Change-Id: Ie76b88e2a4eb7ee16b392d7aebcefef26fff2147 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-16meta-phosphor: obmc-inventory: rename as gitPatrick Venture1-0/+0
obmc-inventory receives its source from mrw-rev.bbclass which is git-based. (From meta-phosphor rev: edb73f7ae1ab59c60823ea9708c8efcd8ce0e580) Change-Id: Icbfd238805e3f8f27c94068f76dbe6b25bf2b12f Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-06meta-phosphor: Move layer content from common/Brad Bishop7-0/+143
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>