Displaying 3 results from an estimated 3 matches for "download_pkgs".
2011 Sep 12
1
[PATCH] febootstrap: Use contents of installed Debian packages instead of downloading and unpacking them.
...o" && Config.apt_cache <> "no" && Config.dpkg <> "no"
@@ -51,18 +54,29 @@ let rec debian_resolve_dependencies_and_download names =
not (List.exists (fun re -> Str.string_match re name 0) excludes)
) pkgs in
+ let present_pkgs, download_pkgs = List.partition (
+ fun pkg -> List.exists ((=) pkg) installed_pkgs
+ ) pkgs in
+
+ debug "wanted packages (present / download): %s / %s\n"
+ (String.concat " " present_pkgs)
+ (String.concat " " download_pkgs);
+
(* Download the packages. *)
- let c...
2011 Oct 18
5
[PATCH febootstrap] Some cleanups for Debian and Ubuntu
I just tried to get libguestfs to compile on Ubuntu 11.10 using the
latest febootstrap, and the following patches were necessary for me.
They are all just reasonable code cleanups *except* for patch 5/5
which is a gross hack for something I don't understand about how
Ubuntu 11.10 multiarch support works.
Rich.
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...sort_uniq pkgs)
- else
- sort_uniq pkgs in
-
- (* Exclude packages matching [--exclude] regexps on the command line. *)
- let pkgs =
- List.filter (
- fun name ->
- not (List.exists (fun re -> Str.string_match re name 0) excludes)
- ) pkgs in
-
- let present_pkgs, download_pkgs =
- if not use_installed then
- [], pkgs
- else
- List.partition (
- fun pkg -> List.exists ((=) pkg) (get_installed_pkgs ())
- ) pkgs in
-
- debug "packages already present: %s" (String.concat " " present_pkgs);
- debug "wanted packages to downloa...