Displaying 4 results from an estimated 4 matches for "tmp_pkg_cache_dir".
2013 Apr 09
2
[PATCH 1/2] add run_shell helper
The new run_shell helper is a copy of run_python,
and will be used by upcoming changes.
Signed-off-by: Olaf Hering <olaf at aepfle.de>
---
src/supermin_utils.ml | 9 +++++++++
src/supermin_utils.mli | 5 +++++
2 files changed, 14 insertions(+)
diff --git a/src/supermin_utils.ml b/src/supermin_utils.ml
index f98e09a..cb8a27e 100644
--- a/src/supermin_utils.ml
+++ b/src/supermin_utils.ml
2013 Apr 11
2
[PATCH] handle --use-installed in zypp driver
..."supermin: zypp_rpm driver assumes all packages are already installed when called with option --use-installed.\n%!"
-let zypp_rpm_resolve_dependencies_and_download names =
+let zypp_rpm_resolve_dependencies_and_download_no_installed names =
(* Liberate this data from shell. *)
let tmp_pkg_cache_dir = tmpdir // "pkg_cache_dir" in
let tmp_root = tmpdir // "root" in
let sh = sprintf "
-set -ex
+%s
unset LANG ${!LC_*}
tmpdir=%S
cache_dir=\"${tmpdir}/cache-dir\"
@@ -60,6 +85,7 @@ time zypper \
--download-only \
$@
"
+ (if verbose then "...
2013 Jun 06
1
[supermin PATCH] RFC: Add a --names-only flag.
...pp_rpm driver assumes all packages are already installed when called with option --use-installed.\n%!"
-let zypp_rpm_resolve_dependencies_and_download_no_installed names =
+let zypp_rpm_resolve_dependencies_and_download_no_installed names mode =
(* Liberate this data from shell. *)
let tmp_pkg_cache_dir = tmpdir // "pkg_cache_dir" in
let tmp_root = tmpdir // "root" in
let sh = sprintf "
%s
@@ -136,11 +136,11 @@ time zypper \
let pkgs = walk_directory_tree tmp_pkg_cache_dir ".*\\.rpm" in
(* Return list of package filenames. *)
pkgs
-let zypp_r...
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...ypp_rpm_init () =
- if use_installed then
- eprintf "supermin: zypp_rpm driver assumes all packages are already installed when called with option --use-installed.\n%!"
-
-let zypp_rpm_resolve_dependencies_and_download_no_installed names =
- (* Liberate this data from shell. *)
- let tmp_pkg_cache_dir = tmpdir // "pkg_cache_dir" in
- let tmp_root = tmpdir // "root" in
- let sh = sprintf "
-%s
-unset LANG ${!LC_*}
-tmpdir=%S
-cache_dir=\"${tmpdir}/cache-dir\"
-pkg_cache_dir=%S
-time zypper \
- %s \
- %s \
- --root %S --reposd-dir %S \
- --cache-dir \"${ca...