| commit | 12cab56e96b6591f4756bdca96e26260431fbcda | [log] [tgz] |
|---|---|---|
| author | Lorenz Brun <lorenz@monogon.tech> | Tue Feb 25 17:01:02 2025 +0100 |
| committer | Lorenz Brun <lorenz@monogon.tech> | Wed Feb 26 14:11:21 2025 +0000 |
| tree | bdba0d9a4bc52abe4fb2dd8bf287055f844725a1 | |
| parent | e294916b24bb6d0035484d215421ceb03c6598b7 [diff] |
m/n/c/l/crypt: open blockdevs read-only for discovery Use the new blockdev capabilities to only open the block devices in read-only mode for partition discovery. This allows us to disable writes to mounted partitions in Linux 6.12 and not get a spurious warning for every boot. It's also generally good practice as we don't want to write at that stage anyways. Change-Id: If8dd9b49ae593aac6f0a25d439baa0b7d60d7ffe Reviewed-on: https://review.monogon.dev/c/monogon/+/3986 Reviewed-by: Jan Schär <jan@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! In the meantime, join us on Matrix (#monogon-os-community:matrix.org) or Discord.
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.
The source code lives in //metropolis (Metropolis is the codename of Monogon OS).
See the //metropolis/README.md for a developer quick start guide, or see the Monogon OS Handbook for user documentation.