LWN.net Logo

Advertisement

Front, Kernel, Security, Distributions, Development. See your byline here on LWN.net.

Advertise here

using yum to build a chroot

using yum to build a chroot

Posted Jan 11, 2007 20:53 UTC (Thu) by scottt (subscriber, #5028)
In reply to: Gentoo and the Linux Terminal Server Project by tetromino
Parent article: Gentoo and the Linux Terminal Server Project

Yum does support installing into a different root directory.

$ yum --help | grep root
--installroot=[path] set install root

There is another tool "mock" that builds rpms which uses yum to create a clean chroot with only the required build dependencies for each package build.


(Log in to post comments)

using urpmi to build a chroot

Posted Jan 14, 2007 19:24 UTC (Sun) by Zero_Dogg (subscriber, #31310) [Link]

urpmi too:

[root@wulfgar zerodogg]# LC_ALL=C urpmi --help |grep root
--root - use another root for rpm installation.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds