Patchwork UBUNTU: Add modules.builtin.bin to prerm rm list

login
register
mail settings
Submitter Loïc Minier
Date Feb. 3, 2010, 3:32 p.m.
Message ID <1265211165-21842-1-git-send-email-lool@dooz.org>
Download mbox | patch
Permalink /patch/44535/
State Accepted
Delegated to: Andy Whitcroft
Headers show

Comments

Loïc Minier - Feb. 3, 2010, 3:32 p.m.
BugLink: http://bugs.launchpad.net/bugs/516584

When purging linux-image-2.6.32-9-generic 2.6.32-9.13, dpkg would spit
out warnings about /lib/modules/2.6.32-9-generic being non-empty due to
/lib/modules/2.6.32-9-generic/modules.builtin.bin being left over.

NB: modules.builtin is actually shipped in the package, so not added to
the prerm remove list.

Signed-off-by: Loïc Minier <lool@dooz.org>
---
 debian/control-scripts/prerm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Andy Whitcroft - Feb. 5, 2010, 1:31 a.m.
Applied to Lucid.

-apw

Patch

diff --git a/debian/control-scripts/prerm b/debian/control-scripts/prerm
index e83413e..ae248dd 100644
--- a/debian/control-scripts/prerm
+++ b/debian/control-scripts/prerm
@@ -285,7 +285,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
+    modules.alias.bin modules.builtin.bin modules.dep.bin modules.symbols.bin
   };
 
   foreach my $extra_file (@files_to_remove) {