commit | a3904fc44595376bc725fed7ac74dfa80d1ada94 | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Tue May 02 19:33:52 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Wed May 03 09:47:02 2023 +0000 |
tree | 47d1177071dd190b6409731959d7bc471aaa7229 | |
parent | ca9cfcf9cfbb0ae46ee4f6f0d207cdbd7085e460 [diff] |
m/n/c/l/crypt: select partitions more specifically This changes partition selection to only consider block devices which contain the ESP we booted from if known. This prevents us from mounting spurious partitions sharing the same type identifiers. While at it, convert to our GPT library. Change-Id: Ie9f5bd596f793439a467759d5066529f3912028b Reviewed-on: https://review.monogon.dev/c/monogon/+/1641 Tested-by: Jenkins CI Reviewed-by: Tim Windelschmidt <tim@monogon.tech>
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 //...