[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.12-46-gb62192a



The following commit has been merged in the master branch:
commit 99760945494fd00353aeecd9f30fc9b7f57aa1c2
Author: Guillem Jover <guillem@debian.org>
Date:   Fri Apr 26 23:58:05 2013 +0200

    c/binaries: Ignore kernel modules for shared-lib-without-dependency-information
    
    Signed-off-by: Guillem Jover <guillem@debian.org>

diff --git a/checks/binaries b/checks/binaries
index 717eec6..a8436ba 100644
--- a/checks/binaries
+++ b/checks/binaries
@@ -374,8 +374,9 @@ foreach my $file ($info->sorted_index) {
     # statically linked?
     if (! scalar (@{ $objdump->{NEEDED} }) ) {
         if ($fileinfo =~ m/shared object/o) {
-            # Some exceptions: detached debugging information and the dynamic
-            # loader (which itself has no dependencies).
+            # Some exceptions: kernel modules, detached debugging information
+            # and the dynamic loader (which itself has no dependencies).
+            next if ($file =~ m%^lib/modules/%);
             next if ($file =~ m%^usr/lib/debug/%);
             next if ($file =~ m%^lib(?:|32|64)/(?:[\w/]+/)?ld-[\d.]+\.so$%);
             tag 'shared-lib-without-dependency-information', $file;

-- 
Debian package checker


Reply to: