Redhat4 32 bit
Redhat5 32 bit
Redhat5 64 bit
So now I had a few options to choose from,
- have 2 chroots' /redhat4 and /redhat5 and then chroot to redhat4 and build 32 and 64 bit drivers and repeat the process for /redhat5
OR
- have 4 chroots' and keep each build seperate. so I would have /redhat4_32 /redhat4_64 /redhat5_32 and /redhat5_64
Going the first route meant I would have to propagate the architecture all the way from top level build initiating script down to all the sub projects. The second option seemed better over the long run.
So the process is pretty simple. The over all steps are as follows:
systems:
gandalf - the box that needs to have whole build environment
boromir - temporary vmware image that will be deleted later. (as boromir does die!)
1- install redhat4 32 bit on boromir
2- create /redhat4_32 dir on gandalf
3- copy all the files from boromir to gandalf:/redhat4_32
4- set up the appropriate mounts for /proc and /dev
5- thats it.. chroot into /redhat4_32 on gandalf
No comments:
Post a Comment