[pve-devel] [PATCH aab 1/5] remove container config during finalize

Stoiko Ivanov s.ivanov at proxmox.com
Thu Apr 25 19:53:54 CEST 2019


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 at proxmox.com>
---
 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;
 }
 
-- 
2.11.0





More information about the pve-devel mailing list