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

[SCM] Debian package checker branch, master, updated. 2.2.13-34-g30f3888



The following commit has been merged in the master branch:
commit 30f3888388b131996fc8ec5ab1459f1a90c4c143
Author: Colin Watson <cjwatson@debian.org>
Date:   Fri Aug 14 22:11:44 2009 +0100

    Don't emit errors about /var/lock and /var/run in udebs
    
    * checks/files:
      + [CW] /var/lock and /var/run are not temporary filesystems in d-i, so
        don't emit errors about their use in udebs.

diff --git a/checks/files b/checks/files
index d95441b..2067923 100644
--- a/checks/files
+++ b/checks/files
@@ -519,10 +519,10 @@ foreach my $file (sort keys %{$info->index}) {
 	tag "non-standard-dir-in-var", "$file";
     }
     # ---------------- /var/lock, /var/run
-    elsif ($file =~ m,^var/lock/.,) {
+    elsif ($type ne 'udeb' and $file =~ m,^var/lock/.,) {
 	tag "dir-or-file-in-var-lock", "$file";
     }
-    elsif ($file =~ m,^var/run/.,) {
+    elsif ($type ne 'udeb' and $file =~ m,^var/run/.,) {
 	tag "dir-or-file-in-var-run", "$file";
     }
     # ---------------- /var/www
diff --git a/debian/changelog b/debian/changelog
index ebc5654..7a1660b 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,9 @@ lintian (2.2.14) UNRELEASED; urgency=low
     + [RA] Allow any package to be in section oldlibs without triggering
       warnings.  Thanks, Rene Engelhard.  (Closes: #537606)
     + [RA] Lower wrong-section-according-to-package-name to possible.
+  * checks/files:
+    + [CW] /var/lock and /var/run are not temporary filesystems in d-i, so
+      don't emit errors about their use in udebs.
   * checks/infofiles.desc:
     + [RA] Add missing leading * to example info directory entry.
   * checks/menus{,.desc}:

-- 
Debian package checker


Reply to: