using mock for chroot builds. WAS [F8/multilib] {, /usr}/{, s}bin64

seth vidal skvidal at linux.duke.edu
Tue May 1 21:47:44 UTC 2007


On Tue, 2007-05-01 at 16:30 -0500, Clark Williams wrote:

> That looks like a good start.
> 
> Should we provide a non-root shell option in the chroot or is that just
> complicating things too much? Something like:
> 
> $ mock -r cfg shell --nonroot
> 
> We could automagically set the UID to be mockbuild and start the user
> off in the builddir directory.  Probably would want to set the PS1 to
> reflect who we are; currently it's set to "mock-chroot> ", but you're
> uid=0 and gid is mockbuild.
> 
> Dunno whether that would be useful or just more cruft we'd have to lug
> along.

I kinda think it would be more cruft to lug around.  That doesn't mean
it wouldn't be useful just that it might not be useful ENOUGH.

-sv





More information about the Fedora-maintainers mailing list