kab...@lich.phys.spbu.ru (Dima Veselov) writes:

>Is there an opportunity to build a package with dependencies
>on production server without installing all dependencies?
>Maybe we can deploy NetBSD dist into a directory and build
>pkgsrc in chroot environment or there is more smooth
>way to do that?

Building in a chroot is the most useful way, and it avoids
conflicts with the (productive) host installation.

You can look at the pkg_comp package that does exactly that.
You can also use the pbulk system to build in a chroot. To
some degree (and with some hacks) it can also be used to
build for a system with a different OS release than the
host, e.g. to build packages for netbsd-8 when the build
host already runs netbsd-9.

-- 
-- 
                                Michael van Elst
Internet: mlel...@serpens.de
                                "A potential Snark may lurk in every tree."

Reply via email to