PATCH: make splittree.py createSplitDirs not link rpm files

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

 



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: pgpvCXaluplay.pgp
Description: PGP signature


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux