Date: Wed, 14 Jan 2015 16:18:07 +0000 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-ports@freebsd.org Subject: Re: BIND REPLACE_BASE option Message-ID: <54B696BF.5020901@FreeBSD.org> In-Reply-To: <20150114153427.63AD7C0A@hub.freebsd.org> References: <D029D964D3A96A570922090C@ogg.in.absolight.net> <ee422bd630292fe6f7bc5439799667de@lhaven.homeip.net> <2A3ABE9AE68B3CE8E1B7C1A1@ogg.in.absolight.net> <20150113163324.299F27E9@hub.freebsd.org> <20150114080033.GE33449@droso.dk> <20150114153427.63AD7C0A@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2015/01/14 15:34, Roger Marquis wrote: > So one difference then would be that Poudriere determines which > dependencies are run-time vs build-time and creates packages for those by > default, is that correct? I can see how that might be convenient for > packages with a large number of dependencies (like sssd) but it also > seems like a lot of additional infrastructure simply to build binaries on > one host to be used by many. Poudriere by definition will create packages for all of the build- and run-depends, as it needs the build-depends packages itself in order to build everything. It builds everything in temporary jails which it installs all the needed dependencies to, and then destroys after that package has been built. However, when you go to install a package from the repo, pkg(8) will only pull down the run-time dependencies of whatever you choose to install. That means there are a good chunk of packages you simply don't need to have on your production servers any more. Yes, poudriere does a lot of stuff, but if you didn't use a central builder, you'ld end up replicating all of that stuff onto every machine you wanted to manage. Poudriere itself can run on a fairly modest machine -- it depends on how many packages you need to build and how quickly you want them. It's quite feasible to use poudriere for a small-ish repo on a machine at night, when it is otherwise quiet, and then use the same machine for something else during the day. Cheers, Matthew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54B696BF.5020901>