Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-70463

QSysInfo should provide a way to retrieve extra IDs from /etc/os-release

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12
    • Core: Other
    • None

    Description

      In openSUSE 15.0 /etc/release looks like this

      NAME="openSUSE Leap"
      VERSION="15.0"
      ID="opensuse-leap"
      ID_LIKE="suse opensuse"
      VERSION_ID="15.0"
      PRETTY_NAME="openSUSE Leap 15.0"
      ANSI_COLOR="0;32"
      CPE_NAME="cpe:/o:opensuse:leap:15.0"
      BUG_REPORT_URL="https://bugs.opensuse.org"
      HOME_URL="https://www.opensuse.org/"
      

      Meaning the ID is read as "opensuse-leap" and for example blacklistings made for opensuse don't work.

      Should we just consider "opensuse-leap" as "opensuse"?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            villevoutilainen_qt Ville Voutilainen
            tosaraja Tony Sarajärvi
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes