| commit | 02d721702cd7bf12c2dbbc97221c3d70cc1dcc48 | [log] [tgz] |
|---|---|---|
| author | Jan Schär <jan@monogon.tech> | Mon Sep 02 17:47:27 2024 +0200 |
| committer | Jan Schär <jan@monogon.tech> | Tue Sep 10 14:50:21 2024 +0000 |
| tree | 392873d87604644e8778ef30a9e89295c3f088b0 | |
| parent | e479eee0ed95d9ffd4ee90d355618414e7a5d8cb [diff] |
osbase/gpt: align partition end When adding a partition with size=-1, also align the end of the partition. Otherwise, writes at the end of the partition could write to the hardware blocks containing the alternate GPT, which increasees the risk of corruption. Change-Id: Ib29d0a18c7d91526d1b53a7992974d08255a2e3e Reviewed-on: https://review.monogon.dev/c/monogon/+/3365 Reviewed-by: Lorenz Brun <lorenz@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.