| commit | e479eee0ed95d9ffd4ee90d355618414e7a5d8cb | [log] [tgz] |
|---|---|---|
| author | Jan Schär <jan@monogon.tech> | Wed Aug 21 16:01:39 2024 +0200 |
| committer | Jan Schär <jan@monogon.tech> | Tue Sep 10 14:50:21 2024 +0000 |
| tree | 03eafac6fd67f56b15f626a307bd64af23e127e3 | |
| parent | a6da17176a102f5755fd7289448ca5a9486d8a20 [diff] |
osbase/gpt: fix bugs in AddPartition and add tests AddPartition was very buggy: Many of the new tests fail on the old implementation. For example, in empty-fill, it fails to create a partition because it calculates the maximum free space without considering alignment. In haveone-basic, it creates overlapping partitions. Change-Id: I4ab9ea833a72f694b5f5116ba084b923190c0bd2 Reviewed-on: https://review.monogon.dev/c/monogon/+/3347 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.