NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc build server



kab00m%lich.phys.spbu.ru@localhost (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: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index