Fix version and distro matching.

Review Request #14870 — Created March 4, 2026 and submitted — Latest diff uploaded

Information

rbinstall
master

Reviewers

This change makes a couple fixes related to version matching:

  • The match_version() method would only match exactly the tuple,
    where we mostly want to be matching on the major version. This has
    been updated to match whatever length of tuple is passed in.
  • Several of the distro_info items listed the system as "linux", but
    were supposed to be "Linux". This was causing a bunch of steps to be
    improperly excluded.

The second of these changes required updates to several unit tests,
mostly adding in xmlsec libraries which are now getting (correctly)
installed.

Ran unit tests.

Commits

Files