From 2ff8f6142d558da72ce97c7f1d3c0967867eccfd Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Tue, 9 Jan 2024 10:30:50 +0100 Subject: [PATCH] document how to run chrootless mode wrapped inside mmdebstrap --- mmdebstrap | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mmdebstrap b/mmdebstrap index 6f55302..3f18624 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -6956,10 +6956,13 @@ dpkg-root-support usertag of debian-dpkg@lists.debian.org in the Debian bug tracking system. B: if this option is used carelessly with packages that do not support C, this mode can result in undesired changes to the system running B because maintainer-scripts will be run without -L. +L. Make sure to run this mode without superuser privileges and/or +inside a throw-away chroot enviroment like so: -=for TODO -=item B + mmdebstrap --variant=apt --include=mmdebstrap \ + --customize-hook='chroot "$1" mmdebstrap --mode=chrootless + --variant=apt unstable chrootless.tar' \ + --customize-hook='copy-out chrootless.tar .' unstable /dev/null =back