← Back to team overview

anvil-dev team mailing list archive

Re: CentOS support

 

Hi Heling,

I've recently gotten anvil running on OEL6.x, Oracle's rebranding of RHEL. The smithy bash script has a bit of bootstrapping code intended to get enough of the immediate dependencies for anvil itself to take over. If you look at it you should see the bit of code that attempts to identify the OS it is running on around the line '

TYPE=$(lsb_release -d | cut  -f 2)

Once Anvil has bootstrapped and started it does a pretty fair job of using the files in conf/distros/ to get deps in place. The rhel.yaml file almost works, though you may need to add a few of the python/pip deps that have cropped up recently.

I have a patch or two to the smithy wrapper that would make it easier to add bootstrap logic for additional OS targets. The code is pretty trivial, but if there is interest I can submit them for review.

Good luck & keep the questions coming. Anvil is a great tool.

dlm

On Nov 25, 2012, at 6:04 PM, Heling Yao <yaoheling@xxxxxxxxx> wrote:

> Hi,
> 
> Since CentOS is very similar to RHEL, it should be very easy to get anvil running on top of it. How should I go about getting anvil running on CentOS 6.3?
> 
> 
> 
> Thanks,
> 
> Heling Yao
> 
> -- 
> Mailing list: https://launchpad.net/~anvil-dev
> Post to     : anvil-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~anvil-dev
> More help   : https://help.launchpad.net/ListHelp



Follow ups

References