document how to use mmdebstrap as a debootstrap wrapper

This commit is contained in:
Johannes 'josch' Schauer 2020-05-03 17:19:03 +02:00
parent fa12e4f488
commit dc9a5dc281
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -5592,6 +5592,13 @@ Use as replacement for autopkgtest-build-qemu and vmdb2:
sync : umount / : shutdown sync : umount / : shutdown
$ qemu-img convert -O qcow2 debian-unstable.img debian-unstable.qcow2 $ 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 =end comment
Build a non-Debian chroot like Ubuntu bionic: Build a non-Debian chroot like Ubuntu bionic: