diff options
author | Helmut Grohne <helmut@subdivi.de> | 2021-05-18 18:32:19 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2021-05-18 18:32:19 +0200 |
commit | 18c6f8731fe5903c2aa2596964654f1ca149da0c (patch) | |
tree | b2f06ca61508e88c70f1043829c96ab946753247 /mdbp/mmdebstrap.py | |
parent | 43b4aafecbe355a72aed4ef2819423e7e8d8e600 (diff) | |
download | mdbp-18c6f8731fe5903c2aa2596964654f1ca149da0c.tar.gz |
mmdebstrap: tell debconf not to generate its database
Bluntly copied from pbuilder as it does not seem to cause any problems
there.
Diffstat (limited to 'mdbp/mmdebstrap.py')
-rw-r--r-- | mdbp/mmdebstrap.py | 2 |
1 files changed, 2 insertions, 0 deletions
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)), |