document how to build an sbuild unshare chroot mode tarball

This commit is contained in:
Johannes Schauer Marin Rodrigues 2022-05-22 02:56:21 +02:00
parent ce23e702e2
commit d10f320f5d
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -6815,6 +6815,10 @@ create device nodes:
$ mmdebstrap unstable | tar --delete ./dev > unstable-chroot.tar
Create a tarball for use with C<sbuild --chroot-mode=unshare>:
$ mmdebstrap --variant=buildd unstable ~/.cache/sbuild/unstable-amd64.tar
Instead of a tarball, a squashfs image can be created:
$ mmdebstrap unstable unstable-chroot.squashfs