elemental-toolkit/cmd
Fredrik Lönnegren 48651071c9 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 10:58:50 +02:00
..
config Adapt code and unit tests 2025-08-06 13:53:10 +02:00
build-disk.go Add snapshotter.type flag to build-disk command 2025-09-30 10:58:50 +02:00
build-iso.go Update copyright year (2025) 2025-01-07 16:43:28 +01:00
build-iso_test.go Update copyright year (2025) 2025-01-07 16:43:28 +01:00
cloud-init.go Update copyright year (2025) 2025-01-07 16:43:28 +01:00
cloud-init_test.go
cmd_suite_test.go
command_test.go
flags.go Add snapshotter.type flag to build-disk command 2025-09-30 10:58:50 +02:00
helpers.go Update copyright year (2025) 2025-01-07 16:43:28 +01:00
init.go Update copyright year (2025) 2025-01-07 16:43:28 +01:00
install.go Add snapshotter.type flag to build-disk command 2025-09-30 10:58:50 +02:00
install_test.go bump elemental-toolkit to v2 (#1969) 2024-03-08 09:14:56 +01:00
mount.go Update copyright year (2025) 2025-01-07 16:43:28 +01:00
pull-image.go Update copyright year (2025) 2025-01-07 16:43:28 +01:00
pull-image_test.go Update copyright year (2025) 2025-01-07 16:43:28 +01:00
reset.go Update copyright year (2025) 2025-01-07 16:43:28 +01:00
reset_test.go
root.go Update copyright year (2025) 2025-01-07 16:43:28 +01:00
run-stage.go Update copyright year (2025) 2025-01-07 16:43:28 +01:00
run-stage_test.go
state.go Update copyright year (2025) 2025-01-07 16:43:28 +01:00
upgrade-recovery.go Update copyright year (2025) 2025-01-07 16:43:28 +01:00
upgrade.go Update copyright year (2025) 2025-01-07 16:43:28 +01:00
upgrade_test.go Update copyright year (2025) 2025-01-07 16:43:28 +01:00
version.go Update copyright year (2025) 2025-01-07 16:43:28 +01:00
version_test.go bump elemental-toolkit to v2 (#1969) 2024-03-08 09:14:56 +01:00