miragesdk: do not use inotify in the privileged container

The inotify bindings that we are using is a bit sensitive to init
conditions, and it seems to not like being run inside in a container.

See https://github.com/samoht/irmin-watcher/issues/10

Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
This commit is contained in:
Thomas Gazagnaire 2017-03-31 19:00:25 +02:00
parent dfb078825b
commit 8d3cea1980

View File

@ -27,7 +27,10 @@ let v path =
KV.of_branch repo "calf"
let () =
Irmin.Private.Watch.set_listen_dir_hook Irmin_watcher.hook
Irmin.Private.Watch.set_listen_dir_hook
(fun _ _ _ -> Lwt.return (fun () -> Lwt.return_unit))
(* FIXME: inotify need some unknown massaging. *)
(* Irmin_watcher.hook *)
module Query = struct