Demi Marie Obenour writes: > systemd-sysupdate has strict requirements on the partition layout: > > - The label of the active partition must match the template in the > .transfer file. For instance, the root filesystem of Spectrum 0.0.0 > must be in a partition with label "Spectrum_0.0.0", and the verity > partition must have the label "Spectrum_0.0.0.verity". > > - The label of the inactive partition must be that of the old version of > Spectrum, or "_empty" for freshly installed systems. > > - The partition type UUID must conform to the Discoverable Partition > Specification. > > Also, the UKI must have a name that includes the OS version. Otherwise, > it will not be deleted during updates. > > Since the partition label includes the OS version, add an OS version > number. Use 0.0.0 to indicate that Spectrum OS is still in very early > development and should not be used. The version number can be > overridden in the build configuration file. > > Signed-off-by: Demi Marie Obenour > --- > Changes since v2: > - Split off into separate commit. > --- > host/efi.nix | 2 +- > host/initramfs/Makefile | 4 ++-- > host/initramfs/shell.nix | 2 ++ > host/rootfs/Makefile | 4 ++-- > host/rootfs/shell.nix | 2 ++ > lib/config.default.nix | 1 + > release/live/Makefile | 6 +++--- > release/live/default.nix | 3 +++ > 8 files changed, 16 insertions(+), 8 deletions(-) Reviewed-by: Alyssa Ross