Skip to content

Commit

Permalink
Merge pull request #45 from jonludlam/new-core
Browse files Browse the repository at this point in the history
Update to newer core release
  • Loading branch information
Jon Ludlam committed Dec 22, 2015
2 parents 5266d36 + 520be2f commit b265934
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/ma
script: bash -ex .travis-opam.sh
sudo: true
env:
- 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"
- 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"
4 changes: 2 additions & 2 deletions main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ let fork_exec_rpc root_dir script_name args response_of_rpc =
Writer.write w (Jsonrpc.to_string args);
Writer.close w
>>= fun () ->
Process.wait p
Process.collect_output_and_wait p
>>= fun output ->
begin match output.Process.Output.exit_status with
| Error (`Exit_non_zero code) ->
Expand Down Expand Up @@ -1084,7 +1084,7 @@ let _ =
() with
| `Ok () -> ()
| `Error x ->
Printf.fprintf stderr "Error: %s\n%!" x;
error "Error: %s\n%!" x;
Pervasives.exit 1);

if !Xcp_service.daemon then begin
Expand Down
5 changes: 3 additions & 2 deletions opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ remove: [
depends: [
"xapi-idl" {>= "0.10.0" }
"xapi-storage"
"async" {= "111.25.00" }
"async_inotify" {= "111.28.00" }
"async"
"async_inotify"
"async_unix" {>= "112.24.00" }
"core"
"message-switch" {>= "0.11.0" }
]

0 comments on commit b265934

Please sign in to comment.