Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-5366

Make PARTUUID code path in grub-mender-grubenv use PARTUUID to query partitions instead of indexes

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      The task probably requires a bit of research. Currently, even if PARTUUID support is turned on, indexes are used to switch between them. This is not robust, and ideally, only PARTUUIDs should be used.

      At the time of writing, the core part that we want to fix can be seen here. There should be no comparisons with mender_rootfsa_part and friends needed.

      This may require several things, it may be that we need to implement support for --part-uuid in the search command of GRUB, or it's possible that the probe command is enough.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            a10040 Kristian Amlie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support