[SCM] Debian package checker branch, master, updated. 2.2.10-92-gf823ae2
The following commit has been merged in the master branch:
commit f823ae28e4c6a48fe9febf775a2cd7b4bb4ae91e
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date: Fri Jun 5 22:33:35 2009 +0100
Make the "foreign architecture kernel module" check more specific
The exemption for modules from the 64-bit counterpart of a 32-bit
architecture should only apply to files installed in /lib/modules/*
diff --git a/checks/binaries b/checks/binaries
index 3b37808..dd5210b 100644
--- a/checks/binaries
+++ b/checks/binaries
@@ -216,8 +216,9 @@ foreach my $file (sort keys %{$info->file_info}) {
unless ($fileinfo =~ m/$ARCH_REGEX{$1}/);
} elsif ($arch eq 'amd64' and $fileinfo =~ m/$ARCH_REGEX{i386}/) {
# Ignore i386 binaries in amd64 packages for right now.
- } elsif (exists $arch_64bit_equivs{$arch} and
- $fileinfo =~ m/$ARCH_REGEX{$arch_64bit_equivs{$arch}}/) {
+ } elsif (exists $arch_64bit_equivs{$arch}
+ and $fileinfo =~ m/$ARCH_REGEX{$arch_64bit_equivs{$arch}}/
+ and $file =~ m,^\./lib/modules/,) {
# Allow amd64 kernel modules to be installed on i386.
} else {
$multiarch = Lintian::Data->new('binaries/multiarch')
--
Debian package checker
Reply to: