15ce51c2 | 06-Feb-2025 |
William A. Kennington III <wak@google.com> |
dhcp-done: Write status at startup
We want the initial status file to be available as soon as the service starts, so we never produce an error about reading the file contents.
This has a side benef
dhcp-done: Write status at startup
We want the initial status file to be available as soon as the service starts, so we never produce an error about reading the file contents.
This has a side benefit that the DHCP processes don't need to write out a status file until they have acquired lease information from the server.
Change-Id: Ieedb14f1ab3927bcd5f13ad684309c163c920fef Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
24c61c7e | 01-Feb-2025 |
Patrick Williams <patrick@stwcx.xyz> |
meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: Id3da51b0ab2cd90f7bb79bd7b613b2226672a802 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> |
a2d0c9e8 | 30-Jan-2025 |
Patrick Williams <patrick@stwcx.xyz> |
build: use allowed over enabled or not-disabled
Meson feature options are typically in a tri-state of enabled, disabled, or auto. The enabled and disabled functions on an option (from `get_option`)
build: use allowed over enabled or not-disabled
Meson feature options are typically in a tri-state of enabled, disabled, or auto. The enabled and disabled functions on an option (from `get_option`) no longer return true for auto features. Instead, the expectation is to use `allowed()` which is true for both enabled and auto.
Switch all uses of `enabled` to `allowed`. Switch all uses of `not disabled` to `allowed`.
Change-Id: Iea489ded084f43d245e7b17f210e83bc2398dd6d Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
c66ebc35 | 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: I362352dcb341658501899267c2ff3ad044ed5912 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
1e76060a | 07-Mar-2024 |
Yuxiao Zhang <yuxiaozhang@google.com> |
meta-google: dhcp-done: Adding status report
Previously dhcp-done only sends status code, this one provides the capability to send status code + status message for better troubleshooting. Provide a
meta-google: dhcp-done: Adding status report
Previously dhcp-done only sends status code, this one provides the capability to send status code + status message for better troubleshooting. Provide a way to let other process upgrade the status.
Tested: Unit test passed.
Change-Id: I9c689f90502a32b586c41e3491ad47ebc78fcc38 Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
show more ...
|
253e6463 | 28-Dec-2023 |
Willy Tu <wltu@google.com> |
build: Remove dependencies on fmtlib
With C++23, we can replace fmt::format with std::format and fmt::print with stdplus::print. This allows us to migrate to std::print once the support is available
build: Remove dependencies on fmtlib
With C++23, we can replace fmt::format with std::format and fmt::print with stdplus::print. This allows us to migrate to std::print once the support is available.
Change-Id: I790901fb3b96d815275a3919e1fb90973189fc02 Signed-off-by: Willy Tu <wltu@google.com>
show more ...
|
6084957f | 20-Oct-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I4610d1d37873b2019baa2ae22c036f81f4319214 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
1dfe24ea | 12-Jul-2023 |
Patrick Williams <patrick@stwcx.xyz> |
build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of the standard has been implemented. Upgrade the build to leverage it.
Change-Id: Ibb8913a93032d388399b6
build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of the standard has been implemented. Upgrade the build to leverage it.
Change-Id: Ibb8913a93032d388399b65904013e284780dad70 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
2be45238 | 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: Ia240047e2472bccb2bb039ff71bea20a7a602ec4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
4c4e94f0 | 12-Apr-2023 |
Patrick Williams <patrick@stwcx.xyz> |
meson: remove deprecated get_pkgconfig_variable
Since meson 0.56, the `get_pkgconfig_variable` has been deprecated. In meson 0.58 the `get_variable` was enhanced to no longer require the `pkgconfig
meson: remove deprecated get_pkgconfig_variable
Since meson 0.56, the `get_pkgconfig_variable` has been deprecated. In meson 0.58 the `get_variable` was enhanced to no longer require the `pkgconfig` keyword argument. Ensure meson 0.58 is required and update the usage of all `get_pkgconfig_variable` and `get_variable` to be the modern variant.
Change-Id: Ibc0692c5cd05546e797c20973e1c1f172dcb8379 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
5ca20ffe | 30-Mar-2023 |
Yuxiao Zhang <yuxiaozhang@google.com> |
dhcp-done: send status to notify netboot service
This enables the daemon for sending boot status so that netboot service can take actions accordingly.
Tested with nc and verified that the data byte
dhcp-done: send status to notify netboot service
This enables the daemon for sending boot status so that netboot service can take actions accordingly.
Tested with nc and verified that the data byte is present.
Change-Id: I570bbd7c05028b6c007ff9d5a00a8589da73a8ff Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
show more ...
|
dffd6523 | 08-Feb-2022 |
William A. Kennington III <wak@google.com> |
dhcp-done: Add daemon
Used to communicate with cloud utilities monitoring the netboot status of the machine. Started once the netboot has completed in order to provide status.
Change-Id: I6eb8b5a00
dhcp-done: Add daemon
Used to communicate with cloud utilities monitoring the netboot status of the machine. Started once the netboot has completed in order to provide status.
Change-Id: I6eb8b5a0048e3a9d5d4f56adae42ef5aff2c2bab Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|