action="store",
help="max load allowed when spawning multiple jobs",
dest="load_average")
+ parser.add_option("--portdir",
+ help="override the portage tree location",
+ dest="portdir")
parser.add_option("--rsync",
action="store_true",
help="enable rsync stat collision workaround " + \
if options.cache_dir is not None:
env['PORTAGE_DEPCACHEDIR'] = options.cache_dir
+ if options.portdir is not None:
+ env['PORTDIR'] = options.portdir
+
settings = portage.config(config_root=config_root,
target_root='/', local_config=False, env=env)
\fBportage\fR(5)) from one of the repositories that is configured via the
\fBPORTDIR\fR or \fBPORTDIR_OVERLAY\fR variables (see \fBmake.conf\fR(5)).
.TP
+.BR "\-\-portdir=PORTDIR"
+Override the portage tree location.
+.TP
.BR "\-\-rsync"
When used together with the \fB\-\-update\fR action, this enables a workaround
for cases in which the content of a cache entry changes and neither the file