Speedup ports install

A.J. "Fonz" van Werven freebsd at skysmurf.nl
Wed Oct 28 11:05:23 UTC 2015

Baptiste Daroussin wrote:

> IIRC portmaster only creates packages as backup of the installed version
> just in case the new package will fail it can reinstall the old one
> Note that the backup thing of portmaster could now possibly be removed
> since the ports tree support staging because now the ports tree checks
> that everything is ok before installing on the system, but that would
> require even more refactoring.


a) Portmaster creates backup packages of currently installed versions, to
   allow rollback indeed.
b) Portmaster can build new packages of the new versions, e.g. for a local
c) Note that both use "pkg create" or "pkg_create", not "make package".

Out of the box, Portmaster does (a) and not (b), but this can easily be
changed through commandline options and/or a configuration file. There-
fore, I'd recommend simply changing the default setting of (a) from on to
off instead of removing feature (a) altogether.


I'm not completely useless, I can be used as a bad example.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20151028/c8a81383/attachment.bin>

More information about the freebsd-ports mailing list