Commit Graph

11 Commits

Author SHA1 Message Date
800cf77a38 Add support for EFI
You can now pass the -e switch to update EFI boot settings at the end of the
migration.
2021-05-29 18:33:57 +12:00
7aa8c84ce2 Add dnf version check
EL 8.0 had a dnf that was not compatible with this script (output changed
causing parsing errors).  Make sure that e ahve a recent enough dnf for this
script to run properly and recommend updating otherwise.
2021-05-29 14:17:06 +12:00
3941878e51 Get rid of placeholder code for features we likely will never implment. 2021-05-19 00:05:01 +12:00
4dc791a7cc Don't migrate problematic modules.
Exclude known problematic modules from migration.
2021-05-18 23:43:58 +12:00
e01ac3ebee Springdale fixes
- Remove devel repo (can be put back when it becomes a thing with rocky).
- Fix filtering of header lines when parsing module list.
2021-05-16 14:05:42 +12:00
6534aaa584 Various additional RHEL fixes.
Additional RHEL fixes:
- Don't remove subscription-manager because baseos is subscription managed.
- Disable any remaining subscription managed repos that are replaced by
  RockyLinux repos.
- Hide digest messages from rpm.
2021-05-14 15:18:43 +12:00
17d50090fd Remove stray debugging line 2021-05-14 02:33:59 +12:00
1c25367f8b Various RHEL fixes
Various fixes to allow RHEL conversions to work:
- adding additional commands to bin_check
- Fixed awk command to parse out the gpgkey for a repo.
- provides_pkg() which returns a package name for a given provides.
- allow additional packages to be removed without replacing them with rocky
  equivalents.
- Don't bother checkign the exit status of dnf shell, it doesn't return a valid
  fail status anyways.
- Instead check to make sure that the appropriate packages have been removed and
  installed.  If not attempt to fix with rpm.
2021-05-14 02:26:20 +12:00
49fa13494e Account for no modules.
It is possible that we may get a system with no modules enabled.  Test and
account for this by skipping the enable modules step if necessary.
2021-05-12 13:44:41 +12:00
fdadcac23d os-release should be run in a subshell.
os-release should be run in a subshell to avoid the settings corrupting the main
script.
2021-05-12 11:11:36 +12:00
7f08a2b696 Import migrate2rocky.sh
This script, based on centos2rocky.sh is designed to be able to migrate to Rocky
Linux from any EL8 distribution.
2021-05-12 10:55:56 +12:00