upgrades-migrations / redhat-upgrade-tool

Upgrades Red Hat Enterprise Linux from one major version to a newer one. Disclaimer: It was fun. R.I.P. :-)
GNU General Public License v2.0
15 stars 17 forks source link

Treeinfo file renamed product section (RHEL 6) #23

Closed bocekm closed 7 years ago

bocekm commented 7 years ago

Format of the .treeinfo file has been changed in RHEL 7.4 repositories. RHEL repositories prior to 7.4 version had .treeinfo containing 'product' section which was not according to the specification [1]. To correct that, it was changed to 'release' section. Hence, redhat-upgrade-tool has been updated to allow both sections, 'product' as a default and 'release' as a fallback (thanks Marian Ganisin for the patch).

Related: RHBZ#1456809

[1] http://productmd.readthedocs.io/en/latest/treeinfo-1.1.html

Note: This is a copy of RHEL7 PR #21 to RHEL6 branch.