forked from josch/mmdebstrap
add mmdebstrap prefix to temporary directory name
This commit is contained in:
parent
765f5b91e9
commit
58a3069495
1 changed files with 4 additions and 1 deletions
|
@ -1873,7 +1873,10 @@ sub main() {
|
|||
if ($options->{maketar}) {
|
||||
# since the output is a tarball, we create the rootfs in a temporary
|
||||
# directory
|
||||
$options->{root} = tempdir();
|
||||
$options->{root} = tempdir(
|
||||
'mmdebstrap.XXXXXXXXXX',
|
||||
DIR => File::Spec->tmpdir
|
||||
);
|
||||
# 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.
|
||||
|
|
Loading…
Reference in a new issue