Skip to content

Use systemd-gpt-auto-generator to find boot and root partitions and reduce rdcore logic #2077

@travier

Description

@travier

Describe the enhancement

We want to move the logic used to find the boot and root partitions to use systemd-gpt-auto-generator instead of custom CoreOS logic implemented in rdcore and coreos-boot-mount-generator.

Testing

  • We need to make sure that we keep the current logic working for boot and root for all disk layouts (LUKS, RAID0/1, multipath, etc.)
  • Verify that UUID restamping works as expected

See: https://www.freedesktop.org/software/systemd/man/latest/systemd-gpt-auto-generator.html

Related:

This heavily relates to: #2026

System details

All

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions