Skip to content

Size validator accepts lowercase m and g for partition size but genimage expects uppercase only #114

@marcelgsteiger

Description

@marcelgsteiger

If the partition size is suffixed by "m" or "g" (instead of uppercase "M" or "G") it still gets validated OK, but the generate_images step then fails with a message like

ERROR: Invalid size suffix 'm' in '256m'

Obviously genimage (I'm using V19) only accepts uppercase size suffixes for M and G.

My suggestion is either convert m and g to uppercase before passing the size parameter or only accept uppercase in the validator regex.

Regards
Marcel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions