[freeside-commits] freeside/rpm/build/mock centos-5-i386.cfg, 1.2, 1.3

Ivan,,, ivan at wavetail.420.am
Thu Jul 8 16:08:06 PDT 2010


Update of /home/cvs/cvsroot/freeside/rpm/build/mock
In directory wavetail.420.am:/tmp/cvs-serv12985/mock

Modified Files:
	centos-5-i386.cfg 
Log Message:
32 bit and make the repo stuff work, RT#8190

Index: centos-5-i386.cfg
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rpm/build/mock/centos-5-i386.cfg,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- centos-5-i386.cfg	8 Jul 2010 21:28:58 -0000	1.2
+++ centos-5-i386.cfg	8 Jul 2010 23:08:04 -0000	1.3
@@ -3,13 +3,43 @@
 config_opts['root'] = 'centos-5-i386'
 config_opts['target_arch'] = 'i386'
 
+config_opts['cleanup_on_failure'] = 0
+
+config_opts['chroot_setup_cmd'] = 'install buildsys-build'
+
+# caching related options                                                       
+#these are probably obsolete?
+config_opts['rebuild_cache'] = False
+#config_opts['use_cache'] = False
+config_opts['use_cache'] = True
+config_opts['pack_cmd'] = "/usr/sbin/mock-helper pack"
+config_opts['unpack_cmd'] = "/usr/sbin/mock-helper unpack"
+config_opts['cache_ext'] = ".tar.gz"
+config_opts['cache_topdir'] = "/var/cache/mock"
+#config_opts['max_cache_age_days'] = 15
+config_opts['max_cache_age_days'] = 150
+
+# config_opts['plugin_conf']['ccache_enable'] = True
+config_opts['plugin_conf']['ccache_enable'] = False
+# config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '4G'
+# config_opts['plugin_conf']['ccache_opts']['dir'] = "%(cache_topdir)s/%(root)s/ccache/"
+config_opts['plugin_conf']['yum_cache_enable'] = True
+config_opts['plugin_conf']['yum_cache_opts']['max_age_days'] = 30
+config_opts['plugin_conf']['yum_cache_opts']['dir'] = "%(cache_topdir)s/%(root)s/yum_cache/"
+config_opts['plugin_conf']['root_cache_enable'] = True
+config_opts['plugin_conf']['root_cache_opts']['max_age_days'] = 15
+config_opts['plugin_conf']['root_cache_opts']['dir'] = "%(cache_topdir)s/%(root)s/root_cache/"
+config_opts['plugin_conf']['root_cache_opts']['compress_program'] = "gzip"
+config_opts['plugin_conf']['root_cache_opts']['extension'] = ".gz"
+
 
 config_opts['yum.conf'] = """
+
 [main]
 cachedir=/var/cache/yum
 debuglevel=1
-logfile=/var/log/yum.log
 reposdir=/dev/null
+logfile=/var/log/yum.log
 retries=20
 obsoletes=1
 gpgcheck=0
@@ -35,24 +65,23 @@
 
 """
 
-config_opts['macros'] = """
-%_topdir /builddir/build
-%_rpmfilename  %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
-
-# Change the next two lines to reflect yourself.
-
-%packager  Freeside Internet Services, Inc. <rpm at freeside.biz>
-#%vendor   
-#%distribution 
-
-# please change this to reflect the Distro Tree and Repo hosting packages!
-#%dist    <distro>.<yourtag> 
-%centos_ver     5
-
-#%_smp_mflags   -j1
-
-"""
-
-
+#something here is causing a problem, don't know what, see if we need anything
+#config_opts['macros'] = """
+#%_topdir /builddir/build
+#%_rpmfilename  %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
+#
+## Change the next two lines to reflect yourself.
+#
+#%packager  Freeside Internet Services, Inc. <rpm at freeside.biz>
+##%vendor   
+##%distribution 
+#
+## please change this to reflect the Distro Tree and Repo hosting packages!
+##%dist    <distro>.<yourtag> 
+#%centos_ver     5
+#
+##%_smp_mflags   -j1
+#
+#"""
 
 



More information about the freeside-commits mailing list