[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] Firmware removal



Next, a patch for firmware-nonfree that allows firmware to be read from
and installed to subdirectories as expected by some drivers.

Ben.

Index: firmware-nonfree/debian/bin/gencontrol.py
===================================================================
--- firmware-nonfree/debian/bin/gencontrol.py	(revision 12301)
+++ firmware-nonfree/debian/bin/gencontrol.py	(working copy)
@@ -97,9 +97,14 @@
         files_real = {}
 
         for root, dirs, files in os.walk(package):
-            del dirs[:]
+            try:
+                dirs.remove('.svn')
+            except ValueError:
+                pass
             for f in files:
                 f1  = f.rsplit('-', 1)
+                if root != package:
+                    f = root[len(package) + 1 : ] + '/' + f
                 if f in files_orig:
                     files_real[f] = f, f, None
                 elif len(f1) > 1:

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: