How To Setup Own I686 Buildenv For CentOS7
Hi, all!
How to setup own i686 mock for CentOS7?
Or, is there any public i686 repo for CentOS7?
I found i686 repo available in internal CentOS building environment, from a root.log from a mock build result[1].
[1]
http://buildlogs.CentOS.org/c7-updates/glibc/20141218212615/2.17-55.el7_0.3.i386/root.log
Cheers,
-robin
5 thoughts on - How To Setup Own I686 Buildenv For CentOS7
Hi,
Here’s how my epel-7-i386.cfg mock file looks like:
http://fpaste.org/164110/19877702/raw/
Do note the 32bit packages are unofficial and unsupported. RedHat does not support 32bit in EL7.
HTH
Lucian
Oh, Thank you! Best regards!
-robin
Hi, Nux!
Can you re-paste this cfg? The url is outdated.
– robin
I’ll paste mine in here for posterity (altered to remove my private repos, and personal info, etc):
config_opts[‘root’] = ‘epel-7-i386’
config_opts[‘target_arch’] = ‘i686’
config_opts[‘legal_host_arches’] = (‘i686′,’x86_64’,)
config_opts[‘chroot_setup_cmd’] = ‘install bash bzip2 coreutils cpio diffutils findutils gawk gcc gcc-c++ grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux-ng which xz’
config_opts[‘plugin_conf’][‘ccache_enable’] = False config_opts[‘dist’] = ‘el7’ # only useful for –resultdir variable subst config_opts[‘macros’][‘%dist’] = ‘.el7’
config_opts[‘macros’][‘%vendor’] = ‘Your Name Here’
config_opts[‘macros’][‘%packager’] = ‘username@example.org’
config_opts[‘macros’][‘%debug_package’] = ‘%{nil}’
config_opts[‘yum.conf’] = “””
[main]
cachedir=/var/cache/yum debuglevel=1
reposdir=/dev/null logfile=/var/log/yum.log retries obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock syslog_device
# repos
[base]
name
Thanks! Best regards!