Centos-8-stream uses python2 policycoreutils

Bug #1938815 reported by Mick Schellekens
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
New
Undecided
Unassigned

Bug Description

When using the option "DIB_RELEASE=8-stream" the redhat-common element tries to install python2 libraries. this happens because a 8-stream release is not defined in the pkg-map. A fix would be to add an 8-stream object to the JSON like below. I can propose the change as well if that is desired.

{
  "distro": {
    "fedora": {
      "libselinux-python": "python3-libselinux",
      "policycoreutils": "python3-policycoreutils",
      "policycoreutils-python": "policycoreutils-python-utils"
    }
  },
  "release": {
    "rhel": {
      "8": {
        "libselinux-python": "python3-libselinux",
        "policycoreutils": "python3-policycoreutils",
        "policycoreutils-python": "policycoreutils-python-utils"
      }
    },
    "centos": {
      "8": {
        "libselinux-python": "python3-libselinux",
        "policycoreutils": "python3-policycoreutils",
        "policycoreutils-python": "policycoreutils-python-utils"
      },
      "8-stream": {
        "libselinux-python": "python3-libselinux",
        "policycoreutils": "python3-policycoreutils",
        "policycoreutils-python": "policycoreutils-python-utils"
      }
    }
  }
}

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.