]> git.proxmox.com Git - aab.git/commitdiff
remove container config during finalize
authorStoiko Ivanov <s.ivanov@proxmox.com>
Thu, 25 Apr 2019 17:53:54 +0000 (19:53 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 26 Apr 2019 08:17:03 +0000 (08:17 +0000)
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>
PVE/AAB.pm

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