pkg lock
Valeri Galtsev
galtsev at kicp.uchicago.edu
Thu Aug 12 17:11:16 UTC 2021
On 8/12/21 11:54 AM, LuMiWa via freebsd-questions wrote:
> Hi!
>
> I am using binary packages (latest) on FreeBSD 13.0-RELEASE.
> I have 8 applications where I have my own settings. Is it correct when
> I built the and install that I should use "pkg lock name" of
> port/package, please? Or is something other.
>
If you build your own packages with custom settings using poudriere,
then somewhere in: /usr/local/etc/pkg/repos/ you will have pointer to
your poudriere repository. Then, poudriere repository's supplied .pkg
will take precedence over central FreeBSD repository's one, unless
poudriere has older than FreeBSD repository version of package. This is
the advantage of using poudriere.
If you just build port, you do need to lock these packages, and their
dependencies affected by your custom config. I'm sure there are experts
who do it this way who will provide better guidance for this case.
Valeri
> Thank you.
>
--
++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++
More information about the freebsd-questions
mailing list