[Libguestfs] [PATCH 0/4] supermin: use dnf on Mageia

Pino Toscano ptoscano at redhat.com
Mon Oct 31 14:36:26 UTC 2016


Hi,

as pointed out by Neal Gompa, Mageia recently introduced dnf in the
distribution (currently only in Cauldron, which is the future Mageia 6),
and most probably it will replace urpmi in the future.

As such, on Mageia make supermin prefer dnf over urpmi when found,
using the same code already used for Fedora.

Related change: make test-harder.sh work explicitly also on Mageia
("broken" since the recent switch to /etc/os-release).

Thanks,


Pino Toscano (4):
  tests: add Mageia checks in test-harder
  rpm: move fedora_download_all_packages_with_dnf around
  rpm: isolate actual mageia download in own function
  rpm: mageia: prefer dnf over urpmi

 README               |  3 +--
 src/rpm.ml           | 49 +++++++++++++++++++++++++++----------------------
 tests/test-harder.sh | 34 ++++++++++++++++++++++++++++++++++
 3 files changed, 62 insertions(+), 24 deletions(-)

-- 
2.7.4




More information about the Libguestfs mailing list