Re: CFT: FreeBSD Package Base

From: Warner Losh <imp_at_bsdimp.com>
Date: Mon, 29 Apr 2019 07:53:17 -0600
On Mon, Apr 29, 2019 at 7:50 AM Lev Serebryakov <lev_at_freebsd.org> wrote:

> On 29.04.2019 16:39, kris_at_ixsystems.com wrote:
>
> >
> > This should be very doable with this package base. We use it for FreeNAS
> in a similar manner, where we disable a couple dozen things from base,
> resulting in a much more stripped down userland-base package. By default we
> also break out the doc/tests/debug bits into their own userland-* packages,
> for same reasons, to keep image nice and small.
> >
>  Ok, after
>
>
> # tar tf FreeBSD-HEAD-pkgbase-x64-20190426.iso | grep All
> dist/FreeBSD:13:amd64/latest/All
> dist/FreeBSD:13:amd64/latest/All/ca_root_nss-3.43_1.txz
> dist/FreeBSD:13:amd64/latest/All/jq-1.6.txz
> dist/FreeBSD:13:amd64/latest/All/kernel-20190420203550_1.txz
> dist/FreeBSD:13:amd64/latest/All/oniguruma-6.9.1.txz
> dist/FreeBSD:13:amd64/latest/All/pkg-1.10.5_5.txz
> dist/FreeBSD:13:amd64/latest/All/userland-20190420203550.txz
> dist/FreeBSD:13:amd64/latest/All/userland-base-20190420203550_7.txz
> dist/FreeBSD:13:amd64/latest/All/userland-docs-20190420203550.txz
> dist/FreeBSD:13:amd64/latest/All/userland-lib32-20190420203550.txz
> #
>
>  I was under impression, that there is only 3 userland packages, not
> 100+ :-)
>

It's a tradeoff... 100+ packages is super granular, but also a PITA to
manage. 3 package installs quite a bit faster than the 100+ packages due to
a large fixed cost in pkg per package, but isn't granular enough to tailor
for NanoBSD systems.

Warner


> --
> // Lev Serebryakov
>
>
Received on Mon Apr 29 2019 - 11:53:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC