https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288295

            Bug ID: 288295
           Summary: bsdinstall does not bootstrap etcupdate database for
                    pkgbase installations
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

Unlike the traditional base.txz which includes a bootstrapped /var/db/etcupdate
database, the equivalent pkgbase packages do not include /var/db/etcupdate.
This makes sense, since that database should only be bootstrapped once at
installation time, not every time the system is updated.

This means that bsdinstall should be probably be responsible for bootstrapping
the etcupdate database for pkgbase installations.

For offline pkgbase installations I think we should include an etcupdate
database tarball built with `etcupdate build` in the installation media and run
`etcupdate extract` to bootstrap from that tarball at installation time.

For online pkgbase installations we need to match the version of the packages
downloaded at install time, so one option would be to always download the
`FreeBSD-src` package and bootstrap the etcupdate database from that source
tree. This would however result in downloading a fair amount of unnecessary
data if the user does not want to install the `FreeBSD-src` package.

In both cases, we must ensure that the etcupdate database is bootstrapped from
a version of the source tree that matches the installed packages exactly.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to