There's a lot of them so it becomes rather noisy.
)
-def extract_tar(src: Path, dst: Path) -> None:
- log_step(f"Extracting tar archive {src}…")
+def extract_tar(src: Path, dst: Path, log: bool = True) -> None:
+ if log:
+ log_step(f"Extracting tar archive {src}…")
bwrap(
[
tar_binary(),
for deb in essential:
with tempfile.NamedTemporaryFile() as f:
run(["dpkg-deb", "--fsys-tarfile", deb], stdout=f)
- extract_tar(Path(f.name), state.root)
+ extract_tar(Path(f.name), state.root, log=False)
# Finally, run apt to properly install packages in the chroot without having to worry that maintainer
# scripts won't find basic tools that they depend on.