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

Bug#320382: lintian: wrong warning on statically linked binaries under /boot



Package: lintian
Version: 1.23.10
Tags: patch

Hi,

The package pistachio installs some elf statically linked files under
/boot/l4/ and lintian spews a warning about that. Attached a patch to
correct this.

regards,
guillem
diff -Naur lintian-1.23.10/checks/binaries lintian-1.23.10.new/checks/binaries
--- lintian-1.23.10/checks/binaries	2005-07-10 18:05:31.000000000 +0300
+++ lintian-1.23.10.new/checks/binaries	2005-07-29 01:48:19.000000000 +0300
@@ -180,8 +180,7 @@
 	} else {
 	    # Some exceptions: files in /boot, /usr/lib/debug/*, named *-static or
 	    # *.static, or *-static as package-name.
-	    use File::Basename;
-	    next if (dirname($file) eq './boot');
+	    next if ($file =~ m#^./boot/#);
 	    # Location of debugging symbols:
 	    next if ($file =~ m#^./usr/lib/debug/#);
 	    next if ($file =~ /(\.|-)static$/);

Reply to: