RHEL3 and other older distributions [message #26601] |
Tue, 29 January 2008 12:38 |
dbailey
Messages: 3 Registered: June 2007
|
Junior Member |
|
|
Looking to get RHEL3 working as a VE, and I believe there are various things that would have to be done to accomplish this.
1) Take a rpm 4.2.* src rpm and modify it in the same way as vzrpm43 and vzrpm44.
2) Create a new OS template to match the differences in rpm names and services enabled.
3) Install the new packages and create a template cache
4) Continue as normal
Right now I'm working on part 1. I've noticed that in the vzrpm4x, for the sections that were added to handle building the python support there are references to a tool called alternatives. I suspect that this is used to setup how the different versions of python are used?
Any ideas on where to get this tool, if it is available? Or what exactly it does?
Also would the project be interested in having the results which should provide vzrpm42 packages?
--
Regards,
Darragh Bailey
Systems Software Engineer
Hewlett Packard Galway Ltd.
+353 91 75-4674
Postal Address: Hewlett Packard Galway Limited, Ballybrit Business Park, Galway
Registered Office: Hewlett Packard Galway Limited, 63-74 Sir John Rogerson's Quay Dublin 2
Registered Number: 361933
|
|
|
Re: RHEL3 and other older distributions [message #26616 is a reply to message #26601] |
Tue, 29 January 2008 14:23 |
|
Bailey, Darragh wrote:
> Looking to get RHEL3 working as a VE, and I believe there are various things that would have to be done to accomplish this.
>
> 1) Take a rpm 4.2.* src rpm and modify it in the same way as vzrpm43 and vzrpm44.
> 2) Create a new OS template to match the differences in rpm names and services enabled.
> 3) Install the new packages and create a template cache
> 4) Continue as normal
>
>
> Right now I'm working on part 1. I've noticed that in the vzrpm4x, for the sections that were added to handle building the python support there are references to a tool called alternatives. I suspect that this is used to setup how the different versions of python are used?
>
> Any ideas on where to get this tool, if it is available? Or what exactly it does?
>
I guess this is http://alternatives.sourceforge.net/. I am not a guru in
it, but I know it creates symlinks for different software, such as, in
this case, different python versions. That way vzrpm can be built with
different python versions which makes it possible to use on different
host systems.
If you do it just for yourself, you can remove this stuff from the .spec
and just build your vzrpm with only one version of python.
> Also would the project be interested in having the results which should provide vzrpm42 packages?
>
|
|
|
RE: RHEL3 and other older distributions [message #26642 is a reply to message #26616] |
Tue, 29 January 2008 18:24 |
dbailey
Messages: 3 Registered: June 2007
|
Junior Member |
|
|
> -----Original Message-----
> From: users-bounces@openvz.org [mailto:users-bounces@openvz.org] On Behalf
> Of Kir Kolyshkin
> Sent: 29 January 2008 14:24
> To: users@openvz.org
> Subject: Re: [Users] RHEL3 and other older distributions
<snipped>
> I guess this is http://alternatives.sourceforge.net/. I am not a guru in
> it, but I know it creates symlinks for different software, such as, in
> this case, different python versions. That way vzrpm can be built with
> different python versions which makes it possible to use on different
> host systems.
>
> If you do it just for yourself, you can remove this stuff from the .spec
> and just build your vzrpm with only one version of python.
True, but I was thinking that the work that I'm doing on this might be of use to the project, and might be worth submitting back. So making the changes in a form which is useful to the project wouldn't be that much harder.
Perhaps that is something I should take to the devel list?
--
Regards,
Darragh Bailey
Systems Software Engineer
Hewlett Packard Galway Ltd.
+353 91 75-4674
Postal Address: Hewlett Packard Galway Limited, Ballybrit Business Park, Galway
Registered Office: Hewlett Packard Galway Limited, 63-74 Sir John Rogerson's Quay Dublin 2
Registered Number: 361933
|
|
|