Setting up remote_rpm for use

[ Return to main page ]

Edit remote-rpm's config

To use remote-rpm, you'll need to edit the config file, buildmachinetab, shown here:

 

# $Id: buildmachinetab,v 1.4 2002/03/26 19:49:06 chrisjs Exp $

 

# List of build machines and important data

 

sparc64-sun-solaris2.8/sun-perl,gnome:HOST=rosewalker,USER=chrisjs,RPM=/usr/local/src/rpm-packages,EXT=.solaris2.8-sparc64.sun-perl\,gnome.rpm

sparc64-sun-solaris2.8:HOST=mistere,USER=chrisjs,RPM=/usr/local/src/rpm-packages,EXT=.solaris2.8-sparc64.rpm

sparc64-sun-solaris2.7:HOST=johndee,USER=chrisjs,RPM=/usr/local/src/rpm-packages,EXT=.solaris2.7-sparc64.rpm

sparc-sun-solaris2.6:HOST=miracleman,USER=chrisjs,RPM=/usr/local/src/rpm-packages,BUILDFLAGS=--target sparc-sun-solaris2.6,EXT=.solaris2.6-sparc.rpm

sparc-sun-solaris2.7:HOST=pumpkinhead,USER=chrisjs,RPM=/usr/local/src/rpm-packages,EXT=.solaris2.7-sparc.rpm

sparc-sun-solaris2.8:HOST=omahacatdancer,USER=chrisjs,RPM=/usr/local/src/rpm-packages,EXT=.solaris2.8-sparc.rpm

 

For the most part, you will just need to change the username from 'chrisjs' (or whatever it is set to when you check out the file) to your username.

 

 

Edit remote-rpm script

remote-rpm is a perl script. At the beginning it specifies your username, ssh identity, and the path for your config file. You will need to set these up for your use, depending on where you decide to place those files.

 

 

You are ready.

At this point you should have a working remote-rpm. If you are already set up on the build servers, you can try building your first package now.




[ Return to main page ]