← Back to team overview

anvil-dev team mailing list archive

Re: CentOS support

 

Hi Daniel,

Thanks for the input. It's good to know that you've got Anvil running on OEL 6.x, so I guess it could be adapted to run on CentOS as well.

I'm not just trying get it running on CentOS though. I'm also thinking along the lines of adding additional distro support into Anvil, so there's no need for us to use hacks. I'm not yet an Anvil dev, so I don't know how it works around here. Maybe you could just submit your patch to this list?


Thanks,

Heling

On 11/26/2012 12:18 PM, Daniel Mercer wrote:
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



References