Skip to content

Configuration file: partition flag crashes #2894

@codefiles

Description

@codefiles

Here are some issues with the partition flag when using a configuration file:

  • Invalid partition flags cause a crash with a KeyError
  • Partition flags are case-sensitive; "Boot" is valid but "boot" is not
  • "XBOOTLDR" is valid but "bls_boot" is not

Since partition flags are derived from parted it is preferable to accept flags (that are supported by archinstall) as shown in the parted documentation. Partition flags should be case-insensitive to support backwards compatibility. When an invalid flag is encountered it should be logged rather than crash.

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