mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 02:51:55 +00:00
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:
parent
dfb078825b
commit
8d3cea1980
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user