Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-776

Remove unused function in our special_cases

XMLWordPrintable

    • 2
    • 2023-Q1
    • Testable

      Since we introduced the shim-x64 package to the list of excluded packages in
      the commit d13612b to prevent a bug in the yum transaction set, we realized that the
      definition/usage of that function was not needed anymore.

      The function in question was used previously to remove the package protection
      for the shim-x64 when it is installed on the system, as it was causing problems
      during the conversion. With the package being listed as a package that
      needs to be removed before the conversion starts, we don't have any use
      anymore for that special function, as the package will never be present on
      an Oracle Linux 7 system, thus, we have an unnecessary call for checking if a package
      exists, because it will never exist.

      What we are aiming with this issue is to remove the legacy functions and
      integration tests that are related to that function.

      Files that need to be changed

      Acceptance Criteria

      • Remove the shim-x64 functions that are not needed anymore from the special_cases.py
      • Update the remove_excld_pkgs_epel7 integration test to include the shim-x64 package

              rolivier@redhat.com Rodolfo Olivieri
              rolivier@redhat.com Rodolfo Olivieri
              Daniel Diblik Daniel Diblik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: