Installing a OSG Build Box
For a build box, you need the repos: EPEL
- Install EPEL:
[root@client ~]$ wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
[root@client ~]$ rpm -i epel-release-5-4.noarch.rpm
- Install JPackage:
[root@client ~]$ yum -y install yum-priorities
[root@client ~]$ rpm -Uvh http://mirrors.dotsrc.org/jpackage/5.0/generic/free/RPMS/jpackage-release-5-4.jpp5.noarch.rpm
- Edit the
$releasever with '5', just the number 5. There are 2 locations, only the location in url is what matters.
- Install the OSG Yum Repository
[root@client ~]$ rpm -Uvh http://repo.grid.iu.edu/osg-release-latest.rpm
osg-build is used to build OSG packages. It is a wrapper for tools like rpmbuild and mock.
[root@client ~]$ yum --enablerepo=osg-development install osg-build
Current work is done in subversion. The command to check out the subversion is:
[user@client ~]$ svn co https://vdt.cs.wisc.edu/svn/native vdt-native
Install mock (should be brought in by osg-build in newer builds):
[root@client ~]$ yum -y install mock
Add your user to the mock group. Edit
, adding your username
(as returned by
) to the mock line:
It is suggested that mock builds are done in ram. Mock build are all conducted under
. Mounting that directory in ram will cause builds to be much faster.
An example mount command:
[root@client ~]$ mount -t tmpfs -o size=3072m tmpfs /var/lib/mock
, changing enabled to 1
name=OSG Software for Enterprise Linux 5 - Development - $basearch
Topic revision: r8 - 04 Oct 2011 - 19:53:13 - AlainRoy?