[kernel] r18619 - in dists/trunk/linux-2.6/debian: . templates/temp.image.plain

Ben Hutchings benh at alioth.debian.org
Tue Jan 24 06:43:53 UTC 2012


Author: benh
Date: Tue Jan 24 06:43:51 2012
New Revision: 18619

Log:
Remove modules.*.bin in linux-image postrm script

Currently modules.builtin.bin is left behind.

Modified:
   dists/trunk/linux-2.6/debian/changelog
   dists/trunk/linux-2.6/debian/templates/temp.image.plain/postrm

Modified: dists/trunk/linux-2.6/debian/changelog
==============================================================================
--- dists/trunk/linux-2.6/debian/changelog	Tue Jan 24 06:40:12 2012	(r18618)
+++ dists/trunk/linux-2.6/debian/changelog	Tue Jan 24 06:43:51 2012	(r18619)
@@ -5,6 +5,8 @@
     scripts; these symlinks now belong to the linux-headers packages
   * Remove unused configuration variables from linux-image maintainer scripts
   * Remove last vestige of /usr/doc transition from linux-image prerm script
+  * Remove modules.*.bin in linux-image postrm script; currently
+    modules.builtin.bin is left behind
 
  -- Ben Hutchings <ben at decadent.org.uk>  Tue, 24 Jan 2012 06:19:55 +0000
 

Modified: dists/trunk/linux-2.6/debian/templates/temp.image.plain/postrm
==============================================================================
--- dists/trunk/linux-2.6/debian/templates/temp.image.plain/postrm	Tue Jan 24 06:40:12 2012	(r18618)
+++ dists/trunk/linux-2.6/debian/templates/temp.image.plain/postrm	Tue Jan 24 06:43:51 2012	(r18619)
@@ -253,14 +253,13 @@
                          modules.ieee1394map modules.pnpbiosmap
                          modules.alias modules.ccwmap modules.inputmap
                          modules.symbols modules.ofmap
-                         modules.seriomap modules.alias.bin
-			 modules.dep.bin modules.symbols.bin
+                         modules.seriomap modules.*.bin
 			 modules.softdep modules.devname
                        };
 
 foreach my $extra_file (@files_to_remove) {
-  if (-f "/lib/modules/$version/$extra_file") {
-    unlink "/lib/modules/$version/$extra_file";
+  for (glob("/lib/modules/$version/$extra_file")) {
+    unlink;
   }
 }
 



More information about the Kernel-svn-changes mailing list