[PATCH 4/6] UBUNTU: Add 3 missing files to prerm remove file list

Andy Whitcroft apw at canonical.com
Wed Sep 16 17:27:22 UTC 2009

From: Bryan Wu <bryan.wu at canonical.com>

BugLink: http://bugs.launchpad.net/bugs/345623
BugLink: http://bugs.launchpad.net/bugs/415832

While purging some old kernels, Matt noticed warnings from dpkg
that it was not removing /lib/modules/xxx. "modules.alias.bin modules.dep.bin
modules.symbols.bin" 3 files are left behind. The new files are the result
of changes to the modules-tools-init package, e.g., modprobe and depmod now
create and use a binary cache file.

This patch fixes this by adding these 3 files to the prerm remove file list.

Signed-off-by: Bryan Wu <bryan.wu at canonical.com>
Acked-by: Andy Whitcroft <apw at canonical.com>
Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
Signed-off-by: Andy Whitcroft <apw at canonical.com>
 debian.master/control-scripts/prerm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/debian.master/control-scripts/prerm b/debian.master/control-scripts/prerm
index 47fbd21..4c0ad60 100644
--- a/debian.master/control-scripts/prerm
+++ b/debian.master/control-scripts/prerm
@@ -284,6 +284,7 @@ sub success () {
     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
   foreach my $extra_file (@files_to_remove) {

More information about the kernel-team mailing list