From dc9a5dc2818c000f8898cacea4ffe153614c23a0 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Sun, 3 May 2020 17:19:03 +0200 Subject: [PATCH] document how to use mmdebstrap as a debootstrap wrapper --- mmdebstrap | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mmdebstrap b/mmdebstrap index 20dc746..aa1ad65 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -5592,6 +5592,13 @@ Use as replacement for autopkgtest-build-qemu and vmdb2: sync : umount / : shutdown $ qemu-img convert -O qcow2 debian-unstable.img debian-unstable.qcow2 +As a debootstrap wrapper to run it without superuser privileges but using Linux +user namespaces instead. This fixes Debian bug #829134. + + $ mmdebstrap --variant=custom --mode=unshare \ + --setup-hook='env container=lxc debootstrap unstable "$1"' \ + - debian-debootstrap.tar + =end comment Build a non-Debian chroot like Ubuntu bionic: