Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jul 2019 17:30:49 -0400
From:      <kris@ixsystems.com>
To:        <freebsd-pkgbase@freebsd.org>
Subject:   CFT - Out of Tree Package Base (Round 2)
Message-ID:  <00e201d53378$ea3399c0$be9acd40$@ixsystems.com>

next in thread | raw e-mail | index | archive | help
Developers,

=20

It=E2=80=99s been a few months since our earlier CFT. Since then =
we=E2=80=99ve had a Working Group at BSDCan, as well as feedback from =
different parties on our implementation of base-packages into the ports =
tree. Much of this feedback has been helpful, and we=E2=80=99ve =
incorporated it into a patch that=E2=80=99s in review:

=20

https://reviews.freebsd.org/D20394

=20

=20

Download 13-CURRENT (Updated weekly with full ports tree build)
https://pkg.trueos.org/iso/freebsd-pkgbase/

=20

Download 12-STABLE (Updated weekly with full ports tree build)

https://pkg.trueos.org/iso/freebsd12-pkgbase/

=20

=20

Here=E2=80=99s a quick recap of what=E2=80=99s changed since the initial =
CFT:

=20

- Broken out critical libs -

=20

(rtld/libc/libm/etc) into a =E2=80=98-bootstrap=E2=80=99 package, to =
minimize the risk that a crashed/aborted update will result in a =
non-bootable system

=20

- Added FLAVORS support (Currently generic/minimal/nozfs) -

=20

The testing images also show a =E2=80=9Copenzfs=E2=80=9D option, which =
uses the =E2=80=98nozfs=E2=80=99 flavor to install, and loads =
sysutils/openzfs as the base system ZFS

=20

- Added a =E2=80=98freebsd-update=E2=80=99 replacement, =
=E2=80=98base-update=E2=80=99.  -

=20

This utility handles the update process, similar to =
=E2=80=98freebsd-update=E2=80=99. If kernel updates are present, it will =
do those as stage 1 (Along with installed *-kmod packages) and prompt =
for a reboot. On next run, the -bootstrap and other userland packages =
will be updated in the correct order. Additionally there is a =
=E2=80=9Cmerge=E2=80=9D option, which will interactively walk the user =
through a mergemaster-style update of files in /etc which could not be =
automatically updated by pkg.=20

=20

- Split userland package into smaller subset, allowing for small =
download sizes on slow connections, especially when only issuing updates =
-

=20

When dealing with updates, and especially on smaller devices such as a =
RPI, this will make the initial update / download much more manageable. =
For security updates to libraries, (on amd64) the package tops out at =
about 8MB. (More details in the Phab review if you are curious)

=20

So what=E2=80=99s next?

=20

Still on our TODO is adding a script which will allow you to convert =
your existing FreeBSD installation over to managed by base packages. =
Additionally we intend to spin up a new weekly build for 12.0-RELEASE =
images/packages, allowing users to try out the migration / update =
process from 12.0 -> 12.1 and more real-world usage.

=20

Lastly, we=E2=80=99re still trying to work through some issues with =
Portmgr to see about bringing this patch into the project in some form. =
Hopefully we can reach some sort of agreement on a path forward for this =
work, but in the meantime we=E2=80=99ll keep publishing updated images / =
packages weekly, since right now its nice to be using base packages in =
the real-world =F0=9F=98=8A

=20

Thanks for reading.  Appreciate feedback / review!

=20

=20

--=20

Kris Moore

=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00e201d53378$ea3399c0$be9acd40$>