]> git.proxmox.com Git - aab.git/commitdiff
remove keyring in finalize()
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 31 Aug 2015 08:39:41 +0000 (10:39 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 31 Aug 2015 08:39:41 +0000 (10:39 +0200)
PVE/AAB.pm

index fb5749b32bf18eef6266b1f347f2e9a8d9b01589..a25de94a57b3f08c0e03b86e87341faf959cbbd1 100644 (file)
@@ -616,6 +616,9 @@ sub finalize {
     unlink $file;
     rename_file($file.'.aab_orig', $file);
 
+    print "Removing weak temporary pacman keyring...\n";
+    rmtree("$rootdir/etc/pacman.d/gnupg");
+
     my $sizestr = $self->run_command("du -sm $rootdir", undef, 1);
     my $size;
     if ($sizestr =~ m/^(\d+)\s+\Q$rootdir\E$/) {