summaryrefslogtreecommitdiffstats
path: root/docs/mock.1
Commit message (Collapse)AuthorAgeFilesLines
* set the current working directory in the chrootMike Bonnet2008-01-241-0/+3
| | | | | | | | | | | | | | | This patch allows you to set the current working directory (in the chroot) before running a command with --chroot. This avoids the need to pass shell snippets ('cd /some/path && /run/cmd') to mock when running a command that expects to executed from a certain directory. It's useful when using --copyin to setup the environment before running a command. >From e4071d1d41a62ccf4461dfab958f9325edf30c97 Mon Sep 17 00:00:00 2001 From: Mike Bonnet <mikeb@redhat.com> Date: Thu, 24 Jan 2008 17:09:06 -0500 Subject: [PATCH] optionally set the current working directory (in the chroot) before running command with --chroot Signed-off-by: Michael E Brown <mebrown@michaels-house.net>
* add --unpriv option to drop privileges when running a command with --chrootMike Bonnet2008-01-241-0/+3
| | | | | | | | | | | | | | | | | | | | On Thu, 2008-01-24 at 16:04 -0500, Mike Bonnet wrote: > On Thu, 2008-01-24 at 15:42 -0500, Mike Bonnet wrote: > > This patch adds a --unpriv option that will cause privileges to be > > dropped before running a command with --chroot. This can be used to > > more closely simulate the environment used when running rpmbuilds. > > Let me try that again... Ok, the attachments are getting stripped off for some reason, trying inline... >From 85e14d38aec32cf20d7f2bbdc77044d41c32a0a2 Mon Sep 17 00:00:00 2001 From: Mike Bonnet <mikeb@redhat.com> Date: Thu, 24 Jan 2008 15:37:15 -0500 Subject: [PATCH] optionally drop privileges when running a command with --chroot Signed-off-by: Michael E Brown <mebrown@michaels-house.net>
* update manpage with new site-defaults ref.Michael E Brown2008-01-151-2/+2
|
* some manpage clarifications and arrangements.Michael E Brown2008-01-101-41/+53
|
* update docs for --arch and --target.Michael E Brown2008-01-041-2/+5
|
* document --trace.Michael E Brown2007-12-161-1/+1
|
* Mock documentation patchVille Skyttä2007-12-161-8/+17
| | | | | | | | | The attached patch adds the following option aliases: --root for -r, -D for --define (like in rpmbuild), --target for --arch (like in rpmbuild). It also adds --verbose and --quiet and -h to the man page, and fixes a couple of other minor man page issues. Signed-off-by: Michael E Brown <mebrown@michaels-house.net>
* changed more uses of .rootdir to makeChrootPath(); updated man page for ↵Clark Williams2007-12-131-8/+29
| | | | --copyin and --copyout; updated plugins to use makeChrootPath(); updated releasetests.sh so that daemon tests uses --copyin
* Add --update call, to update existing buildroot.Jesse Keating2007-12-121-0/+4
| | | | Useful for things like pungi which continuously reuse a buildroot
* - make "mock --chroot" non-interactive - set the exit code of "mock ↵Mike Bonnet2007-12-111-1/+3
| | | | | | --chroot" to the exit code of the process run in the chroot - log the output of the process to root.log Signed-off-by: Michael E Brown <michael_e_brown@dell.com>
* add docs for --orphanskill mode.Michael E Brown2007-12-111-0/+5
|
* use double-quotes for stuff people need to cut-pasteMichael E Brown2007-12-061-1/+1
|
* whitespace fixups.Michael E Brown2007-12-041-26/+26
|
* add --with and --without options to enable/disable options in a srpmTodd Zullinger2007-12-041-1/+11
| | | | Signed-off-by: Michael E Brown <michael_e_brown@dell.com>
* use 'MACRO EXPR' in --define docs to match the rpmbuild docsTodd Zullinger2007-12-041-2/+2
| | | | Signed-off-by: Michael E Brown <michael_e_brown@dell.com>
* add --define option to pass rpm macros on the command lineTodd Zullinger2007-12-041-0/+5
| | | | Signed-off-by: Michael E Brown <michael_e_brown@dell.com>
* update docs for offline paramsMichael E Brown2007-11-281-0/+3
|
* update docs for preferred command syntax.Michael E Brown2007-11-201-22/+30
|
* update manpage for --resultdir changes.Michael E Brown2007-11-191-2/+4
|
* document 'clean' behaviour for install[deps], chroot, shell.Michael E Brown2007-11-141-6/+6
|
* update manpage to reflect reality.Michael E Brown2007-11-031-3/+3
|
* fixup docs to match latest options.Michael E Brown2007-10-221-18/+22
|
* merged mock-0-6-branch fixes into HEADpostmerge_20070104jcwillia2007-01-041-1/+1
|
* updated manpage contentsjcwillia2006-08-171-16/+70
|
* updated to include "chroot" command in usage and man pagejcwillia2006-07-171-0/+2
|
* add commands to man page, create config files for legacy distributionssheltren2005-08-211-1/+9
|
* mock man page from Jeff Sheltrenskvidal2005-08-051-0/+54
Makefile for docs dir