summaryrefslogtreecommitdiff
path: root/mdbp
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2021-05-16 14:10:44 +0200
committerHelmut Grohne <helmut@subdivi.de>2021-05-16 14:10:44 +0200
commita5d4cfd4b996eb2dd513f676c15e4649ad2d36e6 (patch)
treefdbf73867e31c24e9ab04795f5710a2b59f2b74e /mdbp
parentf550b1ba9a507f91fb29f00dc5762ae74afb41a7 (diff)
downloadmdbp-a5d4cfd4b996eb2dd513f676c15e4649ad2d36e6.tar.gz
mmdebstrap: don't keep downloaded .deb files
Since we delete the chroot anyway, there is no need to keep the .debs for the build.
Diffstat (limited to 'mdbp')
-rw-r--r--mdbp/mmdebstrap.py1
1 files changed, 1 insertions, 0 deletions
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"), ()),