commit | f025d1b20232385fa09459794dda9f9df0f5295a | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Mon Aug 07 14:52:49 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Mon Aug 07 13:28:39 2023 +0000 |
tree | e19ea5d8e3af4e2314b42602e60305db5d376051 | |
parent | 3b25cf7c486781e018795066c3337e73ac7e526b [diff] |
m/p/efivarfs: allow multiple paths in LoadOption The FilePathList in an EFI LOAD_OPTION technically allows multiple device paths separated by end of path markers. These additional paths beyond the first one do not have any standardized function, but some EFI vendors use them to store data. Currently we fail to parse them because they contain more than one end of path marker. Fix this by adding an ExtraPaths field to LoadOption and implementing marshalling/ unmarshalling for it. I chose to use a separate field in the Go struct because these additional paths do not have the same functionality as the first one (they are not bootable). Change-Id: I96df17915966a973a7553fe9864a0b3e6f6b61e8 Reviewed-on: https://review.monogon.dev/c/monogon/+/2037 Reviewed-by: Serge Bazanski <serge@monogon.tech> Reviewed-by: Tim Windelschmidt <tim@monogon.tech> Tested-by: Jenkins CI
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later!
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm
(if you want to run tests).Our docs assume that Bazelisk is available as bazel
on your PATH.
Refer to SETUP.md for detailed instructions.
Build CLI and node image:
bazel build //metropolis/cli/dbg //:launch -c dbg
Launch an ephemeral test node:
bazel test //:launch -c dbg --test_output=streamed
Run a kubectl command while the test is running:
bazel-bin/metropolis/cli/dbg/dbg_/dbg kubectl describe node
Run full test suite:
bazel test -c dbg //...