diff options
author | Arnaud Ferraris <aferraris@debian.org> | 2022-10-04 18:52:33 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-10-06 17:27:47 +0200 |
commit | 5113436b054aea7185a0287590aa64486fec3cec (patch) | |
tree | 085bb221c120292b5c765f35846b746aab315c87 /meson.build | |
parent | 3286770daa90e6b631331e9ef9341006e7197833 (diff) | |
download | systemd-5113436b054aea7185a0287590aa64486fec3cec.tar.gz |
repart: always honour `--discard=no`
Currently, even if `--discard=no` is passed to `systemd-repart`, the
`context_discard_gap_after()` function still runs normally, discarding
e.g. all blocks between the GPT and the start of the first partition.
This can lead to issues on some embedded devices, where this space
holds the bootloader and shouldn't be modified (creating a protective
partition there is not always possible due to the specifics of the boot
process of some ARM-based SoC's).
This commit ensures passing `--discard=no` would be enough to ensure
the bootloader isn't wiped in such cases.
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@gmail.com>
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions