| 9ce2965d | 17-Dec-2025 |
Willy Tu <wltu@google.com> |
build: Add missing dependency for sdbus++
Add missing program_names so that we can build this repo without any installed libraries.
Change-Id: Ifae1a14e3f54b2e673f808a0764d3e2932818a3f Signed-off-b
build: Add missing dependency for sdbus++
Add missing program_names so that we can build this repo without any installed libraries.
Change-Id: Ifae1a14e3f54b2e673f808a0764d3e2932818a3f Signed-off-by: Willy Tu <wltu@google.com>
show more ...
|
| 9c2e8362 | 01-Feb-2025 |
Patrick Williams <patrick@stwcx.xyz> |
meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: I4cc78e59d8341dd5ea54ee2793afdab179b259e8 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> |
| 620d1a51 | 29-Mar-2024 |
Konstantin Aladyshev <aladyshev22@gmail.com> |
build: Fix boost dependency
Currently local build fails with a message: """ src/meson.build:16:14: ERROR: Include dir subprojects/boost_1_78_0/ does not exist """ The error is happening because the
build: Fix boost dependency
Currently local build fails with a message: """ src/meson.build:16:14: ERROR: Include dir subprojects/boost_1_78_0/ does not exist """ The error is happening because the correct path for the includes should not be "subprojects/boost_1_79_0/" but "../subprojects/boost_1_79_0/". But such relative links are deprecated, therefore rewrite boost dependency with its own packagefile. Also boost library is required for the project build, therefore drop "required: false" statement for the dependency. And since boost is required for the libeStoragedErase, add boost_dep to its dependencies.
Tested: "meson setup build && cd build && meson compile" now works without any issues.
Change-Id: Id0afda7563c944f3afc88cd1f59099794611525e Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
show more ...
|
| 439f0fd8 | 11-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-tidy: ignore issues in subproject headers
This repository cannot control the settings and strictness of subprojects, so we need to disable clang-tidy on those. Leverage the HeaderFilter optio
clang-tidy: ignore issues in subproject headers
This repository cannot control the settings and strictness of subprojects, so we need to disable clang-tidy on those. Leverage the HeaderFilter option in the .clang-tidy to ignore issues in header files and leverage the meson `.clang-tidy-ignore` feature to ignore issues in C++ parts.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I01ff31ec62b364c310fb0aa87dc05883f4be9318
show more ...
|
| 67a47446 | 05-Apr-2022 |
John Wedig <johnwedig@google.com> |
Switch eStoraged to asio interface
Switching the D-Bus interface to asio makes it easier to integrate with EntityManager. In addition, this switch to asio makes sense since some of the erase operati
Switch eStoraged to asio interface
Switching the D-Bus interface to asio makes it easier to integrate with EntityManager. In addition, this switch to asio makes sense since some of the erase operations take a long time, about 6 minutes.
This commit also removes one of the clang-tidy checks because clang was flagging an error in one of the boost asio files, inside the constructor for sdbusplus::asio::connection.
Tested: Tested most of the methods and properties using busctl. $ busctl call xyz.openbmc_project.eStoraged.mmcblk0 \ /xyz/openbmc_project/inventory/storage/mmcblk0 \ xyz.openbmc_project.Inventory.Item.Volume FormatLuks ays 3 1 2 3 \ xyz.openbmc_project.Inventory.Item.Volume.FilesystemType.ext4 \ --timeout=60 $ busctl call xyz.openbmc_project.eStoraged.mmcblk0 \ /xyz/openbmc_project/inventory/storage/mmcblk0 \ xyz.openbmc_project.Inventory.Item.Volume Lock $ busctl call xyz.openbmc_project.eStoraged.mmcblk0 \ /xyz/openbmc_project/inventory/storage/mmcblk0 \ xyz.openbmc_project.Inventory.Item.Volume Unlock ay 3 1 2 3 $ busctl get-property xyz.openbmc_project.eStoraged.mmcblk0 \ /xyz/openbmc_project/inventory/storage/mmcblk0 \ xyz.openbmc_project.Inventory.Item.Volume Locked $ busctl get-property xyz.openbmc_project.eStoraged.mmcblk0 \ /xyz/openbmc_project/inventory/storage/mmcblk0 \ xyz.openbmc_project.Inventory.Item.Drive Capacity $ busctl call xyz.openbmc_project.eStoraged.mmcblk0 \ /xyz/openbmc_project/inventory/storage/mmcblk0 \ xyz.openbmc_project.Inventory.Item.Volume Erase s \ xyz.openbmc_project.Inventory.Item.Volume.EraseMethod.VerifyGeometry $ busctl call xyz.openbmc_project.eStoraged.mmcblk0 \ /xyz/openbmc_project/inventory/storage/mmcblk0 \ xyz.openbmc_project.Inventory.Item.Volume Erase s \ xyz.openbmc_project.Inventory.Item.Volume.EraseMethod.LogicalOverWrite \ --timeout=1200 $ busctl call xyz.openbmc_project.eStoraged.mmcblk0 \ /xyz/openbmc_project/inventory/storage/mmcblk0 \ xyz.openbmc_project.Inventory.Item.Volume Erase s \ xyz.openbmc_project.Inventory.Item.Volume.EraseMethod.LogicalVerify \ --timeout=1200
Signed-off-by: John Wedig <johnwedig@google.com> Change-Id: I99cb371871bfa68eb0193f614f899221afd9013a
show more ...
|
| 0c2808f0 | 25-Feb-2022 |
Patrick Williams <patrick@stwcx.xyz> |
build: enable subproject-based build
* Move existing phosphor-logging.wrap to the subprojects directory. * Add wrap files for all openbmc dependencies. * Fix up meson.build files to utilize subproje
build: enable subproject-based build
* Move existing phosphor-logging.wrap to the subprojects directory. * Add wrap files for all openbmc dependencies. * Fix up meson.build files to utilize subproject dependencies and follow Meson conventions for dependency naming. * Ensure wrap files are not ignored by .gitignore.
Tested: Built on a typical Linux development system and 'ninja test' passed.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I167911f045ee1f27cc69bcba7be185762844a030
show more ...
|