findfileconflicts: Ignore kernel installed certificates in /etc/uefi/certs
The file names are generated out of the sha1sum of the file content. Thus we know if the file has the same name, it has the same content as well. Multiple packages are allowed to own the same file with the same content. This is already proven functional by the kernel being flavor:multiversion - the kernel can be installed in multiple versions already (which the checked never would have caught file conflicts for: we only check against current packages in the distro) Fixes issue #2350
This commit is contained in:
parent
9a8ba5b54b
commit
b635702b67
@ -355,7 +355,7 @@ for my $tc (sort keys %tocheck) {
|
|||||||
}
|
}
|
||||||
# got one!
|
# got one!
|
||||||
$f =~ /^(\d+)\/(.*)/;
|
$f =~ /^(\d+)\/(.*)/;
|
||||||
push @con, "$dirs[$1]$2$info";
|
push @con, "$dirs[$1]$2$info" unless "$dirs[$1]$2" =~ m{/etc/uefi/certs/.*crt};
|
||||||
}
|
}
|
||||||
next unless @con;
|
next unless @con;
|
||||||
my @sp1 = split(' ', $p1);
|
my @sp1 = split(' ', $p1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user