diff --git a/mmdebstrap b/mmdebstrap index 129c5bd..f2a5794 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -6470,7 +6470,7 @@ argument. Otherwise, I is executed under I and the chroot directory can be accessed via I<$1>. All environment variables set by B (like C, C, C and C) are preserved. All environment variables set by the user are preserved, except -for C which is cleared. +for C which is cleared. See section B. The paths inside the chroot are relative to the root directory of the chroot. The path on the outside is relative to current directory of the original @@ -6844,6 +6844,10 @@ before the tarball is packed. The location of that temporary directory will be in F or the location pointed to by C if that environment variable is set. +Since C is only valid outside the chroot, the variable is being unset +when running hook scripts. If you need a valid temporary directory in a hook, +consider using F inside your target directory. + =back =head1 DEBOOTSTRAP