summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjcwillia <jcwillia>2006-08-23 22:00:05 +0000
committerjcwillia <jcwillia>2006-08-23 22:00:05 +0000
commitc6a5e81eef86ec3c43e33b3689b14a42b35593cf (patch)
tree9102c4f4330e663c564614010fb407c6ab1c9fd9
parenta785d39b08ad3e9727c1e20ed084c0447b1ea649 (diff)
downloadmock-c6a5e81eef86ec3c43e33b3689b14a42b35593cf.tar.gz
mock-c6a5e81eef86ec3c43e33b3689b14a42b35593cf.tar.xz
mock-c6a5e81eef86ec3c43e33b3689b14a42b35593cf.zip
fixed link problem in etc/Makefile; updated README; bumped version in specfile to 0.6.2
-rw-r--r--README28
-rw-r--r--etc/Makefile2
-rw-r--r--mock.spec2
3 files changed, 19 insertions, 13 deletions
diff --git a/README b/README
index 396be4e..5bd87b4 100644
--- a/README
+++ b/README
@@ -2,25 +2,34 @@ Mock Readme
Mock is a simple chroot/rpm building program. It doesn't do anything
terribly fancy other than build a single srpm at a time in a chroot.
-You invoke it as:
-mock -r name-of-chroot /path/to/srpm
+You invoke mock using one of the following forms:
+
+ mock [options] [rebuild] /path/to/srpm(s)
+ mock [options] chroot <cmd>
+ mock [options] {init|clean|shell}
options:
-r CHROOT chroot name/config file name default: chroot.cfg
--no-clean do not clean chroot before building
--arch=ARCH target build arch
--debug Output copious debugging information
- --resultdir=RESULTDIR
- path for resulting files to be put
+ --resultdir=RESDIR path for resulting files to be put
--statedir=STATEDIR path for state file is written
- --uniqueext=UNIQUEEXT
- Arbitrary, unique extension to append to buildroot
+ --uniqueext=UNIQUEEXT Arbitrary, unique extension to append to buildroot
directory name
+ --configdir=CONFIGDIR Change directory where config files are found
+ --quiet Suppress most output
+ --autocache Turn on build-root caching
+ --rebuildcache Force rebuild of build-root cache
+ --help Show usage information and exit
+ --version Show version number and exit
commands:
- init - initialize a chroot (install pkgs, setup devices, etc,) then exit
- clean - purge the chroot tree - normally this happens right before a build
+ init - initialize a chroot (install pkgs, setup devices, etc,) then exit
+ chroot - run the specified command in an (already initialized) chroot
+ clean - purge the chroot tree - normally this happens right before a build
but this is for the tidy-minded
+ shell - start an interactive shell in the specified chroot
rebuild <srpm> - for mach compatibility
mock does:
@@ -34,6 +43,3 @@ mock does:
- logs nicely so that chroot creation and build logs are separate
- outputs little unless it needs to.
-
-TODO: document more
-TODO: man page?
diff --git a/etc/Makefile b/etc/Makefile
index 87a1954..f395a1f 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -10,6 +10,6 @@ install:
install -m 644 $$item $(DESTDIR)/etc/mock/$$item; \
done
for arch in i386 ppc x86_64 ; do \
- ln -sv fedora-6-$$arch-core.cfg $(DESTDIR)/etc/mock/fedora-development-$$arch-core.cfg; \
+ ln -sv fedora-devel-$$arch-core.cfg $(DESTDIR)/etc/mock/fedora-6-$$arch-core.cfg; \
done
diff --git a/mock.spec b/mock.spec
index 6418591..16fbcda 100644
--- a/mock.spec
+++ b/mock.spec
@@ -1,6 +1,6 @@
Summary: Builds packages inside chroots
Name: mock
-Version: 0.6.1
+Version: 0.6.2
Release: 1%{?dist}
License: GPL
Group: Development/Tools