r/freebsd • Claude user • 3d ago

help needed pkg-be: automatic boot environment before pkg upgrade

https://mail-archive.freebsd.org/cgi/mid.cgi?CAPMQdjH99yDLCcTiMF3zRXNffHvo9%3D_3UhiyPm3XScYvmOVrCA

This is Mehmet Ozgan's recent plea for feedback, addressed to the freebsd-pkgbase@ list:

freebsd-update creates a boot environment before it installs updates; pkg does not (PR 292983).

With pkgbase replacing freebsd-update in 16, I think pkg should close this gap, so I wrote a small pkg plugin: …

– note his three questions, please reply to the list.

Thanks.

Also, please note that pkgbase is intended to progress without replacing freebsd-update.

Ozgan's repo

https://github.com/mozgan/pkg-be

Postscripts

  1. fixed quotes for compatibility with Reddit
  2. changed the first of the links to work around an issue with mail-archive.freebsd.org
5 Upvotes

1 comment sorted by

-1

u/grahamperrin Claude user 3d ago

I drew attention to comparable work in September.

Sasha Karcz's work

https://github.com/usenix17/pkg-be-plugin

  • that is, pkg-be-plugin