elemental-toolkit/pkg
Fredrik Lönnegren b9202d3d75 Add snapshotter.type flag to build-disk command
When building a disk image we do not specify the snapshotter, which
configures the expansion mechanism to set COS_STATE partition filesystem
to ext4.

The green flavor uses the btrfs snapshotter, which means when it boots
and tries to mount the COS_STATE partition it expects a btrfs
filesystem, but finds an ext4 one, which errors.

In this commit we add the --snapshotter.type flag to the build-disk
command and set the snapshotter in the Makefile accordingly.

Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>
2025-09-30 11:54:41 +02:00
..
action Update copyright year (2025) 2025-01-07 16:43:28 +01:00
bootloader Update copyright year (2025) 2025-01-07 16:43:28 +01:00
cloudinit Update copyright year (2025) 2025-01-07 16:43:28 +01:00
config Add snapshotter.type flag to build-disk command 2025-09-30 11:54:41 +02:00
constants Update copyright year (2025) 2025-01-07 16:43:28 +01:00
efi Update copyright year (2025) 2025-01-07 16:43:28 +01:00
elemental Use chroot to label previously binded mountpoints 2025-09-26 17:26:52 +02:00
error Update copyright year (2025) 2025-01-07 16:43:28 +01:00
features Update copyright year (2025) 2025-01-07 16:43:28 +01:00
http Update copyright year (2025) 2025-01-07 16:43:28 +01:00
mocks Update copyright year (2025) 2025-01-07 16:43:28 +01:00
partitioner Update copyright year (2025) 2025-01-07 16:43:28 +01:00
snapshotter Adapt tests to new build error 2025-08-07 13:26:12 +02:00
systemd Update copyright year (2025) 2025-01-07 16:43:28 +01:00
types Update copyright year (2025) 2025-01-07 16:43:28 +01:00
utils Use chroot to label previously binded mountpoints 2025-09-26 17:26:52 +02:00