Displaying 8 results from an estimated 8 matches for "run_shel".
Did you mean:
run_shell
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
ind...
2013 Apr 11
1
[PATCH] always work with empty --root in zypp driver
...se "--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 Sep 22
2
[LLVMdev] Bad permissions for mapped region
...Object() (MCJIT.cpp:173)
==27130== by 0xAB57918: LLVMGetPointerToGlobal
(ExecutionEngineBindings.cpp:332)
==27130== by 0x4E4813D: compile_query (ql.c:2286)
==27130== by 0x4E4836A: tusto_ql_compile (ql.c:2322)
==27130== by 0x402D19: process_query (ts_util.c:167)
==27130== by 0x403205: run_shell (ts_util.c:296)
I have source tree checked out at f46e5eadc307beaef6e8dd0602bb4c63ca41fd50.
To create MCJIT i use provided llvm-c apis:
LLVMInitializeMCJITCompilerOptions(&options, sizeof(options));
options.OptLevel = MODULE_OPT_LEVEL; /* 3 of 0 */
options.CodeModel = LLVMCodeModelJITDefault...
2013 Sep 22
0
[LLVMdev] Bad permissions for mapped region
...==27130== by 0xAB57918: LLVMGetPointerToGlobal
> (ExecutionEngineBindings.cpp:332)
> ==27130== by 0x4E4813D: compile_query (ql.c:2286)
> ==27130== by 0x4E4836A: tusto_ql_compile (ql.c:2322)
> ==27130== by 0x402D19: process_query (ts_util.c:167)
> ==27130== by 0x403205: run_shell (ts_util.c:296)
>
> I have source tree checked out at f46e5eadc307beaef6e8dd0602bb4c63ca41fd50.
> To create MCJIT i use provided llvm-c apis:
>
> LLVMInitializeMCJITCompilerOptions(&options, sizeof(options));
> options.OptLevel = MODULE_OPT_LEVEL; /* 3 of 0 */
> options.C...
2016 Feb 18
4
[PATCH 0/3] supermin: miscellaneous cleanups
Hi,
few cleanups in the supermin codebase; no actual functional change.
Thanks,
--
Pino Toscano (3):
ext2: simplify tracking of visited modules
utils: remove unused run_python function
Add and use an helper error function
src/build.ml | 20 +++++-----------
src/dpkg.ml | 4 +---
src/ext2_initrd.ml | 10 ++++----
src/kernel.ml | 27
2013 Jun 04
2
[PATCH / RFC] Handle --packager-config in zypp_rpm
...-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 \
@@ -146,7 +163,7 @@ zypper \
(i...
2016 Feb 18
0
[PATCH 3/3] Add and use an helper error function
...uot; cmd i
);
lines
let run_command cmd =
- if Sys.command cmd <> 0 then (
- eprintf "supermin: %s: command failed, see earlier errors\n" cmd;
- exit 1
- )
+ if Sys.command cmd <> 0 then
+ error "%s: command failed, see earlier errors" cmd
let run_shell code args =
let cmd = sprintf "sh -c %s arg0 %s"
(Filename.quote code)
(String.concat " " (List.map Filename.quote args)) in
- if Sys.command cmd <> 0 then (
- eprintf "supermin: external shell program failed, see earlier error messages\n";
-...
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...PPED i ->
- eprintf "supermin: command '%s' stopped by signal %d" cmd i;
- exit 1
- );
- lines
-
-let run_command cmd =
- if Sys.command cmd <> 0 then (
- eprintf "supermin: %s: command failed, see earlier errors\n" cmd;
- exit 1
- )
-
-let run_shell code args =
- let cmd = sprintf "sh -c %s arg0 %s"
- (Filename.quote code)
- (String.concat " " (List.map Filename.quote args)) in
- if Sys.command cmd <> 0 then (
- eprintf "supermin: external shell program failed, see earlier error messages\n";
-...