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

Implement grub boot script

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      Acceptance criteria:

      • There must a boot script for grub that can:
        • Select correct boot partition based on configuration in mender_boot_part.conf
        • Keep a boot counter in mender_boot_counter.conf that will roll back if if exceeded
        • It will not roll back if mender_boot_counter.conf doesn't exist
      • For atomicity:
        • All configuration files that grub writes to should be stored on the data partition
        • All writes to files should use atomic rename over existing file
      • Script does not need to be auto-included in the build (separate task)

      The names and layout above are not 100% final, they can be adjusted if need arises during implementation.

        Attachments

          Activity

            People

            • Assignee:
              a10040 Kristian Amlie
              Reporter:
              a10040 Kristian Amlie
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support

                  Summary Panel