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, 1 insertions, 1 deletions
diff --git a/mdbp/mmdebstrap.py b/mdbp/mmdebstrap.py
index b3fa161..d68bc85 100644
--- a/mdbp/mmdebstrap.py
+++ b/mdbp/mmdebstrap.py
@@ -226,7 +226,7 @@ def main() -> None:
"--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 '
+ '--customize-hook=useradd --root "$1" --user-group --create-home '
'--home-dir %s build --skel /nonexistent' % shlex.quote(builddir),
*(["--customize-hook=copy-in " + shlex.join([
build["input"]["source_package_path"],