Create list of ports to update

andrew clarke mail at ozzmosis.com
Mon Dec 4 01:22:08 UTC 2017


On Sun 2017-12-03 19:30:34 UTC+0000, Ben Woods (woodsb02 at gmail.com) wrote:

> That said, if you are only using one host, then the following will work
> great.
> pkg query %o > /usr/local/etc/poudriere-list
> poudriere -v bulk -j 11amd64 -f /usr/local/etc/poudriere-list
> 
> Note that I don’t store it in /tmp/ as you will want to keep the file
> around for next build. Each time you want a new package, add it to the file
> first, and rebuild.

Fair enough. :)

When I want a new package I run "poudriere bulk" manually, eg.

poudriere -v bulk -j 11amd64 editors/joe
pkg update
pkg install joe

> Note the first time poudriere will build all packages, regardless of
> whether they are up to date on the host already. In poudriere’s package
> repo, they don’t exist yet. The second time and after, poudriere will only
> build the ports which are out-dated or who’s dependencies were updated.

Indeed. It works well.


More information about the freebsd-questions mailing list