Displaying 15 results from an estimated 15 matches for "run_hook".
2016 Aug 03
0
[PATCH] dib: rework run of extra-data.d hooks (RHBZ#1362354)
...~network:cmdline.network ~debug
- tmpdir cmdline.basepath hookstmpdir extradatatmpdir
+ tmpdir cmdline.basepath hookstmpdir
(auxtmpdir // "fake-bin")
all_elements cmdline.element_paths;
- let run_hook_host hook =
- try
- let scripts = Hashtbl.find final_hooks hook in
- if debug >= 1 then (
- printf "Running hooks for %s...\n%!" hook;
- );
- run_parts_host ~debug hookstmpdir hook scripts
- (tmpdir // "run-part-extra.sh")
- with Not_fo...
2016 Aug 03
3
[PATCH] mllib: move _exit from v2v as Exit module
Move the OCaml binding to C _exit to an own module.
Just code motion, adapting v2v in the process.
---
docs/C_SOURCE_FILES | 2 +-
mllib/Makefile.am | 5 ++++-
mllib/exit-c.c | 33 +++++++++++++++++++++++++++++++++
mllib/exit.ml | 19 +++++++++++++++++++
mllib/exit.mli | 20 ++++++++++++++++++++
v2v/Makefile.am | 1 -
v2v/changeuid-c.c | 33
2012 Dec 12
1
#8498 postgres_adapter fix for disable_referential_integrity
...2.1/lib/rspec/core/hooks.rb:72:in
`each''
from
/.../jenkins/.rvm/gems/ruby-1.9.3-p194@my_application/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:72:in
`run''
from
/.../jenkins/.rvm/gems/ruby-1.9.3-p194@my_application/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:424:in
`run_hook''
from
/.../jenkins/.rvm/gems/ruby-1.9.3-p194@my_application/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:27:in
`block in run''
from
/.../jenkins/.rvm/gems/ruby-1.9.3-p194@my_application/gems/rspec-core-2.12.1/lib/rspec/core/reporter.rb:34:in
`report''
fro...
2006 Mar 31
6
Install rubygems error
...gems/custom_require.rb:21:in `require''
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:61:in
`manage_gems''
from /home/stuart/rubygems-0.8.11/./post-install.rb:64:in
`install_sources''
from /home/stuart/rubygems-0.8.11/./post-install.rb:75:in
`try_run_hook'' from setup.rb:577:in `run_hook''
from setup.rb:1315:in `exec_task_traverse''
from setup.rb:1168:in `exec_install''
from setup.rb:887:in `exec_install''
from setup.rb:705:in `invoke''
from setup.rb:674:i...
2006 Apr 19
3
help! installing rubygems in ubuntu... problems with zlib
...:21:in
`require''
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:61:in
`manage_gems''
from
/home/carlos/Desktop/rubygems-0.8.11/./post-install.rb:64:in
`install_sources''
from
/home/carlos/Desktop/rubygems-0.8.11/./post-install.rb:75:in
`try_run_hook''
from setup.rb:577:in `run_hook''
from setup.rb:1315:in `exec_task_traverse''
from setup.rb:1168:in `exec_install''
from setup.rb:887:in `exec_install''
from setup.rb:705:in `invoke''
from setup.rb:674:...
2006 Jan 12
2
Can''t install rubygems on Debian 3.1
...om_require.rb:21:in
`require''
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:61:in `manage_gems''
from /home/init/junk/rubygems-0.8.11/./post-install.rb:64:in
`install_sources''
from /home/init/junk/rubygems-0.8.11/./post-install.rb:75:in
`try_run_hook''
from setup.rb:577:in `run_hook''
from setup.rb:1315:in `exec_task_traverse''
I also get that when I run gem after trying to install it:
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'': no such file to load -- zlib...
2017 Mar 22
7
[PATCH 0/5] dib: initial work to support d-i-b 2.0
Hi,
this series start to implement some of the changes needed to support
d-i-b 2.0; normal VM distro builds seem to work correctly, ramdisk
builds are still broken and require more efforts.
Thanks,
Pino Toscano (5):
dib: implement get_image_element_array stuff
dib: export IMAGE_BLOCK_DEVICE_WITHOUT_PART
dib: extract get_required_tool out of require_tool
dib: require a Python interpreter
2006 Apr 01
8
ROR on solaris 10 gem installation error
...om_require.rb:21:in
`require ''
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:61:in
`manage_gems''
from /usr/local/src/rubygems-0.8.11/./post-install.rb:64:in
`install_sources''
from /usr/local/src/rubygems-0.8.11/./post-install.rb:75:in
`try_run_hook''
from setup.rb:577:in `run_hook''
from setup.rb:1315:in `exec_task_traverse''
from setup.rb:1168:in `exec_install''
from setup.rb:887:in `exec_install''
from setup.rb:705:in `invoke''
from setup.rb:674:...
2015 May 29
0
[PATCH v3] RFC: New virt-dib tool
...formats
+ )
+ in
+ at_exit delete_file;
+
+ prepare_external ~dib_args ~dib_vars ~out_name:image_name ~root_label ~rootfs_uuid
+ ~image_cache ~arch ~network ~debug
+ tmpdir basepath hookstmpdir extradatatmpdir (auxtmpdir // "fake-bin")
+ all_elements element_paths;
+
+ let run_hook_host hook =
+ try
+ let scripts = Hashtbl.find final_hooks hook in
+ if debug >= 1 then (
+ printf "Running hooks for %s...\n%!" hook;
+ );
+ run_parts_host ~debug hookstmpdir hook scripts
+ (tmpdir // "run-part-extra.sh")
+ with Not_fo...
2015 Jul 03
1
[PATCH v5] New tool: virt-dib
...formats
+ )
+ in
+ at_exit delete_file;
+
+ prepare_external ~dib_args ~dib_vars ~out_name:image_name ~root_label
+ ~rootfs_uuid ~image_cache ~arch ~network ~debug
+ tmpdir basepath hookstmpdir extradatatmpdir (auxtmpdir // "fake-bin")
+ all_elements element_paths;
+
+ let run_hook_host hook =
+ try
+ let scripts = Hashtbl.find final_hooks hook in
+ if debug >= 1 then (
+ printf "Running hooks for %s...\n%!" hook;
+ );
+ run_parts_host ~debug hookstmpdir hook scripts
+ (tmpdir // "run-part-extra.sh")
+ with Not_fo...
2015 Mar 31
0
[PATCH] WIP: New virt-dib tool
...formats
+ )
+ in
+ at_exit delete_file;
+
+ prepare_external ~dib_args ~dib_vars ~out_name:image_name ~root_label ~rootfs_uuid
+ ~image_cache ~arch ~network ~debug
+ tmpdir basepath hookstmpdir extradatatmpdir (auxtmpdir // "fake-bin")
+ all_elements element_paths;
+
+ let run_hook_host hook =
+ let hook_dir = hookstmpdir // (hook ^ ".d") in
+ if is_directory hook_dir then (
+ if debug >= 1 then (
+ printf "Running hooks for %s...\n%!" hook;
+ printf "run-parts %s\n%!" (quote hook_dir)
+ );
+ run_parts_host ~...
2015 Jun 16
2
[PATCH v4] RFC: New tool: virt-dib
...formats
+ )
+ in
+ at_exit delete_file;
+
+ prepare_external ~dib_args ~dib_vars ~out_name:image_name ~root_label
+ ~rootfs_uuid ~image_cache ~arch ~network ~debug
+ tmpdir basepath hookstmpdir extradatatmpdir (auxtmpdir // "fake-bin")
+ all_elements element_paths;
+
+ let run_hook_host hook =
+ try
+ let scripts = Hashtbl.find final_hooks hook in
+ if debug >= 1 then (
+ printf "Running hooks for %s...\n%!" hook;
+ );
+ run_parts_host ~debug hookstmpdir hook scripts
+ (tmpdir // "run-part-extra.sh")
+ with Not_fo...
2017 Feb 14
14
[PATCH 00/10] dib/API: improvements and fixes
Hi,
this patch series does changes mostly in virt-dib, few bug fixes and
a couple of new features (mostly implemented upstream already).
In addition, one new API is added, and a new optional argument for an
existing API is added (the latter is not needed, but could be useful
anyway).
Thanks,
Pino Toscano (10):
dib: fix listing envvars in fake-sudo
dib: source dib "die" script in
2015 Oct 06
0
[PATCH 5/5] mllib: Replace various ad hoc string_* functions with String.*
...t;-f"; device |] in
- let lines = string_nsplit "\n" lines in
+ let lines = String.nsplit "\n" lines in
let lines = List.filter ((<>) "") lines in
(match lines with
| [] -> device
@@ -734,7 +734,7 @@ let main () =
let run_hook_out_eval hook envvar =
let lines = run_hook ~sysroot:Out ~blockdev g hook in
- let lines = string_nsplit "\n" lines in
+ let lines = String.nsplit "\n" lines in
let lines = List.filter ((<>) "") lines in
if lines = [] then None...
2015 Oct 06
10
[PATCH 0/5] mllib: Hide bad String functions and miscellaneous refactoring.
Hide/prevent the use of bad string functions like String.lowercase.
These are replaced by safe functions that won't break UTF-8 strings.
Other miscellaneous refactoring.
Rich.