summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-extended
AgeCommit message (Collapse)AuthorFilesLines
2023-07-28stdplus: srcrev bump 8bd9251190..e6fda45018Andrew Geissler1-1/+1
William A. Kennington III (2): print: Split out function for directly writing out strings fd: Use zstrings Change-Id: I78ca782244b90e2263e97c27d76ebf27b5faee2e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-07-25sdeventplus: srcrev bump a8c11e3ca3..25f484be0eAndrew Geissler1-1/+1
Patrick Williams (1): build: upgrade to C++23 Change-Id: I498ed36f3bd9e8f7c217cd8a65c9027852b65659 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-07-25stdplus: srcrev bump 6317f35709..8bd9251190Andrew Geissler1-1/+1
Patrick Williams (1): build: upgrade to C++23 William A. Kennington III (12): treewide: Switch to std::format zstring: Support std::format str/conv: Make formatter generic net/addr: Support std::format str/buf: Support std::back_inserter and data() fd/fmt: Don't depend on fmtlib function_view: Add a lightweight span equivalent for functions function_view: Allow empty function views print: Add c++23 print compatible implementation str/cat: Simplify append logic str/cat: Implement StrBuf appending fd/fmt: Support direct string writing Change-Id: Ibc17e1189388bda196371c2e8355868d1bb39e66 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-07-20libbej: srcrev bump 0686fd9fab..2ebe82f5a8Andrew Geissler1-1/+1
kasunath (1): Add BEJ tree API. Change-Id: I9a3fd69ea55f482a83bafdd953cf4bbbe6ed1e6b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-07-17sdbusplus: srcrev bump 798848de8f..f23e4d4127Andrew Geissler1-1/+1
Jonathan Doman (1): asio: Align nop_set_value to return conventions William A. Kennington III (2): bus: Consistently leverage mock slot: Add an empty constructor Change-Id: Ia85e6c295bb6ccf2c0d3cb320ff88fa25744e9bf Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-07-13libbej: srcrev bump 435526a584..0686fd9fabAndrew Geissler1-1/+1
Patrick Williams (1): build: upgrade to C++23 Change-Id: Ic4bc127a215507ffb832d0c99be031c1a76c5564 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-07-13gpioplus: srcrev bump 7ba248ad68..0f68a6ffdbAndrew Geissler1-1/+1
Patrick Williams (3): add cstdint include fd: avoid move-to-self build: upgrade to C++23 Change-Id: I568f7e84d177761b99bff1e8ce3d4c4dc3eca5ee Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-07-13sdbusplus: srcrev bump fa663aec1e..798848de8fAndrew Geissler1-1/+1
Patrick Williams (1): build: upgrade to C++23 Willam A. Kennington III (1): bus/match: Compile all code into library William A. Kennington III (1): bus/match: Remove redundant inline and stringify Change-Id: I683c04f61ae47a0bbb232f27e9f0d33ce157f8d6 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-07-12stdplus: srcrev bump b617c79d9d..6317f35709Andrew Geissler1-1/+1
William A. Kennington III (1): numeric/str: Add type to IntToStr Change-Id: Ib437c3c861bf635c8836c37e406d69b05b038c8d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-07-10stdplus: srcrev bump e38e42abbb..b617c79d9dAndrew Geissler1-1/+1
William A. Kennington III (4): concepts: Add header for common concepts variant: Use concepts util/cexec: Use concepts raw: Use concepts Change-Id: I922fa2d7fb7c3c8b834b06380a91e2484364d158 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-07-01stdplus: srcrev bump 69a00d76b8..e38e42abbbAndrew Geissler1-1/+1
William A. Kennington III (11): net/addr/ether: Remove isEmpty zstring_view: Literal namespace should be inline net/addr/ip: Make IPv4 fully constexpr compliant net/addr/ip: Make IPv6 fully constexpr compliant net/addr/ip: Add compile time string conversion net/addr/ip: Add InAnyAddr compile time strings net/addr/ip: Add unicast / loopback queries net/addr/ip: Refactor string literal compilation net/addr/subnet: Simplify using concepts net/addr/subnet: Add string literals net/addr/ip: Fix operator== abiguity Change-Id: I1f7b4e5bf3c9ee27a6803ba2214d264e79b4ab0a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-06-24stdplus: srcrev bump 8a6eca3ae3..69a00d76b8Andrew Geissler1-1/+1
Patrick Williams (1): exception: remove source_location indirect William A. Kennington III (23): str/cexpr: Delete clang exemption net/ether: Fixup constructors net/addr/ip: Fixup hash function signatures str/buf: Add allocation reducing string buffer str/conv: Add basic functions numeric/str: Add constexpr int encode numeric/str: Improve base10 encode performance numeric/str: Add constexpr int decode net/addr/ether: Add FromStr conversion net/addr/ether: Add ToStr conversion net/addr/ip: Add In4Addr FromStr conversion net/addr/ip: Add In4Addr ToStr conversion net/addr/ip: Add IPv6 FromStr conversion net/addr/ip: Add IPv6 ToStr conversion net/addr/ip: Add InAnyAddr FromStr conversion net/addr/ip: Add InAnyAddr ToStr conversion net/addr/subnet: Add ToStr conversion net/addr/subnet: Add FromStr conversion net/addr/ether: Add missing equal operator net/addr/ether: Add basic queries net/addr/subnet: Add netmask functions net/addr/subnet: Add hashing functions str/buf: Fix when sizeof(CharT) == sizeof(CharT*) Change-Id: Ie518d47a5845beb32b79ee40650fd14749b084db Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-06-24sdbusplus: srcrev bump 3cc9c302f0..fa663aec1eAndrew Geissler1-1/+1
Patrick Williams (2): async: add is_sender type-aliases stdexec: update to latest commit Change-Id: I264aa6371700bf76a055f4cf91528e2fd7e59845 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-06-07stdplus: srcrev bump 521475e48f..8a6eca3ae3Andrew Geissler1-1/+1
William A. Kennington III (8): net/addr/ip: Add basic IP comparison and hash ops net/addr/ether: Add basic MAC comparison and hashing variant: Add equals operator helper net/addr/ip: Add an any addr class net/addr/subnet: Add class for representing a network subnet treewide: Various fixes for clang compilation treewide: Add NOLINT where needed to make clang-tidy happy build: Enable clang-tidy Change-Id: Ie0b1568f23bbabdd37a987e19c65a43971eda815 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-06-02stdplus: srcrev bump cae9d14ae5..521475e48fAndrew Geissler1-1/+1
William A. Kennington III (6): str/cexpr: Add a function to make a constexpr generated string hash: Add function for efficiently combining hashes hash: Add support for tuples hash: Add support for arrays numeric/endian: Add constexpr endian conversion functions str/maps: Add commonly used cheaper string map Change-Id: I3d8f2f0bf5a7d79ea0f1153c44c619f0d508b4a4 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-06-02etcd: sample conf file cluster node addojayanth2-0/+51
added support to install etcd-new.conf.sample in etc/etcd path, which can be used for starting etcd cluster or node add. This is only reference config file, which can be used for application or users to easily customise node specific configuration. Change-Id: I37072eb4ded0dfac88045e84ba816ea82438b355 Signed-off-by: ojayanth <ojayanth@in.ibm.com>
2023-05-31sdbusplus: srcrev bump 5d16a8ed4d..3cc9c302f0Andrew Geissler1-1/+1
Ed Tanous (1): Fix coroutine disable option Change-Id: I95e6fc441a02fc2141f2a8a82efaa0f389990aec Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-31sdbusplus: srcrev bump 3b451ad4b0..5d16a8ed4dAndrew Geissler1-1/+1
Patrick Williams (4): async: client: fix uninitialized proxy error on clang stdexec: pull in async_scope async: switch to stdexec async_scope async: context: remove pending_exception handling Change-Id: I8b9655e0c5eb09d3ba2993ae53cb76e55b95b27a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-25stdplus: srcrev bump d1984ddc52..cae9d14ae5Andrew Geissler1-1/+1
William A. Kennington III (4): raw: Workaround compiler complaining about test zstring_view: Fix function specification pinned: Declare within namespace pinned: Add noexcept Change-Id: I5c7529444ccd59a8c937cd1dcf01a0e86ba77d00 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-25pam-ipmi: srcrev bump 8e5d061775..9e7627a5ffAndrew Geissler1-1/+1
Patrick Williams (2): build: handle usrmerge clang-format: copy latest and re-format Change-Id: Id90555674c433ebfa74dbeb267555eaf4a027bd6 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-23sdbusplus: srcrev bump 6937348252..3b451ad4b0Andrew Geissler1-1/+1
Patrick Williams (7): async: scope: constructor fix to make clang happy sdbus++: async: client: fix clang warning on struct mismatch test: exception: suppress clang warnings async: execution: suppress clang warning of GCC diagnostic async: fix reference initializer warning stdexec: update to latest commit stdexec: pick up fixes for unused parameters Change-Id: I9a2f969c85887b5c7ab2230929ce8c5f9ad562ac Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-18meta-phosphor: pam-ipmi: prep for usrmergePatrick Williams1-0/+2
Change If53ea402f1e50416bc8a0e561d42080ea68742f9 is going to require us to pass the `--libdir` configure option so that the install directory of the PAM modules is not hard-coded, but instead relies on the `${base_libdir}` derived by the usrmerge feature. Add this now in preparation. This is the same approach taken by the base PAM recipe. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I1a46177f65347521debca54f00145d32872b05b6
2023-05-17sdeventplus: srcrev bump db7e56bdb0..a8c11e3ca3Andrew Geissler1-1/+1
Patrick Williams (1): clang-format: copy latest and re-format Change-Id: I6cd7ef7fbbe75d2ad595f47240248b761ff9855d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-17sdbusplus: srcrev bump fdfd3af1e7..6937348252Andrew Geissler1-1/+1
Patrick Williams (4): sdbus++: handle error includes in Python code sdbus++: handle error names in Python code sdbus++: property: simplify server mako structure sdbus++: simplify vtable generation Change-Id: Idd088d8da3b811eb895385b6b1045c62a13f6c92 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-12stdplus: srcrev bump 6047970d6e..d1984ddc52Andrew Geissler1-1/+1
Patrick Williams (1): clang-format: copy latest and re-format Change-Id: If0ba6f1f990997ea56af0a6d394f2b38f722beb9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-12gpioplus: srcrev bump 01bc0bf6b1..7ba248ad68Andrew Geissler1-1/+1
Patrick Williams (1): clang-format: copy latest and re-format Change-Id: Ia1ee54a0f6672125ced42d6e58a0c40c72b83268 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-12sdbusplus: srcrev bump 3e20fa8bd0..fdfd3af1e7Andrew Geissler1-1/+1
Patrick Williams (1): asio: connection: fix clang-tidy warning Change-Id: I6f17ae33b56abfaa69821ef4b760309be4f53424 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-11sdbusplus: srcrev bump 5bc767aaec..3e20fa8bd0Andrew Geissler1-1/+1
Patrick Williams (2): clang-format: copy latest and re-format stdexec: update to latest commit Change-Id: I8854c707ab8eab7615df3213c05f7b448141000c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-11libbej: srcrev bump 42627cab5c..435526a584Andrew Geissler1-1/+1
Patrick Williams (1): clang-format: copy latest and re-format Change-Id: I6aef06fa5c665ee13ae6ab34db6921fe94d64395 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-10sdbusplus: srcrev bump 384943be7e..5bc767aaecAndrew Geissler1-1/+1
Hannu Lounento (2): Replace interface member with bus Allow propagating exceptions from server methods Patrick Williams (2): async: scope: forward exception correctly sdbus++: async: client: handle readonly flags for properties Change-Id: I50978a3c10448b6fee5ac1f75bad3e80e49d3062 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-09sdbusplus: srcrev bump 13c19ddaa5..384943be7eAndrew Geissler1-1/+1
Patrick Williams (1): sdbus++: async: client: fix client_t usage Change-Id: I15be5d4b5f7a0f9aa7d3a0a26a19c814d852dc25 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-05sdbusplus: srcrev bump 1fc197e6e1..13c19ddaa5Andrew Geissler1-1/+1
Jonathan Doman (1): asio: Emit PropertiesChanged signal Change-Id: I97ac5db8ac62e846ea5dec184c3883e239cb3c56 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-05sdbusplus: srcrev bump 50f1daeacb..1fc197e6e1Andrew Geissler1-1/+1
Patrick Williams (1): server: object: reduce potential warnings Change-Id: I82a2254eec3b348bebe4069744d2092bc4b759d2 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-04Update to libpam 1.5.2Joseph Reynolds9-11/+154
This updates to libpam 1.5.2. This version removes support for pam_cracklib and pam_tally2. They are replaced by pam_pwquality and pam_faillock respectively. Since parameters of pam_cracklb and pam_tally2 are configurable through Redfish, it's possible that they will remain in the overlay of /etc/pam.d with the old module names preventing PAM from working correctly. To avoid this, this commit includes a script that will detect if the old modules are in the overlay and update the overlay with the new modules and configuration. The script will allow updates from libpam 1.3.1 to libpam 1.5.2, but if there are configured parameters during a downgrade from libpam 1.5.2 to libpam 1.3.1, it will require a factory reset before the downgrade. pam_pwquality was selected over pam_passwdqc because of better security and compatibility with pam_cracklib. Note pam_faillock is necessarily configured into the pam module stack differently than pam_tally2. This patchset causes a BMC operational change: - The pam_tally2 command (invoked from the BMC's command line) is no longer present. If you used the "pam_tally2 -u USER -r" command to unlock a user after repeated authentication failures, change to use: faillock --user USER --reset Compatibility note / migration issue. If your BMC cannot authenticate users after installing this change, the cause might be an overlayfs file hiding the new /etc/pam.d/common-auth file. To find out, use `grep deny= /etc/pam.d/common-auth` on your BMC. If it shows "tally2" then your BMC is affected. The recovery is to delete the overlay file, to factory reset the BMC, or manually-install the changed files. The convert-pam-configs service is intended to handle this problem. Tested: as follows, for local users only (not tested with LDAP) Note OpenBMC configuration defaults to an AccountLockoutThreshold value of 0 which does not lock account passwords no matter how many consecutive failed authentication attempts. To configure this on the BMC, for example, use: curl -X PATCH https://${bmc}/redfish/v1/AccountService -d '{"AccountLockoutThreshold": 3, "AccountLockoutDuration": 60}' Tested update scenarios: 1. Install from scratch. Success. 2. Install over firmware which had old PAM configs. Success. Tested update scenarios for the convert-pam-configs service. Tested changing the password via various interfaces: - the passwd command - the PATCH Refish AccountService {Password: NEW} - SSH (accessible only when the password is expired) - IPMI user set password (accessible for unexpired password) Tested both good and bad (unacceptable) passwords. Tested account lockout after N bad passwords Tested unlock via Redfish. Also, because its implementation changed, ensure reading and writing the D-Bus User AccountPolicy RememberOldPasswordTimes property continues to work. There is no Redfish API for this. Signed-off-by: Joseph Reynolds <joseph-reynolds@charter.net> Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com> Change-Id: I7b712cf7cfbf7b0bc79da42f822540baee66ca4f
2023-04-28sdbusplus: srcrev bump 1caa5e8a5a..50f1daeacbAndrew Geissler1-1/+1
Arun Lal K M (1): Make register_method accept 'Flags' Patrick Williams (11): sdbus++: move interface name to common header sdbus++: move enum definitions to common header async: proxy: fix property sub-proxy initialization async: proxy: use variant in property-set sdbus++: server: simplify header include templates sdbus++: add start of an async client sdbus++: async: client: add generated method calls sdbus++: async: client: move context to constructor sdbusplus: async: client: prettify the generated code sdbus++: async: client: add generated property calls sdbus++: async: client: example: add a few comments for clarity Change-Id: Ifcc0c02d31c8bd70f496b60ca6f4cf53acec9487 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-04-22sdbusplus: srcrev bump a412ca8f94..1caa5e8a5aAndrew Geissler1-1/+1
Patrick Williams (3): sdbus++: change binding namespace format server: object: reduce SFINAE sdbus++: add common header file Change-Id: Ibc4ede6599a6750432fbcae263cea043967433f4 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-04-20sdbusplus: srcrev bump 946c940434..a412ca8f94Andrew Geissler1-1/+1
Ed Tanous (2): Remove pointers vector Remove duplicate std::move Change-Id: I6df92d44c9b3ac1676a86355a7bdad878f7ea18c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-04-17treewide: reduce append operators on SRC_URIPatrick Williams5-5/+5
In a base bb file where we are setting the primary git repository, it is rare that we need to `SRC_URI +=`. This is an unnecessary pattern that seems to have been copied throughout the repository. Remove the pattern where appropriate and simply set SRC_URI directly. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I430186a82f9582ba6196f5bf66b659af4092b48d
2023-04-16sdbusplus: srcrev bump e61c679bab..946c940434Andrew Geissler1-1/+1
Michal Orzel (1): Request name with default non-zero flags Change-Id: Ida5ac9640099b4f4954b2fa19eea0a8d88031603 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-04-07sdbusplus: srcrev bump 819ca0ba20..e61c679babAndrew Geissler1-1/+1
Patrick Williams (5): async: change namespace for sync_wait async: add additional completion signatures event: prevent potential deadlock scope: pass around the scheduler stdexec: update to latest commit Change-Id: I2bce16dcd8cf21ad3e922ff662dfa74d03702dff Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-04-04sdbusplus: srcrev bump fd995def4d..819ca0ba20Andrew Geissler1-1/+1
Ed Tanous (5): Optimize object_server Use offset to avoid lookups Add back explicit constructors Fix behavior of const_ properties Make dbus_interface uncopyable and unmovable Jason M. Bills (1): Fix build error on register_signal() Jitendra Tripathy (1): Fix for failure of sending signal Change-Id: I3b6edc643a5dba275c6f09afc8e48a706e341ee5 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-03-20sdbusplus: srcrev bump 936cb89e5d..fd995def4dAndrew Geissler1-1/+1
Ed Tanous (9): Use more specific includes Remove initialized_ member Remove size_t from SetPropertyReturnValue Break out callFunction Delete callbackYields Fix vtable entires for offset callbacks Break out post-spawn lambda into method Remove message copy Break out lambdas into helpers Patrick Williams (6): sdbus++: interface: move basic constructor inline sdbus++: interface: move variant constructor inline sdbus++: interface: reduce excess whitespace sdbus++: method: reduce mako embedded python sdbus++: interface: reduce mako embedded python sdbus++: interface: simplify client.hpp Change-Id: I8edc554cad5f612f1d304020da9db371f211bb0c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-03-03sdbusplus: srcrev bump 3edbe5c0c0..936cb89e5dAndrew Geissler1-1/+1
Ed Tanous (1): Change deprecated asio function Change-Id: I9ae2633c70020d989f75e674b62eee832d98e1de Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-03-01sdbusplus: srcrev bump 56252bbe25..3edbe5c0c0Andrew Geissler1-1/+1
Ed Tanous (1): Change io_service to io_context Change-Id: I156e024a65a732e9c3deb5ae331c462c70d97d96 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-02-15sdbusplus: srcrev bump 29c4d43538..56252bbe25Andrew Geissler1-1/+1
Patrick Williams (1): stdexec: update to latest commit Change-Id: Idddde97ae91922d157bed5cdd99b1fa8e6a678d1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-02-02libbej: srcrev bump c14fab6eeb..42627cab5cAndrew Geissler1-1/+1
kasunath (1): Fix formating issues Change-Id: Id4c785ef86a8401f60cf52966ad02e7bf16a7b49 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-02-01sdbusplus: srcrev bump abbdd6aa11..29c4d43538Andrew Geissler1-1/+1
Patrick Williams (1): event: add unistd header Change-Id: I5c28596a4246f898b40fac8de4294977fbf47326 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-01-27libbej: srcrev bump cc4098e150..c14fab6eebAndrew Geissler1-1/+1
kasunath (4): Move headers into libbej folder Update include directories Rename rde_common to bej_common Fix missing comma for empty arrays/sets Change-Id: I00becdd57768f0496e79a1bcf9215a696913a31a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-01-25sdbusplus: srcrev bump 9688ed6855..abbdd6aa11Andrew Geissler1-1/+1
Patrick Williams (1): stdexec: update to latest commit Change-Id: I318d539624f02054675be6bb9a1b243d46f809f2 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-01-14pam-ipmi: srcrev bump 7342a4b905..8e5d061775Andrew Geissler1-1/+1
Tim Lee (1): pam-ipmi: fix ipmitool user set password failed in 64bit environment Tom Joseph (1): Update OWNERS file Change-Id: I736e47efdf5aa5ca82971558ef124e2f14b5b46d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>