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

Document mender-artifact dependency on 'debugfs'

    XMLWordPrintable

    Details

      Description

      mender-artifact requires:

      • install of e2fsprogs, which contains `debugfs`
      • debugfs must be in PATH

      Above is needed for the "cp", "cat" and "install" commands and is not documented anywhere.

      Don Cross, also reported:

      It turns out I do have a debugfs executable on my system (Debian Stretch 9.4.0), only it is under /sbin, which is not in my normal user's PATH

      Acceptance criteria:

      • mender-artifact checks if debugfs is available when required (e.g. cp, cat, install) and exits with a descriptive error message if not
      • the error message includes the name of the required binarie(s) and typical package(s) they would be found in

        Attachments

        1. 0001-Use-GetBinaryPath-helper-to-search-PATH-and-sbin.patch
          6 kB
          Andreas Henriksson
        2. debugfsPath.diff
          3 kB
          Andreas Henriksson

          Activity

            People

            • Assignee:
              oleorhagen Ole Petter Orhagen
              Reporter:
              mirzak Mirza Krak
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel