This patch adds support to the ports system for setting packages to be marked as both Vital, or to override the default ABI that will be set when building a package. This is required to build base system packages out of the ports tree, and could be useful for others as well.
Details
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
-Gentle nudge- Would be nice to get this reviewed since it is a vital (haha) part of our package base solution:
https://lists.freebsd.org/pipermail/freebsd-pkgbase/2019-April/000396.html
Could you use devel/arcanist, or at least generate a diff with full context like it does, with svn diff -x -U9999 or git diff -U9999.
Mk/Scripts/create-manifest.sh | ||
---|---|---|
60–63 | This is getting too complex. use if/else. |
Cleaned up after some feedback from Mat. Using if/else logic to be neater now.
Thanks!
Now that the patch looks ok, I do not understand at all what you are doing here, what "base" package you are talking about, and if you are talking about the base system, why you would need to build it out of the ports tree, we have make package for that.
Ha, I guess you've not been following the threads about our pkg-base implementation. ;) We're in process of trying to upstream our package base solution that we feel is more viable than 'make packages' for a lot of reasons.
Here's the short version. This pkg base solution requires no changes to world sources, and can package "old" versions of FreeBSD as well. We do this with the patch mentioned here, along with a patch to poudriere and then a new "os/" category in ports that contains port makefiles to generate userland/kernel/debug/docs/foo/etc. This allows us to build world/kernel/ports all from poudriere, and ship a single unified repo that is "complete" and keeps things upgraded in lock-step. As well as nifty things like injecting depends on ports into base, such as using sysutils/zol vs base ZFS.
More details here:
let's wait that the working group at bsdcan happened before getting any further on this imho