remove container config during finalize

Since the container config for the build is created with O_EXCL, multiple
consecutive invocations of `make default` fail, if the config file exists.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
Stoiko Ivanov 2019-04-25 19:53:54 +02:00 committed by Thomas Lamprecht
parent b8f914c167
commit dfb4fbaa14
1 changed files with 2 additions and 0 deletions

View File

@ -675,6 +675,8 @@ sub clean {
unlink $self->{'pacman.conf'};
$self->ve_destroy();
unlink '.veid';
unlink $self->{veconffile};
rmtree $self->{pkgcache} if $all;
}