From a5d4cfd4b996eb2dd513f676c15e4649ad2d36e6 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Sun, 16 May 2021 14:10:44 +0200 Subject: mmdebstrap: don't keep downloaded .deb files Since we delete the chroot anyway, there is no need to keep the .debs for the build. --- mdbp/mmdebstrap.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mdbp/mmdebstrap.py b/mdbp/mmdebstrap.py index d1e13f4..4e6d435 100644 --- a/mdbp/mmdebstrap.py +++ b/mdbp/mmdebstrap.py @@ -92,6 +92,7 @@ def main() -> None: priv_drop(["rm", *(f.name for f in dscfiles)], chroot=True, chdir=buildpath.parent))) cmd = ["apt-get", "build-dep", "--yes", + "-oAPT::Keep-Downloaded-Packages=true", "--host-architecture", hostarch, *dict(any=["--arch-only"], all=["--indep-only"]).get(build.get("type"), ()), -- cgit v1.2.3