Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-14960

CLI: ti info does not display correct OS name and version on Red Hat Linux-based distros (Fedora, Centos)

    Details

      Description

      When you run "ti info -t os" on a Red Hat Linux distro (or Fedora or Centos), it displays:

      Operating System
        Name                      = GNU/Linux
        Version                   = 
        Architecture              = 64bit
        # CPUs                    = 1
        Memory                    = 2.0GB
      

      Apparently Red Hat distros do not provide a /etc/lsb-release file, but do provide a /etc/system-release which does contain the correct info.

      Expected output should look like:

      Operating System
        Name                      = Fedora
        Version                   = 19
        Architecture              = 64bit
        # CPUs                    = 1
        Memory                    = 2.0GB
      

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              cbarber Chris Barber
              Reviewer:
              Bryan Hughes
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-17275
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration