[CentOS] Setting up a chroot

Thu May 29 18:52:25 UTC 2008
Johnny Hughes <johnny at centos.org>

MHR wrote:
> I'm trying to build GNOME (to run a more recent version than 2.16.* on
> CentOS 5.1) and I keep running into a lot of rather strange problems.
> I'm wondering if this might have something to do with my hybrid 64 and
> 32 bit general environment, so I want to try a pure 64-bit chroot.
> I've never done this before, and I'm not entirely sure how to, and I
> didn't see anything particularly on point, either at centos.org or
> google.  If I missed it, just say where and that should be enough.
> Guidelines?  Suggestions (other than "go away" or other physically
> difficult crudities :-)?

Probably the best thing to do is to use mock to build in.

You provide it with some repos and it automatically creates a chroot to 
build things.


That has some instructions, though you should be able to yum install mock.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20080529/b4b64779/attachment-0005.sig>