Re: [PATCH v5 09/13] Add B partitions to installation images

Alyssa Ross
2025-11-28T11:23:31Z

[-- Attachment #1: Type: text/plain, Size: 1088 bytes --]

Demi Marie Obenour <demiobenour@gmail.com> writes:

> systemd-sysupdate never writes to the running OS partition. Instead, it
> requires a separate partition to write the update into. Create a
> separate partition for that purpose.
>
> systemd-sysupdate will fail if the OS image does not fit in the
> partitions that the installer created. Therefor, make the partitions
> very large so that there is plenty of room for the OS to grow. This
> requires rewriting the code that calculates the partition sizes.
>
> Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
> ---
> Changes since v4:
> - Leave B partitions empty.
> - Leave MiB unit implicit.
> - Use fixed GUIDs for blank partitions.
>
> Changes since v2:
> - Make into a standalone commit
> - Do not rely on separate script to generate the images.
> - Use a smaller size for the verity partition.
> ---
> Documentation/development/uuid-reference.adoc | 8 ++++++++
> release/live/Makefile | 7 +++++--
> 2 files changed, 13 insertions(+), 2 deletions(-)

Reviewed-by: Alyssa Ross <hi@alyssa.is>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]