pkg lock

LuMiWa lumiwa at dismail.de
Thu Aug 12 17:17:06 UTC 2021


On Thu, 12 Aug 2021 12:11:15 -0500
Valeri Galtsev <galtsev at kicp.uchicago.edu> wrote:

> 
> 
> 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.
> > 
> 

Thank you. I lock packages because I do not want to build on my machine
anymore.

-- 
"Everyone thinks of changing the world, but no one thinks of changing
himself.”

Leo Tolstoy


More information about the freebsd-questions mailing list