Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-298

autoconf dpkg test needs improvment

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.1.0
    • Lustre 2.1.0
    • None
    • RHEL6
    • 3
    • 5031

    Description

      I was going to point out that the dpkg test should be improved to through away stderr.

      However, it now occurs to me that this test should be changed further. Assuming that an rpm system will not have the dpkg binary, or that a deb system will not have the rpm binary is not the best assumption.

      Our RHEL6 clusters do in fact have dpkg, and I know I have the rpm command installed on my Ubuntu box.

      A better test would probably check the OS distributor ID or somesuch. For instance:

      $ lsb_release -i -s
      Ubuntu

      On a Debian system, the response is "Debian".

      I'll submit a patch.

      Attachments

        Activity

          People

            brian Brian Murrell (Inactive)
            morrone Christopher Morrone (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: