forked from josch/mmdebstrap
document how to run chrootless mode wrapped inside mmdebstrap
This commit is contained in:
parent
417d958a14
commit
2ff8f6142d
1 changed files with 6 additions and 3 deletions
|
@ -6956,10 +6956,13 @@ dpkg-root-support usertag of debian-dpkg@lists.debian.org in the Debian bug
|
||||||
tracking system. B<WARNING>: if this option is used carelessly with packages
|
tracking system. B<WARNING>: if this option is used carelessly with packages
|
||||||
that do not support C<DPKG_ROOT>, this mode can result in undesired changes to
|
that do not support C<DPKG_ROOT>, this mode can result in undesired changes to
|
||||||
the system running B<mmdebstrap> because maintainer-scripts will be run without
|
the system running B<mmdebstrap> because maintainer-scripts will be run without
|
||||||
L<chroot(1)>.
|
L<chroot(1)>. Make sure to run this mode without superuser privileges and/or
|
||||||
|
inside a throw-away chroot enviroment like so:
|
||||||
|
|
||||||
=for TODO
|
mmdebstrap --variant=apt --include=mmdebstrap \
|
||||||
=item B<qemu>
|
--customize-hook='chroot "$1" mmdebstrap --mode=chrootless
|
||||||
|
--variant=apt unstable chrootless.tar' \
|
||||||
|
--customize-hook='copy-out chrootless.tar .' unstable /dev/null
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue