diff --git a/internal/distro/fedora/distro.go b/internal/distro/fedora/distro.go index d6ad88a80..c84d13728 100644 --- a/internal/distro/fedora/distro.go +++ b/internal/distro/fedora/distro.go @@ -160,14 +160,18 @@ var ( defaultImageConfig: &distro.ImageConfig{ Locale: common.ToPtr("en_US.UTF-8"), }, - defaultSize: 4 * common.GibiByte, - rpmOstree: true, - bootable: true, - image: iotRawImage, - buildPipelines: []string{"build"}, - payloadPipelines: []string{"image-tree", "image", "xz"}, - exports: []string{"xz"}, - basePartitionTables: iotBasePartitionTables, + defaultSize: 4 * common.GibiByte, + rpmOstree: true, + bootable: true, + image: iotRawImage, + buildPipelines: []string{"build"}, + payloadPipelines: []string{"image-tree", "image", "xz"}, + exports: []string{"xz"}, + basePartitionTables: iotBasePartitionTables, + + // Passing an empty map into the required partition sizes disables the + // default partition sizes normally set so our `basePartitionTables` can + // override them (and make them smaller, in this case). requiredPartitionSizes: map[string]uint64{}, }