diff options
Diffstat (limited to 'crates/driver/src/driver.rs')
-rw-r--r-- | crates/driver/src/driver.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/driver/src/driver.rs b/crates/driver/src/driver.rs index e3dc407..84262ac 100644 --- a/crates/driver/src/driver.rs +++ b/crates/driver/src/driver.rs @@ -298,14 +298,16 @@ impl<'ctx> Driver<'ctx> { format!("Failed to evaluate command template for task {}", task_ref) })?; + let rootfs = self.state.ctx.get_rootfs(); let task = Task { label: format!("{:#}", task_ref), command, workdir: paths::TASK_WORKDIR.to_string(), + rootfs: rootfs.0, inherit: inherit_chain, depends: task_deps, outputs: task_output, - pins: HashMap::new(), + pins: HashMap::from([rootfs.clone()]), }; Ok(Some(runner.spawn(&task))) |