From d73b8396ac69809308d667de30c49e001a3c7cc5 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Sat, 23 Feb 2019 08:50:02 +0100 Subject: [PATCH] print the used temporary directory as info message --- mmdebstrap | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mmdebstrap b/mmdebstrap index d9698a3..2a09aa4 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -2021,6 +2021,7 @@ sub main() { 'mmdebstrap.XXXXXXXXXX', DIR => File::Spec->tmpdir ); + info "using $options->{root} as tempdir"; # in unshare and root mode, other users than the current user need to # access the rootfs, most prominently, the _apt user. Thus, make the # temporary directory world readable. @@ -2315,6 +2316,7 @@ sub main() { $waiting_for = "cleanup"; if ($options->{maketar} and -e $options->{root}) { + info "removing tempdir $options->{root}..."; if ($options->{mode} eq 'unshare') { # We don't have permissions to remove the directory outside # the unshared namespace, so we remove it here.