From dfb4fbaa1449595b2da6b582173b94959af6ef68 Mon Sep 17 00:00:00 2001 From: Stoiko Ivanov Date: Thu, 25 Apr 2019 19:53:54 +0200 Subject: [PATCH] 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 --- PVE/AAB.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PVE/AAB.pm b/PVE/AAB.pm index 77410ad..11cd62b 100644 --- a/PVE/AAB.pm +++ b/PVE/AAB.pm @@ -675,6 +675,8 @@ sub clean { unlink $self->{'pacman.conf'}; $self->ve_destroy(); unlink '.veid'; + unlink $self->{veconffile}; + rmtree $self->{pkgcache} if $all; }