1mockchain(1) Vidal" mockchain(1)
2
3
4
6 mockchain - chain package builder.
7
9 mockchain -r chroot_config [options] [package...]
10
12 mockchain builds a series of srpms in mock one at a time. After each
13 successful build of a package it adds the resulting packages to a local
14 repo which are available to the next package to satisfy buildreqs.
15
17 This does not try to sort the packages by build order b/c that is too
18 much effort and not obviously doable with the buildreq information we
19 have.
20
21 The build process when you use -l is idempotent so a package which has
22 already been successfully built will not be built again.
23
24 If you want to force the rebuild of a package which has been built suc‐
25 cessfully simply remove the 'success' file from the directory for the
26 package in the localrepo path.
27
28
30 -a REPOS, --addrepo=REPOS
31 add this repo baseurl to the yumconfig for the chroot. This can
32 be specified multiple times. Let's you point to multiple paths
33 beyond the default to pull build deps from.
34
35
36 -c, --continue
37 if a pkg fails to build, continue to the next one, default is to
38 stop
39
40
41 -l LOCALREPO, --localrepo=PATH
42 set the path to put the results/repo in. This path needs to be
43 somewhere accessible to users other than you for reading as the
44 mock process doesn't run as you. Will make a tempdir if not set.
45
46
47 --log=LOGFILE
48 log to the file named by this option, defaults to not logging
49
50
51 -m OPTION, --mock-option=OPTION
52 pass the OPTION to mock. Can be used several times. For example:
53
54 -m --define="packager Monkey"
55
56
57 -r CONFIG, --root=CONFIG
58 chroot config name to use in the mock build
59
60
61 --recurse
62 build all pkgs, record the failures and try to rebuild them
63 again and again until everything gets built (or until the set of
64 pkgs failing to build are the same over) sets --continue
65
66
68 Seth Vidal
69
70
71
72Seth 1.4.16" mockchain(1)