summaryrefslogtreecommitdiff
path: root/mdbp/mmdebstrap.py
diff options
context:
space:
mode:
Diffstat (limited to 'mdbp/mmdebstrap.py')
-rw-r--r--mdbp/mmdebstrap.py2
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)),