diff options
| author | Olivier Cochard <olivier@FreeBSD.org> | 2026-09-04 15:24:33 +0000 |
|---|---|---|
| committer | Olivier Cochard <olivier@FreeBSD.org> | 2026-09-04 15:32:08 +0000 |
| commit | 61c27edf3e00ead2bde9669c5917cb1fb32e19db (patch) | |
| tree | bc63907746ca7e2473c17c35d65ced575ff053be /source/Interpreter/Options.cpp | |
| parent | 619d09217720cb82f562b51e98576438dc11c830 (diff) | |
Commit 50c1240ebfaf moved the offset parsing into the PART_KIND_FILE case of
the switch, leaving PART_KIND_SIZE with no offset handling.
The offset was then silently ignored, so "-p efi::$size:$start" as used by
release/${ARCH}/mkisoimages.sh packed the ESP immediately after the preceding
partition.
Parse the offset outside the switch so both forms honour it.
Add tests covering absolute and relative offsets in both forms.
Reviewed by: jrtc27, bsdimp, jlduran
Approved by: jlduran, bsdimp
Sponsored by: Netflix
Assisted-by: Claude Code (Opus 5)
Diffstat (limited to 'source/Interpreter/Options.cpp')
0 files changed, 0 insertions, 0 deletions
