diff options
| author | Hermes Agent <hermes@localhost> | 2026-08-12 04:54:43 +0000 |
|---|---|---|
| committer | Hermes Agent <hermes@localhost> | 2026-08-12 04:54:43 +0000 |
| commit | 4c01f2c2464f4133cb48125c8f2c55827cf0bf67 (patch) | |
| tree | 283be3ebed1ed658d7be92a11b362fec64aa7d6d /src/build.rs | |
| parent | a73d7e29c0064e0a40ffcfb98f6b349ced5463b2 (diff) | |
Validate APT config before creating build workspace
Diffstat (limited to 'src/build.rs')
| -rw-r--r-- | src/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build.rs b/src/build.rs index 4439d2f..42c57ef 100644 --- a/src/build.rs +++ b/src/build.rs @@ -50,9 +50,9 @@ impl<I: PackageInstaller, B: InitramfsBuilder> BuildExecutor<I, B> { bail!("artifact parent is not a directory: {}", parent.display()); } + let request = plan.package_request(workspace, apt_config)?; std::fs::create_dir_all(workspace) .with_context(|| format!("create workspace {}", workspace.display()))?; - let request = plan.package_request(workspace, apt_config)?; self.installer.install(&request)?; let rootfs = workspace.join("chroot"); |