[PATCH 1/2] UBUNTU: Add 3 missing files to prerm remove file list

Bryan Wu bryan.wu at canonical.com
Thu Feb 11 11:33:07 UTC 2010

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>
Acked-by: Tim Gardner <tim.gardner at canonical.com>
Acked-by: Stefan Bader <stefan.bader at canonical.com>

(cherry-picked from 8b453930465c15f490ea44c2987b0a1bfe71ed66 for fsl-imx51)
Signed-off-by: Bryan Wu <bryan.wu at canonical.com>
 debian.fsl-imx51/control-scripts/prerm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/debian.fsl-imx51/control-scripts/prerm b/debian.fsl-imx51/control-scripts/prerm
index 3d1fe38..68633bf 100644
--- a/debian.fsl-imx51/control-scripts/prerm
+++ b/debian.fsl-imx51/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