/[smeserver]/rpms/anaconda/sme8/anaconda-centos-splittree_allow_missing_RPMSdir.patch
ViewVC logotype

Annotation of /rpms/anaconda/sme8/anaconda-centos-splittree_allow_missing_RPMSdir.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 17:57:22 2007 UTC (17 years ago) by slords
Branch: MAIN
CVS Tags: anaconda-11_1_2_87-1_el5_sme, anaconda-11_1_2_195-1_el5_sme_1, anaconda-11_1_2_195-1_el5_centos, anaconda-11_1_2_168-1_el5_sme_1, anaconda-11_1_2_209-1_el5_sme, anaconda-11_1_2_168-1_el5_centos
Import on branch sme8 of package anaconda-11.1.2.36-1.el5.sme.6.src.rpm

1 slords 1.1 diff -uNr anaconda-11.1.2.36__orig/scripts/splittree.py anaconda-11.1.2.36/scripts/splittree.py
2     --- anaconda-11.1.2.36__orig/scripts/splittree.py 2006-07-21 18:59:07.000000000 +0000
3     +++ anaconda-11.1.2.36/scripts/splittree.py 2007-03-28 21:29:30.000000000 +0000
4     @@ -199,7 +199,7 @@
5    
6     for i in range(self.bin_list[0], self.bin_list[-1] + 1):
7     if i == 1:
8     - p = os.popen('find %s/ -type f -not -name .discinfo' % self.dist_dir, 'r')
9     + p = os.popen('find %s/ -type f -not -name .discinfo -not -name *.rpm' % self.dist_dir, 'r')
10     filelist = p.read()
11     p.close()
12     filelist = string.split(filelist)
13     @@ -228,10 +228,10 @@
14     pass
15    
16     # now create the product/RPMS dir
17     - os.makedirs("%s-disc%d/%s/RPMS" % (self.dist_dir, i, self.product_path))
18     + #os.makedirs("%s-disc%d/%s" % (self.dist_dir, i, self.product_path))
19    
20     else:
21     - os.makedirs("%s-disc%d/%s/RPMS" % (self.dist_dir, i, self.product_path))
22     + os.makedirs("%s-disc%d/%s" % (self.dist_dir, i, self.product_path))
23     self.linkFiles(self.dist_dir, "%s-disc%d" %(self.dist_dir, i), self.common_files)
24     self.createDiscInfo(i)
25    
26     @@ -250,10 +250,7 @@
27    
28     packages = {}
29    
30     - if os.path.isdir("%s/%s/RPMS" %(self.dist_dir, self.product_path)):
31     - pkgdir = "%s/RPMS" %(self.product_path, )
32     - else:
33     - pkgdir = "%s" %(self.product_path,)
34     + pkgdir = "%s" %(self.product_path,)
35    
36     rpmlist = os.listdir("%s/%s" %(self.dist_dir, pkgdir))
37     rpmlist.sort()

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed