cpanel / elevate

elevate your cPanel&WHM CentOS 7 server to Almalinux 8
https://cpanel.github.io/elevate/
BSD 2-Clause "Simplified" License
45 stars 29 forks source link

Convert logic to remove modules that do not convert into component #394

Closed cPholloway closed 5 months ago

cPholloway commented 5 months ago

Case RE-213: Previously, there was logic that would remove known modules that do not convert to el8 in run_stage_4(). This change moves that logic from being executed directly in run_stage_4() to a new post_leapp component. It also splits this logic into two separate parts:

  1. It removes the packages that were installed for leapp as those packages are no longer necessary after the conversion.

  2. It detects any other packages that are el7 packages and warns about them since they were developed for RHEL 7 based OSs.

Changelog: Convert logic to remove modules that do not convert into component

By submitting pull requests to this repo, I agree to the Contributor License Agreement which can be found at: https://github.com/cpanel/elevate/blob/main/docs/cPanel-CLA.pdf