You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
distrodefs/fedora: support customizations in container types
Add support for customizations in container types (container and wsl).
These are tested in osbuild-composer.
These types also support embedding containers.
assert.EqualError(t, err, fmt.Sprintf("blueprint validation failed for image type %q: customizations.filesystem: not supported", imgTypeName))
724
-
case"container", "wsl":
725
-
assert.EqualError(t, err, fmt.Sprintf("blueprint validation failed for image type %q: customizations: not supported", imgTypeName))
726
724
default:
727
725
// TODO: this error message is a bit clunky; bring it more in line with the other messages (remove "The following errors ...")
728
726
assert.EqualError(t, err, fmt.Sprintf("blueprint validation failed for image type %q: The following custom mountpoints are not supported [\"/etc\"]", imgTypeName))
assert.EqualError(t, err, fmt.Sprintf("blueprint validation failed for image type %q: customizations.filesystem: not supported", imgTypeName))
869
-
case"wsl", "container":
870
-
assert.EqualError(t, err, fmt.Sprintf("blueprint validation failed for image type %q: customizations: not supported", imgTypeName))
871
861
default:
872
862
// TODO: this error message is a bit clunky; bring it more in line with the other messages (remove "The following errors ...")
873
863
assert.EqualError(t, err, fmt.Sprintf("blueprint validation failed for image type %q: The following custom mountpoints are not supported [\"//\"\"/var//\"\"/var//log/audit/\"]", imgTypeName))
assert.EqualError(t, err, fmt.Sprintf("blueprint validation failed for image type %q: customizations.filesystem: not supported", imgTypeName))
947
-
case"wsl", "container":
948
-
assert.EqualError(t, err, fmt.Sprintf("blueprint validation failed for image type %q: customizations: not supported", imgTypeName))
949
935
default:
950
936
assert.EqualError(t, err, fmt.Sprintf("blueprint validation failed for image type %q: customizations.disk cannot be used with customizations.filesystem", imgTypeName))
0 commit comments