commit | da342a424ffbd981df2250ebed2aa845a18356eb | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Tue Oct 24 15:47:54 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Thu Oct 26 20:58:17 2023 +0000 |
tree | 2eae1557414e3d3982206e267d2e8ee0bd219bc2 | |
parent | c0f72dc5bd129a27d9a141a84f3602480a28400a [diff] |
m/n/b/fwprune: fix bug in firmware deduplication The populatedPaths set was checked for the path relative to /lib/firmware, but the absolute path was added. This caused the bailout for duplicate firmware requests to be ineffective. Found while using this for a weekend project. Change-Id: I74f6cd0dd7e2da1fc189da8a4d01aba7ac29b837 Reviewed-on: https://review.monogon.dev/c/monogon/+/2264 Tested-by: Jenkins CI Reviewed-by: Leopold Schabel <leo@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 --config dbg
Launch an ephemeral test node:
bazel test //:launch --config 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 --config dbg //...