Displaying 4 results from an estimated 4 matches for "opensuse_download_all_packages".
2016 Oct 31
5
[PATCH 0/4] supermin: use dnf on Mageia
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
2014 Nov 24
5
[PATCH] rpm: use librpm's rpmvercmp
Bind and use rpmvercmp to compare versions of packages when sorting
them, instead of an own string-based comparison function.
---
src/librpm-c.c | 12 ++++++++++++
src/librpm.ml | 1 +
src/librpm.mli | 1 +
src/rpm.ml | 2 +-
4 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/src/librpm-c.c b/src/librpm-c.c
index 1ae3bad..fc847d6 100644
--- a/src/librpm-c.c
+++
2016 Oct 31
0
[PATCH 4/4] rpm: mageia: prefer dnf over urpmi
...<> "no" && Config.fakeroot <> "no") || Config.dnf <> "no") &&
(Os_release.get_id () = "mageia" ||
try (stat "/etc/mageia-release").st_kind = S_REG with Unix_error _ -> 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 <>...
2014 Nov 24
0
[PATCH] rpm: isolate the "packages as NA RPM list" code
...t.map (
- fun { name = name; arch = arch } ->
- sprintf "%s.%s" name arch
- ) rpms in
+ let rpms = pkgs_as_NA_rpms pkgs in
let cmd =
sprintf "%s download --destdir %s %s"
@@ -326,11 +318,7 @@ let rec fedora_download_all_packages pkgs dir =
and opensuse_download_all_packages pkgs dir =
let tdir = !settings.tmpdir // string_random8 () in
- let rpms = List.map rpm_of_pkg (PackageSet.elements pkgs) in
- let rpms = List.map (
- fun { name = name; arch = arch } ->
- sprintf "%s.%s" name arch
- ) rpms in
+ let rpms = pkgs_as_NA_rpms pkgs in...