From 18c6f8731fe5903c2aa2596964654f1ca149da0c Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Tue, 18 May 2021 18:32:19 +0200 Subject: mmdebstrap: tell debconf not to generate its database Bluntly copied from pbuilder as it does not seem to cause any problems there. --- mdbp/mmdebstrap.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mdbp/mmdebstrap.py b/mdbp/mmdebstrap.py index 0a7dba4..18dfc31 100644 --- a/mdbp/mmdebstrap.py +++ b/mdbp/mmdebstrap.py @@ -177,6 +177,8 @@ def main() -> None: "--architectures=" + ",".join(dict.fromkeys((buildarch, hostarch))), "--include=" + ",".join(buildessential), + '--essential-hook=echo man-db man-db/auto-update boolean false | ' \ + 'chroot "$1" debconf-set-selections', '--customize-hook=chroot "$1" useradd --user-group --create-home ' '--home-dir %s build --skel /nonexistent' % shlex.quote(str(buildpath.parent)), -- cgit v1.2.3