Go to file
Todd Zullinger d3d4896e39
migrate2rocky minor improvements (#140)
* migrate2rocky: use $convert_info_dir consistently

We set convert_info_dir=/root/convert.  Use it consistently.

* migrate2rocky: avoid mkdir error with -rV options

Both -r and -V call `generate_rpm_info()` which run `mkdir` to create
the convert directory.  The second call results in a warning:

    mkdir: cannot create directory ‘/root/convert’: File exists

Use `mkdir -p` to avoid the spurious warning when the convert directory
exists.

* migrate2rocky: fix listing of rpm info files

When the conversion completes, the script prints:

    You may review the following files:

However, there are no files displayed because the find pattern does not
match what `generate_rpm_info()` writes.  It looks for '*-rpms-*' while
the files are named '*-rpm-list-*' instead.

Fix the file pattern used.  While here, replace the use of `find` with a
simpler `printf` to achieve the same result.
2022-01-01 18:51:07 +13:00
migrate2rocky migrate2rocky minor improvements (#140) 2022-01-01 18:51:07 +13:00
mirror After further discussion in the Infrastructure channel, the check for 2021-11-25 13:51:45 +01:00
LICENSE Adds License File 2021-06-29 07:15:49 +12:00
README.md Move migrate2rocky into it's own subdirectory. 2021-06-11 19:17:16 +02:00

README.md

Rocky Tools

Various scripts and tools that we find useful, whether we use them or they are made for public consumption.

migrate2rocky -- Conversion Script

Running this script will convert an existing CentOS 8 system to Rocky Linux 8.

mirrorsync -- Mirror Script

Example script for keeping a public or private mirror in sync.