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

mail settings
Submitter Bryan Wu
Date Feb. 11, 2010, 11:33 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/45120/
State Accepted
Delegated to: Andy Whitcroft
Headers show


Bryan Wu - Feb. 11, 2010, 11:33 a.m.

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 <>
Acked-by: Andy Whitcroft <>
Signed-off-by: Tim Gardner <>
Signed-off-by: Andy Whitcroft <>
Acked-by: Tim Gardner <>
Acked-by: Stefan Bader <>

(cherry-picked from 8b453930465c15f490ea44c2987b0a1bfe71ed66 for fsl-imx51)
Signed-off-by: Bryan Wu <>
 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) {