Displaying 6 results from an estimated 6 matches for "tmp_root".
Did you mean:
tmp_ret
2013 Apr 11
1
[PATCH] always work with empty --root in zypp driver
...(if verbose then "--verbose --verbose" else "--quiet")
(match packager_config with None -> ""
| Some filename -> sprintf "--config %s" filename)
- (if Unix.getuid() > 0 then sprintf "--root %S --reposd-dir /etc/zypp/repos.d" tmp_root else "")
+ tmp_root
in
run_shell sh names;
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 Jun 04
2
[PATCH / RFC] Handle --packager-config in zypp_rpm
...kg_cache_dir}\" \
--gpg-auto-import-keys \
+ --no-gpg-checks \
--non-interactive \
install \
--auto-agree-with-licenses \
@@ -92,6 +107,7 @@ time zypper \
(match packager_config with None -> ""
| Some filename -> sprintf "--config %s" filename)
tmp_root
+ repos_dir
in
run_shell sh names;
@@ -129,9 +145,10 @@ unset LANG ${!LC_*}
zypper \
%s \
%s \
- --root %S --reposd-dir /etc/zypp/repos.d \
+ --root %S --reposd-dir %S \
--cache-dir %S \
--gpg-auto-import-keys \
+ --no-gpg-checks \
--non-interactive \
--xml \
install \
@...
2013 Apr 11
2
[PATCH] handle --use-installed in zypp driver
...nstalled 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 "set -x" else "")
tmpdir
tmp_pkg_...
2013 Jun 06
1
[supermin PATCH] RFC: Add a --names-only flag.
...ed 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_rpm_resolve_dependencies_and_download_use_installed names...
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...rmin: 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 \"${cache_dir}\" \
- --pkg-cache-dir \"${pkg_cache_di...