commit | 51350b0cc10f2647be9831832eabc3030f9181af | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Tue Apr 18 00:34:53 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Tue Apr 18 11:48:46 2023 +0000 |
tree | e7e58e87a3362453b8bb5bc0870dbeeeb895c6cb | |
parent | 28883b7d12852e85f03dc9c7f0bb4499cfccf22e [diff] |
m/n/b/mkcpio: work around lib symlink bug The library we're using to write these, github.com/cavaliergopher/cpio, does not handle writing symlinks. It does provide a field to put a symlink target, but it only reads into it and ignores it while writing. This causes symlinks in our initramfs to be broken. Work around this for the time being by manually emitting the correct content. Change-Id: I3e78572d122e802d4a02b48bc87dab5152b2b913 Reviewed-on: https://review.monogon.dev/c/monogon/+/1552 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 //...