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

login
register
mail settings
Submitter Loïc Minier
Date Jan. 31, 2010, 11:44 a.m.
Message ID <1264938280-2663-1-git-send-email-lool@dooz.org>
Download mbox | patch
Permalink /patch/44126/
State Superseded
Delegated to: Andy Whitcroft
Headers show

Comments

Loïc Minier - Jan. 31, 2010, 11:44 a.m.
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.master/control-scripts/prerm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

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