[Yum] Initializing a new chroot with yum

Felix Schwarz felix.schwarz at web.de
Mon Feb 23 21:21:27 UTC 2009


seth vidal schrieb:
> You won't really be able to do an install of software to another path as
> non-root. There are a lot of things that will require root - like
> ownerships on files, for example.

Actually I'm aware that my approach is very limited - luckily I have an 
extremely simple use case. So I don't want to deal with file ownership or 
complicated binaries at all. It is only about Python modules, most of them 
don't contain any compiled code.

So my idea was that I don't need a real chroot (sorry for the misleading 
title) but 'just' need to tell yum that it should look in a different location 
for configuration and the rpmdb and install the things in a separate location.

But I'll take a look how mock does the whole setup.

fs

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3312 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20090223/3a6c2ae9/attachment.bin>


More information about the Yum mailing list