acbf8759 | 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: Ia942d083f4ddab68acbbb40699ea1971e09db771 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
64a23b26 | 13-Feb-2023 |
Brennan Swanton <brennanswanton@google.com> |
Use 'type' of delete action in the log_handler builder
This was a bug where the 'type' of the open action was being used rather than using the 'type' in the delete action config.
Tested: - Created
Use 'type' of delete action in the log_handler builder
This was a bug where the 'type' of the open action was being used rather than using the 'type' in the delete action config.
Tested: - Created LogHandler with the following config. ``` { "blob": "/log/log-blob-name", "handler": { "type": "file", "path": "/var/run/log-blob-file.log" }, "actions": { "open": { "type": "skip" }, "delete": { "type": "systemd", "unit": "log-blob-delete.service" } }, ``` - Checked log-blob-delete.service was run when blob was deleted
Change-Id: I2e4c783d9b159ad269ef06721d872bb8052af81c Signed-off-by: Brennan Swanton <brennanswanton@google.com>
show more ...
|