flowey: support RPM-based Linux distributions
As it stands, restore-packages works on Ubuntu, and by extension on other DEB/APT based distributions. Microsoft Azure Linux, RedHat Enterprise Linux and Fedora Linux would be the distributions that require flowey to drive an RPM/DNF based package manager, and currently flowey lacks that ability.
Changes/fixes:
- Introduce a notion of a Linux distribution,
- Add a way to detect what distribution packages are being restored on,
- Instead of apt taxonomy only, add dnf, too,
- Explicitly require installing Perl under Linux (Ubuntu installs it by default),
- Appropriate renames
https://github.com/microsoft/openvmm/pull/94 lost the connection to the fork after the repo went public - will close it. This one comes from a proper fork.
So I sync'ed my fork where github asked if I wanted to discrad one commit, and that pushed an empty branch to this PR's branch, and the PR got closed. I'll try using the UI less.