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

mender-convert-modify initrd_imagetype has copy paste error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Days in progress:
      0

      Description

      The mender-convert-modify script seems to have a copy and paste error when defining the 
      initrd_imagetype variable. Line 123
       

      
      if [ -z "${MENDER_GRUB_KERNEL_IMAGETYPE}" ]; then
          kernel_imagetype=$(probe_kernel_in_boot_and_root)
        else
          kernel_imagetype="${MENDER_GRUB_KERNEL_IMAGETYPE}"
        fi
      
        if [ -z "${MENDER_GRUB_INITRD_IMAGETYPE}" ]; then
          initrd_imagetype=$(probe_initrd_in_boot_and_root)
        else
          kernel_imagetype="${MENDER_GRUB_INITRD_IMAGETYPE}"
        fi
      

      shouldnt kernel_imagetype be initrd_imagetype in the last assignment ?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dell.green@ideaworks.co.uk Dell Green
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel