From 482a09701cb90f506eeb9517793e4e06f0766e5e Mon Sep 17 00:00:00 2001 From: Kate Date: Wed, 27 Jul 2022 17:10:41 +0100 Subject: [PATCH] Use rsync-hardlink from OBuilder rsync store --- obuilder | 2 +- worker/obuilder_build.ml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/obuilder b/obuilder index dc987c12..671a2400 160000 --- a/obuilder +++ b/obuilder @@ -1 +1 @@ -Subproject commit dc987c12ccc6cd9729809359e9375bfe5443add9 +Subproject commit 671a2400528f29736dc446813f0699055d8e631b diff --git a/worker/obuilder_build.ml b/worker/obuilder_build.ml index d0885102..5fc333e6 100644 --- a/worker/obuilder_build.ml +++ b/worker/obuilder_build.ml @@ -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