Further to this, the following patch does work around the problem by
deleting the duplicated files before the package is built:

Stu

-- 
Stuart Teasdale
Infrastructure and Network Developer


Mobile:  +44 (0) 7813 835 707   Phone: +44 (0) 1189 294 192
Skype:   sdteasdale     Email:  [EMAIL PROTECTED]
www.opsera.com

Opsera Limited | Unit 69 Suttons Business Park
Reading | Berkshire | RG6 1AZ | UK

This e-mail is confidential, intended only for the named recipient(s) 
above and may contain information that is privileged and confidential. 
If you receive this message in error, or are not the named recipient(s), 
please notify the sender at the phone number above, do not copy this 
message, do not disclose its contents to anyone, and delete this e-mail 
message from your computer. Although Opsera routinely screens for 
viruses, addressees should scan this e-mail and any attachments for 
viruses. Opsera makes no representation or warranty as to the absence of 
viruses in this e-mail or any attachments.

--- rules.orig  2007-10-11 10:39:51.000000000 +0100
+++ rules       2007-10-09 15:24:15.000000000 +0100
@@ -72,6 +72,10 @@
        # The 2.6 modules are way too big. This is only in kernel 2.6
        find debian/$(PKGNAME)/lib/modules -name '*.ko' |xargs strip -g
 endif
+       find $(CURDIR)/debian/ -name modules.\*map |xargs rm
+       find $(CURDIR)/debian/ -name modules.symbols |xargs rm
+       find $(CURDIR)/debian/ -name modules.alias |xargs rm
+       find $(CURDIR)/debian/ -name modules.dep |xargs rm

        dh_installmodules
        dh_installdebconf

Reply via email to