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

PATCH: make splittree.py createSplitDirs not link rpm files



In the new layout where the product path has all the rpms in it, not in a 
RPMS/ subdir, createSplitDirs needs to not copy the rpm files it finds, and 
leave that up to splitRPMS.

Patch attached.
-- 
Jesse Keating
Release Engineer: Fedora
--- anaconda-runtime/splittree.py.jk	2006-10-31 09:52:24.000000000 -0500
+++ anaconda-runtime/splittree.py	2006-11-01 14:36:03.000000000 -0500
@@ -199,7 +199,7 @@
 
         for i in range(self.bin_list[0], self.bin_list[-1] + 1):
             if i == 1:
-                p = os.popen('find %s/ -type f -not -name .discinfo' % self.dist_dir, 'r')
+                p = os.popen('find %s/ -type f -not -name .discinfo -not -name "*\.rpm"' % self.dist_dir, 'r')
                 filelist = p.read()
                 p.close()
                 filelist = string.split(filelist)

Attachment: pgpNMfwHf73UV.pgp
Description: PGP signature


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