Displaying 2 results from an estimated 2 matches for "download_all_packages_with_dnf".
2016 Oct 31
5
[PATCH 0/4] supermin: use dnf on Mageia
...efer 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 insertion...
2016 Oct 31
0
[PATCH 4/4] rpm: mageia: prefer dnf over urpmi
...rror _ -> false)
@@ -389,7 +388,10 @@ and opensuse_download_all_packages pkgs dir =
and mageia_download_all_packages pkgs dir =
let tdir = !settings.tmpdir // string_random8 () in
- mageia_download_all_packages_with_urpmi pkgs dir tdir;
+ if Config.dnf <> "no" then
+ download_all_packages_with_dnf pkgs dir tdir
+ else (* Config.urpmi <> "no" && Config.fakeroot <> "no" *)
+ mageia_download_all_packages_with_urpmi pkgs dir tdir;
rpm_unpack tdir dir
--
2.7.4