Packaging the FreeBSD base system with pkg(8)

Baptiste Daroussin bapt at FreeBSD.org
Thu Jan 28 22:36:02 UTC 2016


On Thu, Jan 28, 2016 at 02:58:52PM -0500, Nikolai Lifanov wrote:
> 
> 
> On January 28, 2016 1:23:22 PM EST, Glen Barber <gjb at FreeBSD.org> wrote:
> >On Thu, Jan 28, 2016 at 09:12:53PM +0300, Slawa Olhovchenkov wrote:
> >> I see two hudge problem for support upgrades from older RELEASE
> >> versions (supported too): key (used for repo signing) change and need
> >> to access ports packages to install (installed outdated release can't
> >> find pkg packet for install).
> >> 
> >> Can you more detailed describe current propolsal of new packaging
> >> system? pkg is part of base installed packages? Or after installing
> >> base packages pkg installed from `ports`? For disc1.iso case.
> >> 
> >> How handled boot/device.hints and var/db/etcupdate?
> >> 
> >> How handled boot block updates?
> >
> >These are all valid questions, but let's take a step back for a bit,
> >and
> >not put the carriage in front of the horse.
> >
> >The initial email in this thread was intended to provide an update on
> >the status.  Some things, such as file merging, is already in place in
> >a few of the packages.  Not all, yet.
> >
> >Unexpected things are going to happen.  That is the only thing that is
> >a guarantee right now.  In other words, implementation (from what is
> >now
> >in the project branch) may change.  And yes, there needs to be a way to
> >upgrade from older releases.
> >
> >But let's not get too far ahead of ourselves.
> >
> >Glen
> 
> Can we have verbose and/or semi-interactive configuration merge, as offered by etcupdate or mergemaster?

pkg has a merging mercanism (which one can disable if scared) which will
automatically merge everything it can and live a file .new if a conflict happen
(or merging disabled)
Would be easy to write an etcupdate like that walk through /etc and propose a
semi-interactive merging mechanism.

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20160128/08020480/attachment-0001.sig>


More information about the freebsd-current mailing list