On Thu, 4 Dec 2003, Emanuele LEONARDI wrote:
> Hi Joe.
>
> Given the way rpms are handled by LCFG, there is no easy way to localize
> rpm lists in a way which will not require small adjustments every time a
> new release is out.
>
> One possibility is to create some local wrappers to the default rpm
> lists, e.g. you could create a file named CE-local-rpm which would look
> like this:
>
> #include "CE-rpm"
> <local additions/changes>
To make these additions, removals and changes, eg to overide the ssh
version and swap sendmail for exim and remove tcpdump say your changes
could look like this.
/* Use this version of ssh */
+openssh-3.4-2.1_fermi
/* Remove tcpdump */
/* Remove Sendmail */
-sendmail-*-*
/* Add exim */
+exim-3.24
These +,- and other things are documented in the man page for
updaterpms.
Steve
>
> In the node configuration file for your CE you would then do something like:
>
> #define HOSTNAME my_ce
> #include "cfgdir-cfg.h"
> #include CFGDIR/macros-cfg.h"
> #include "site-cfg.h"
> #include CFGDIR/redhat73-cfg.h"
> #include CFGDIR/serialconsole-cfg.h"
> #include CFGDIR/Users-cfg.h"
> #include CFGDIR/ComputingElement-cfg.h"
> #include "local-cfg.h"
> +updaterpms.rpmcfg CE-local-rpm
>
> Cheers
>
> Emanuele
>
> Joe Kaiser wrote:
> > Hi,
> >
> > I am obligated to install the Fermi version of openssh that includes
> > kerberos as well as some krb5 rpms. Everytime I have to install a new
> > release, I have to hand edit the rh73-updates.rpm and rh73-release.rpm
> > files. Is there a way to include the rpms I need in my local profiles
> > but still get the othe RPMS for the distribution?
> >
> > Thanks,
> >
> > Joe
> >
> > --
> > ===================================================================
> > Joe Kaiser - Systems Administrator
> >
> > Fermi Lab
> > CD/OSS-SCS Never laugh at live dragons.
> > 630-840-6444
> > [log in to unmask]
> > ===================================================================
>
>
> --
> /------------------- Emanuele Leonardi -------------------\
> | eMail: [log in to unmask] - Tel.: +41-22-7674066 |
> | IT division - Bat.31 2-012 - CERN - CH-1211 Geneva 23 |
> \---------------------------------------------------------/
>
--
Steve Traylen
[log in to unmask]
http://www.gridpp.ac.uk/
|