summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/dbus
AgeCommit message (Collapse)AuthorFilesLines
2022-01-25treewide: fix up github SRC_URIsPatrick Williams1-1/+1
Per [1], Yocto is going to start requiring both branch names and `protocol=https` in GitHub SRC_URI variables. Ran the upstream tool to automatically fix our URIs. 1. https://git.yoctoproject.org/poky/tree/documentation/migration-guides/migration-3.5.rst#n10 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5f9619f7ff707050b469ae74c8aa16846568c5e4
2021-10-27ibm-dbus-interfaces: srcrev bump 109271bb4d..89d04feb5dAndrew Geissler1-1/+1
Manojkiran Eda (1): Add OWNERS file Change-Id: Icb83eac96a7ab1a9e57439768ef3b5dc685ef43e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-10dbus-monitor: add dependency on snmp serviceAndrew Geissler2-0/+6
All IBM systems support the SNMP trap notification for error logs. This means phosphor-dbus-monitor needs to be careful to not start until the SNMP service is up and running. Without this dependency, situations can be hit, when lots of errors are present, where the phosphor-dbus-monitor calls into the SNMP shared library and hits an unhandled exception when trying to talk to the SNMP service. Tested: - Verified the unhandled exception is no longer seen and phosphor-dbus-monitor starts after the SNMP service. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I8b4ca94c0cdd7721aa8847dc478f3827f040a654
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams1-2/+2
Upstream bbclasses changed to typically use the `:${PN}` override syntax, including the SYSTEMD_ variables. Change our systemd.bbclass to do the same for consistency and perform a tree-wide variable replacement. Spot checked by building bletchley and witherspoon and checking some of the SYSTEMD_LINK directives on installed packages under qemu. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
2021-08-11meta-ibm: Update local.conf.sampleAdriana Kobylak1-1/+1
Update with the latest version from upstream. Change-Id: I1a7da37b0457dab873afaf6445aca360d54b47ca Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-08-11meta-ibm: prep for new override syntaxAdriana Kobylak10-36/+36
Change-Id: I9116ed7260e369136acb39eec15075db2d4dbeba Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-08-10Add D-bus monitor snmp policy for ibm systemsRavi Teja4-19/+38
This commit is add D-bus monitor config.yaml for errorlog entries for snmp eventing. Tested by: Configured SNMP and created errorlog observed snmp traps recieved on SNMP server Signed-off-by: Ravi Teja <raviteja28031990@gmail.com> Change-Id: I59c1f8a3b03eb3aab4a55c3cfb0bfb3e9e600a4d
2021-04-12meta-ibm: set OBMC_ORG_YAML_SUBDIRS in machinesPatrick Williams1-2/+0
The OBMC_ORG_YAML_SUBDIRS variable is intended to be set system-wide and not via bbappends. There was an existing 'ibm-distrovars.inc' that was unused. Rename it as appropriate, add it to the machines, and remove the bbappend files. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id5acd359f41c17ec9e68d1f0717e2f5c1bf96dcf
2021-04-08ibm: fans: Replace rainier with p10bmcAdriana Kobylak1-4/+4
The IBM rainier machine name is being replaced with the generic p10bmc. Tested: Built rainier and verified the fan files were installed, ex: obmc-phosphor-image/1.0-r0/rootfs/usr/share/phosphor-fan-presence/control/ibm,rainier-4u/zones.json obmc-phosphor-image/1.0-r0/rootfs/usr/share/phosphor-fan-presence/control/ibm,rainier-2u/zones.json obmc-phosphor-image/1.0-r0/rootfs/usr/share/phosphor-fan-presence/control/ibm,everest/zones.json Change-Id: I10edb9e30716cffa3f510fe94822eadb08326912 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-01ibm: dbus-interfaces: Replace rainier with p10bmcAdriana Kobylak1-1/+1
The IBM rainier machine name is being replaced with the generic p10bmc. Change-Id: I7bfbbf2310be78a2ae601047710204f5fb9f0da0 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-01-28meta-ibm: Use fan-monitor for fan errorsMatt Spinler1-0/+6
Instead of using phosphor-dbus-monitor to create errors and handle power offs for fan errors, use phosphor-fan-monitor instead, now that it has the functionality. To do this, add the new rules to the fan monitor config files, and remove the phosphor-dbus-monitor fan rules files. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ia03186132f04087be76d2fd43412c37698407f60
2020-10-07meta-ibm: Enable com/ibm D-Bus interfaces on all systemsSantosh Puranik1-0/+2
phosphor-dbus-interfaces recipe requires that we add to the OBMC_ORG_YAML_DIRS, the directory paths where the interface YAMLs reside. On IBM systems, we need com/ibm to be addded to that list. Tested: Built Witherspoon and Rainier images cleanly. (From meta-ibm rev: 6f4a08414c5dcea760f75a402cc90a48b833a0aa) Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com> Change-Id: Ife7de39ff10a6ead641ccfe82c31481f5135a0f5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-17meta-ibm: phosphor-dbus-interfaces: remove unused bbappendPatrick Williams1-1/+0
The flags set by this bbappend are now handled automatically by the phosphor-dbus-interfaces recipe. (From meta-ibm rev: 73b735f30bb866b27e05fe6381064e5a9a55977b) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Icf4e7beebaeea99ea74214989290d92ee4d006ee Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-02Recipe update to enable ibm-dbus-interfacesSunnySrivastava19841-1/+1
This commit updates the recipe for phosphor-dbus-interface to enable ibm-dbus-interface flag irrespective of the machine type. This was required as in case of native build the flag is not set enabled. (From meta-ibm rev: f195655090bc91fa75a33e32828cfdd2a567c538) Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com> Change-Id: I5d5c60068aa940c0762d0ad246410058c3854766 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-27meta-ibm: move all meta-witherspoon metadataBrad Bishop19-0/+4759
The metadata common to all IBM systems is confusingly split between meta-ibm and meta-witherspoon. Move everything to meta-ibm. The meta-ibm README is re-written to more accurately reflect the scope of the layer. Allow the configuration samples (bblayers.conf.sample, local.conf.sample) to be sourced from either meta-ibm or meta-witherspoon until such a time that any workflows and tooling have had the opportunity to move to meta-ibm. (From meta-ibm rev: 6e05ef2e90b214eaf4e43ee7027bbbb1d8d09442) Change-Id: I3ec890d5300f9649c974ea6b9dca93a2e8a889ab Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-07meta-ibm: update DEPENDS for sdbusplus-nativePatrick Williams1-6/+3
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-ibm rev: 0b7c2ef33825f9672c60481ce5d84b240a1f38c3) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I80e4b2f244f3ec9b2576e623f2f78ff6ccf406d1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-09-18meta-ibm: Remove references to IBMBASEBrad Bishop1-1/+1
IBMBASE 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-ibm rev: cbbb0e5b4e44d831fce5daafd13272d401440f40) Change-Id: Ib214f92b2c384e3eb2a1f53ecf4b21034438d001 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-02-22ibm-dbus-interfaces: srcrev bump 0c073d5f26..109271bb4dAndrew Geissler1-1/+1
Patrick Venture (1): build: pkg anti-pattern: use defaults (From meta-ibm rev: 186199f195fc0b33a9c9d477ae3801f7c94b1b3f) Change-Id: Iaa102ec4c3a022474b375e11f80c5b233e057aa7 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-02-21ibm-dbus-interfaces: srcrev bump c9ae6bf297..0c073d5f26Andrew Geissler1-1/+1
Brad Bishop (1): build: Set pkg-config Requires (From meta-ibm rev: 26e7c8ad5ea8ffd4aaf5ed84d1af70db1fbe6f2b) Change-Id: Iae12f0effc8f0279443d633e8bbbde3e6fd09e2f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-11-08meta-ibm: master refresh baedc91099..a00d9b8a84Brad Bishop1-1/+2
Update meta-ibm to master HEAD. Patrick Venture (21): meta-ibm: add IBMBASE meta-ibm: romulus: chassis: avsbus-control: set LICENSE field meta-ibm: romulus: chassis: vrm-control: set LICENSE field meta-ibm: romulus: gpio: id-button: set LICENSE field meta-ibm: romulus: ipmi-fru-read-inventory-native: set LICENSE field meta-ibm: romulus: ipmi-inventory-map-native: set LICENSE field meta-ibm: romulus: ipmi-inventory-sel-native: set LICENSE field meta-ibm: romulus: led-manager-config-native: set LICENSE field meta-ibm: romulus; phosphor-logging-callouts-native: set LICENSE field meta-ibm: witherspoon: chassis: avsbus-control: set LICENSE field meta-ibm: witherspoon: chassis: vrm-control: set LICENSE field meta-ibm: witherspoon: events-policy-native: set LICENSE field meta-ibm: witherspoon: fan-policy-native: set LICENSE field meta-ibm: witherspoon: fan-watchdog: set LICENSE field meta-ibm: witherspoon: thermal-policy-native: set LICENSE field meta-ibm: witherspoon: inventory-cleanup-native: set LICENSE field meta-ibm: witherspoon: power-supply-policy-native: set LICENSE field meta-ibm: witherspoon: power-supply-sync: set LICENSE field meta-ibm: palmetto: ipmi-inventory-map-native: set LICENSE field meta-ibm: palmetto: led-manager-config-native: set LICENSE field meta-ibm: dbus-interfaces-mapper-config-native: set LICENSE field Change-Id: Ic74e30b1cdd013c7d293dffc9423035632f92e43 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-06meta-ibm: dbus-interfaces: set LICENSE fieldPatrick Venture1-1/+2
Set LICENSE field explicitly. (From meta-ibm rev: 768df03cb8466edfdd379229d99fe429e3c351f2) Change-Id: I97ce39b966989175fc6280ced9b88dbf0dc4f7c8 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-31ibm: remove deprecated mapper path whitelistBrad Bishop1-1/+0
The IBM layer has switched over to the new dbus service whitelist mechanism for phosphor-mapper. Remove the legacy path whitelist for the IBM layer. (From meta-ibm rev: dac6e749cb9acec7c773fa21811c22ff8abea42b) Change-Id: Ic0c871beab89088dfec0c618fb7c20636e040a7b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-30ibm: Add to new mapper service whitelistBrad Bishop1-0/+1
phosphor-mapper will soon deprecate path based whitelists, so add com.ibm to the new mapper service whitelist. (From meta-ibm rev: 0d4b811825e3ff2ff593bdc997d12754a8f71979) Change-Id: I692f4c4bd26e317b8cbd8ee1cee4c9deea6e15a0 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-19meta-ibm: dbus: ibm-dbus-interfaces: rename as gitPatrick Venture1-0/+1
Rename ibm-dbus-interfaces.bb to _git.bb per OE norms. (From meta-ibm rev: 36f78498cb4dc2e3bbba3ad32f4e00baaa6d7e8d) Change-Id: If99664a7d6409d3845719f1528a0a1aba45b06af Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-05ibm-dbus-interfaces: srcrev bump 62c7bff037..c9ae6bf297Andrew Geissler1-1/+1
Vernon Mauery (1): ibm-dbus-interfaces: use c++17 (From meta-ibm rev: ee85247f61850c8f51ee3dbbb0ca4c1ea9ab6e09) Change-Id: Ib0a1923890fa44bce43fdc1f67c3a51794aedb81 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-23[Subtree] Bring openbmc machines to top levelDave Cobbley3-0/+43
The new subtree model brings the subtrees up from the openbmc-machines layer. Change-Id: I58a03ae1be374bc79ae1438e65e888375d12d0c0 Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>