Skip to content

Commit 520be2f

Browse files
committed
Update to newer core release
Signed-off-by: Jon Ludlam <[email protected]>
1 parent 5266d36 commit 520be2f

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/ma
33
script: bash -ex .travis-opam.sh
44
sudo: true
55
env:
6-
- OCAML_VERSION=4.01 PACKAGE=xapi-storage-script PINS="xapi-storage:git://github.com/djs55/xapi-storage" EXTRA_REMOTES="git://github.com/xapi-project/opam-repo-dev"
6+
- OCAML_VERSION=4.02 PACKAGE=xapi-storage-script PINS="xapi-storage:git://github.com/djs55/xapi-storage" EXTRA_REMOTES="git://github.com/xapi-project/opam-repo-dev"

main.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ let fork_exec_rpc root_dir script_name args response_of_rpc =
114114
Writer.write w (Jsonrpc.to_string args);
115115
Writer.close w
116116
>>= fun () ->
117-
Process.wait p
117+
Process.collect_output_and_wait p
118118
>>= fun output ->
119119
begin match output.Process.Output.exit_status with
120120
| Error (`Exit_non_zero code) ->
@@ -1084,7 +1084,7 @@ let _ =
10841084
() with
10851085
| `Ok () -> ()
10861086
| `Error x ->
1087-
Printf.fprintf stderr "Error: %s\n%!" x;
1087+
error "Error: %s\n%!" x;
10881088
Pervasives.exit 1);
10891089

10901090
if !Xcp_service.daemon then begin

opam

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ remove: [
1010
depends: [
1111
"xapi-idl" {>= "0.10.0" }
1212
"xapi-storage"
13-
"async" {= "111.25.00" }
14-
"async_inotify" {= "111.28.00" }
13+
"async"
14+
"async_inotify"
15+
"async_unix" {>= "112.24.00" }
1516
"core"
1617
"message-switch" {>= "0.11.0" }
1718
]

0 commit comments

Comments
 (0)