Mock-urpm

From Rosalab Wiki
Revision as of 18:29, 12 May 2012 by Pavel.shved (Talk | contribs) (add categ)

Jump to: navigation, search

Mock is a program that builds packages inside a chroot, originally by Fedora Project. The chroot contents are defined by a set of config files.

To install, run "urpmi mock-urpm"; this will set up proper users, so you can instantly fire

sudo mock-urpm /path/to/src/rpm --enable tmpfs

See logs in /var/lib/mock-urpm/{rootname}/results.

Read more at "man mock-urpm". The tool originates from Fedora, see an article about mock there.

This page is under construction. Its Russian version is more detailed, though..