diff options
author | keramida <keramida@FreeBSD.org> | 2008-05-27 05:10:54 +0000 |
---|---|---|
committer | keramida <keramida@FreeBSD.org> | 2008-05-27 05:10:54 +0000 |
commit | ac192fc2f13824789c65f651efe43dc36ce04ecb (patch) | |
tree | 278d6e0261b39f00f8600e1d2ed92581cb321d23 /MAINTAINERS | |
parent | 456ca43f89f09bbc298c6cb81599ad3859b84efb (diff) | |
download | FreeBSD-src-ac192fc2f13824789c65f651efe43dc36ce04ecb.zip FreeBSD-src-ac192fc2f13824789c65f651efe43dc36ce04ecb.tar.gz |
Add a -n option to pkg_create(1), to inhibit duplicate work.
When run without this option, multiple runs of `pkg_create -Rb' will
recreate common packages multiple times. This can take a lot of time
for large packages. With the -n option `pkg_create -b' checks with
stat(2) and skips packages that already exist.
Note that this may *not* be safe of the existing output file is not
really a package, or if it has been corrupted, modified or otherwise
tinkered with between subsequent pkg_create runs. For this and POLA
reasons, the default behavior is to *rebuild* the packages, and the -n
option can be used when we know it is `safe' to run in no-regenerate
mode.
Inspired by: A post to freebsd-questions
by Matthias Apitz < matthias.apitz at oclc.org >
Reviewed by: marcus, flz
Approved by: marcus
MFC after: 2 weeks
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions