commit | 3961acd37445d5139040b910e093e759828552ad | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Wed Aug 02 17:55:06 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Wed Aug 02 16:33:55 2023 +0000 |
tree | 3ed82aa3adca72268431acd88135e2afa2397468 | |
parent | a622379880cd043e0a12ab25129801e2c63d82bb [diff] |
m/p/gpt: fix protective MBR off-by-one Since the protective MBR partition starts at block 1 (the first is the the protective MBR itself) that first block needs to be subtracted from its size. Change-Id: I99bbb449c27596efd2dd260ffb388a9a69a09589 Reviewed-on: https://review.monogon.dev/c/monogon/+/2024 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 //...