Skip to content

Commit

Permalink
Use rsync-hardlink from OBuilder rsync store
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate authored and tmcgilchrist committed Aug 23, 2022
1 parent 446cfa3 commit b1ac676
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion obuilder
2 changes: 1 addition & 1 deletion worker/obuilder_build.ml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ let log_to log_data tag msg =

let create ?prune_threshold config =
let { Config.store_spec; sandbox_config } = config in
Obuilder.Store_spec.to_store store_spec >>= fun (Store ((module Store), store)) ->
Obuilder.Store_spec.to_store Obuilder.Rsync_store.Hardlink_unsafe store_spec >>= fun (Store ((module Store), store)) ->
let module Builder = Obuilder.Builder(Store)(Sandbox)(Fetcher) in
Sandbox.create ~state_dir:(Store.state_dir store / "runc") sandbox_config >>= fun sandbox ->
let builder = Builder.v ~store ~sandbox in
Expand Down

0 comments on commit b1ac676

Please sign in to comment.