summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/network
AgeCommit message (Collapse)AuthorFilesLines
2020-06-22Enable nlohmann JSON Dependency for networkdManojkiran Eda1-0/+1
- This commit enables the nlohman JSON development header files for compiling the phosphor-netword service. (From meta-phosphor rev: 7239aaa69c1541855b10ddd1d930fcd086a3bf94) Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I05df06e7da357213cbccec825666daa322f936d5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-16meta-phosphor: remove excess phosphor-dbus-interfaces DEPENDsPatrick Williams2-2/+2
A number of packages are depending both on p-d-i and p-d-i-native, for seemingly no reason. Remove excess DEPENDS on p-d-i-native. (From meta-phosphor rev: 9a31d9bbf8d50516da9efd9dac6e5144659a84ba) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iab13f2246c1196a59d0b5852a9801c4cf7de88fc Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-16phosphor-networkd: Add stdplus dependencyWilliam A. Kennington III1-0/+1
(From meta-phosphor rev: 23cf7d31aafc18c6e7b5187b9edab78ef40509e0) Change-Id: I5060b7c6a240ffb9a94e6d31433e2ef7f3b0c8fd Signed-off-by: William A. Kennington III <wak@google.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-03meta-phosphor: network: allow disabling u-boot envBenjamin Fair1-0/+5
Not all systems allow modifying the u-boot environment, so make this a PACKAGECONFIG option instead of assuming it's available. Also add the missing RDEPENDS on u-boot-fw-utils when this feature is enabled. (From meta-phosphor rev: 62bd55d849c1f606d31c1f535e09e4ac39d04d7e) Change-Id: Ida9827a64ed1e2b23b60586ba5f7bf1bfa57dd85 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-15phosphor-snmp: srcrev bump 85c11b9b5d..e5d90c3575Andrew Geissler1-1/+1
Patrick Williams (2): sdbusplus: remove deprecated variant_ns sdbusplus: replace message::variant with std::variant (From meta-phosphor rev: 1067c78d6a063ae059eba55357ec073194ad4d22) Change-Id: I4a9f95e38ea237bb2565b6b0a07fe3b8b69afebc Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-03phosphor-snmp: use python3Patrick Williams1-1/+1
(From meta-phosphor rev: d642fbf08cc10ecf92ebc2c3378b991058d07b70) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I11c5813219187acb96e1efc361ba172c2c616c06 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-03phosphor-network: use python3Patrick Williams1-1/+1
(From meta-phosphor rev: 395d34d699b0ba041f8f0043b099c0512da82eb8) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I1946bbc3a576c4195c3827573c01ff35d991739b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-03meta-phosphor: update DEPENDS for sdbusplus-nativePatrick Williams2-2/+2
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>
2019-08-09phosphor-snmp: srcrev bump 52b3ad2a60..85c11b9b5dAndrew Geissler1-1/+1
Andrew Jeffery (1): autotools: Fix autoconf-archive compatibility issues (From meta-phosphor rev: b47aa0aab22ced692c2a47ea0f25279ba28c7bc6) Change-Id: I717375a2177ee5a934682b4bfce314b18b68c569 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-06meta-phosphor: inarp: drop unused recipePatrick Venture2-30/+0
(From meta-phosphor rev: 2a567ce0937943244d8156e6c4fca80a43d8cbac) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I81bc4618795d3c2d22c74cb9423e94cde14d96a0 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-10meta-phosphor: rename network to phosphor-networkPatrick Venture2-32/+31
Rename the network_git.bb recipe to phosphor-network_git.bb to make it consistent with the other phosphor namespace recipes. This is the final step as there are no more dependencies on network_git.bb existing. (From meta-phosphor rev: 720e8adcc294ce0c87a19f009b7f72f8ea2de7c3) Change-Id: I4583ff26aa74276f967b85efcb6d6e2d9f2eb2ee Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-07phosphor-snmp: srcrev bump 7f1c6e1d2e..52b3ad2a60Andrew Geissler1-1/+1
Patrick Venture (1): build: install into bin instead of sbin (From meta-phosphor rev: 876903742df077349222441bb67d9cb98b9e5ad1) Change-Id: Ibae853e0c2e8e132e44054e6b0e03d84c3a3cc5e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-06update upstream subtreesBrad Bishop3-4/+3
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-28meta-phosphor: point recipes to depend on phosphor-networkPatrick Venture1-1/+1
Point various meta-phosphor recipes to depend on phosphor-network instead of network. Also, update the default for this feature to be phosphor-network instead of network. (From meta-phosphor rev: 98fa96164889d0eed896a731bcfb348d5d802bef) Tested: Verified meta-ibm/meta-witherspoon built. Change-Id: I1c4b8fdcb92bf216e50d9f88273a7ac7bdc20213 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-28meta-phosphor: Fix explicit dependencies antipatternBrad Bishop2-11/+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-03-22meta-phosphor: add phosphor symlink to networkPatrick Venture1-0/+1
Add phosphor-network symlink to network recipe. (From meta-phosphor rev: 66ba67cc5a1ea1a399480721bb3c6fa663355ff3) Change-Id: I300f106912a6e95182a78415ea583a5b5730827a Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-05phosphor-snmp: srcrev bump 9d18e56285..7f1c6e1d2eAndrew Geissler1-1/+1
Patrick Venture (1): build: pkg anti-pattern: use defaults (From meta-phosphor rev: 228633b17dd7c684ca2f6044881e46a2f4f8011a) Change-Id: Ib52260c7341d4dfb6eea31a208fef477d9f3d6ca Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-02-14meta-phosphor: drop service from network recipePatrick Venture2-18/+10
Drop the service file from the network recipe and use the one in the source repository. Patrick Venture (2): build: drop duplicate LT_INIT line from configure_ac move service file, dbus conf into repo (From meta-phosphor rev: 58dbbcf8c4b8a3cbb09965b7cf54d744f05e3243) Change-Id: I1921750cacdb158c05286fb02c75fcdf595a9536 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-12-06meta-phosphor: master refresh 632923e49c..65f8850b66Brad Bishop1-1/+1
Update meta-phosphor to master HEAD. Andrew Geissler (8): bmcweb: srcrev bump 99ad599508..3112a144b3 phosphor-networkd: srcrev bump 74db23cf88..35297177b8 phosphor-objmgr: srcrev bump 6a39e8c727..47c09755e5 entity-manager: srcrev bump b69602b877..61c25c07ca dbus-sensors: srcrev bump 95b079b785..f87dc4c139 phosphor-snmp: srcrev bump bbee5d0d8f..9d18e56285 phosphor-host-ipmid: srcrev bump 77ff3fe596..e04c004b21 phosphor-ipmi-blobs: srcrev bump 50539d3646..9e0c1af678 Yong Li (2): Fix incorrect license type Do not use DBUS_SERVICES in the systemd string substitutions Change-Id: I3f170aee1b5d0e0ab5f040c6a13d39274fdedfc2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-28phosphor-snmp: srcrev bump ce714f4080..bbee5d0d8fAndrew Geissler1-1/+1
William A. Kennington III (1): Fix usage of std::variant (From meta-phosphor rev: 1227d9c16db8983cd55ca7599cfbababcc656a20) Change-Id: I67f04a8a6e5c1ecd3269a76035e9ac1d34bae729 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-20Create network folder under /run and /var/libRichard Marian Thomaiyar1-0/+3
In order to manage configuration files easily, creating network folder under /run and /var/lib folder. (From meta-phosphor rev: a836a86463fe47a9d890af147bab1f16e713a6fe) Change-Id: Idb7d964e0a1c6dec8dd792b8a2a6eee458a6947f Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> 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-02inarp: srcrev bump 6e296617f0..6d579909fcAndrew Geissler1-1/+1
Brad Bishop (1): Add Apache LICENSE (From meta-phosphor rev: 35054a21b6ea97475550a2b3341f0e8f592005bc) Change-Id: Ifbe14847f79984f39ef17b48fe59afea5cf80319 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-22meta-phosphor: network: drop symlinkPatrick Venture2-29/+29
Drop symlink and rename bb for network. (From meta-phosphor rev: 64d7d9892fc422e77fc34385f738fd6a03bdfa90) Change-Id: Ie51782a08ea23018a6269e6d9c4d4422c3606a9a Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-21meta-phosphor: temp remove PV for git recipesBrad Bishop1-1/+0
In the five step sequence of transitioning an unversioned recipe to a versioned one, PV cannot be explicitly set to 1.0+git${SRCPV} set until the last step. With PV set, _both_ the unversioned recipe and the versioned recipe end up with PV = 1.0 and bitbake will continue to use the unversioned file. This means that when the unversioned bbappends are removed in step 4, the bbappend does not occur. This commit can be reverted once the five step process is complete. For reference, the five step process is: 1. Create a temporary recipe symlink: foo.bb -> foo_git.bb This results in two available PVs for foo: "1.0" (the bitbake default for unversioned recipes) and "git". Further, set the preferred version for foo to "1.0" in the distro configuration otherwise bitbake will choose PV = "git" and existing (unversioned) bbappends will not apply and the build will break. 2. Create a temporary bbappend symlink: foo.bbappend -> foo_%.bbappend This allows the manual override of the preferred version introduced in step 1 to be removed from the distro configuration. 3. Remove the preferred version override introduced in step 1 from the distro configuration. At this point the versioned recipe is now being used. 4. Remove the unversioned bbappends. 5. Remove the unversioned recipe. (From meta-phosphor rev: 883e0238adc8543b28cce8a5d283d2092026da54) Change-Id: I3c5248a41b064462d5a34a7bc6e5438acc107a32 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-18meta-phosphor: network: change versionPatrick Venture1-0/+1
Change version in network.bb (From meta-phosphor rev: 69d5f5e090f7c953c6069f7f7ff22feb8e366f86) Change-Id: I4ef5c7f93bb7301e65159e27db844b831450477d Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-08meta-phosphor: network: Add symlink to gitPatrick Venture1-0/+1
Add a symbolic link to network.bb named _git.bb and set the preferred version for the recipe. (From meta-phosphor rev: 09ffe0166966200860440266e34e495e2160069d) Change-Id: Ib5facbf6f24f5931eb0b789565c332bc4b0afcd0 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-08meta-phosphor: inarp: rename as gitPatrick Venture1-0/+1
Rename inarp.bb to inarp_git.bb per OE norms. (From meta-phosphor rev: 5fb526051645effa70b931234a7917ddeaa874df) Change-Id: I1b0e2ce8d33080f6e13cdd9572de3ec94589da66 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-06network.bb: Add sdeventplusAdriana Kobylak1-0/+1
The phosphor-networkd repo is being updated to use sdeventplus. Add it as a build-time dependency. (From meta-phosphor rev: 129fc1c18b3e01a26eade69c4e74d59255e9d5a8) Change-Id: I3fc7101e654c32f57a802254eb06a6cb81a04b4c Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-06phosphor-snmp: srcrev bump aea53d071d..ce714f4080Andrew Geissler1-1/+1
Vernon Mauery (1): phosphor-snmp: use c++17 (From meta-phosphor rev: a59222c343454e9ffb1f926f47f4a9b5f27a6287) Change-Id: I2fab33d2f04bc8abbc147af79495069ba5943310 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-21split net-snmp-libs into smaller packagesAlexander Filippov1-1/+1
By default `net-snmp-libs` contains all compiled libs. This commit splits `net-snmp-libs` into subpackages for each library. This allows for smaller resulting image due to finer packaging. Resolves openbmc/openbmc#3360 (From meta-openembedded rev: 131eb1f69791dda54557d0f919903cbd73831440) (From meta-phosphor rev: 5189717bbabf4db394b69ee7179ce18764cd9af0) Change-Id: Ia2b79be41977723996696c3e549a087aeaf2cab6 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-07phosphor-snmp: srcrev bump f4ecf88338..aea53d071dAndrew Geissler1-1/+1
Ratan Gupta (1): Fix spelling errors (From meta-phosphor rev: 3afdc659c4e11eeca054139068955eced33ac2ab) Change-Id: Iaa41842f97dd71b79aa46fd752a14f421730a704 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-06meta-phosphor: Move layer content from common/Brad Bishop6-0/+112
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>