FreeBSD-update is not compatible with packaged base.
PR: 282252
Differential D47341
freebsd-update: refuse to operate on a pkgbase system emaste on Oct 30 2024, 5:43 PM. Authored by Tags None Referenced Files
Details FreeBSD-update is not compatible with packaged base. PR: 282252 NOTE: patch is currently an untested draft
Diff Detail
Event TimelineComment Actions Maybe it's OK to leave freebsd-update fetch and freebsd-update cron in place in a pkgbase context?
Comment Actions I think this is ok. We might want a chicken switch to allow the user to override this, but we can add it later. Comment Actions We could make the expression `pkg info -q -x '^FreeBSD|^CheriBSD'. Ideally though we'd have some way to detect pkgbase independent of the package names so that any other downstream derivative can use their own package name prefix. Comment Actions
Good point, something like an awkward env var could do the trick (FREEBSD_UPDATE_IGNORE_PKGBASE_CHECK). I anticipate there will be some iteration here, anyway. I anticipate this won't be MFC'd in the near future (if at all). I don't particularly like what I've come up with, but hope to provide a few pragmatic safety belts to avoid unfortunate situations. There's work in progress on pkgbase support in the installer, and I hope that we can have a canonical script/tool to migrate to pkgbase as well. I'd like to encourage wider testing and want to have something in place before then. Comment Actions Just a minor observation.
|