summaryrefslogtreecommitdiffstats
path: root/src/pipeline/steps.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/pipeline/steps.rs')
-rw-r--r--src/pipeline/steps.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pipeline/steps.rs b/src/pipeline/steps.rs
index db7032c..50e41d3 100644
--- a/src/pipeline/steps.rs
+++ b/src/pipeline/steps.rs
@@ -120,7 +120,8 @@ fn chroot(ctx: &Ctx) -> Result<StepResult> {
if !seed.exists() {
std::fs::create_dir_all(seed.parent().unwrap_or(&ctx.cfg.chroot_dir()))?;
let mut cmd = Command::new(&ctx.cfg.mkarchroot_bin);
- cmd.args(["-N", &seed.display().to_string()]);
+ // Real devtools usage: `mkarchroot [options] <working-dir> <packages...>`.
+ cmd.arg(&seed).args(&ctx.cfg.mkarchroot_args);
ctx.cfg.child_env(&mut cmd);
let out = cmd.output()?;
if !out.status.success() {