VM and cloud images are now built as packaged base systems by default,
matching the default for installation media.
Setting -DNOPKGBASE allows building as non-pkgbase systems.
Sponsored by: The FreeBSD Foundation
Differential D51483
release: create pkgbase VM and cloud images ifreund_freebsdfoundation.org on Jul 24 2025, 8:46 AM. Authored by Tags Referenced Files
Details
VM and cloud images are now built as packaged base systems by default, Setting -DNOPKGBASE allows building as non-pkgbase systems. Sponsored by: The FreeBSD Foundation
Diff Detail
Event Timeline
Comment Actions Always do an initial default package filtering This avoids duplicating the logic for selecting the correct kernel package for
Comment Actions Thanks, that looks much cleaner. I can imagine scenarios where we (or downstream users) might want a different kernel, but hard-coding GENERIC in here is fine for now; we can add that additional functionality if and when needed.
Comment Actions @ifreund_freebsdfoundation.org Can we land this soon?
Comment Actions Actually, this is going to need some changes now that PKGBASE is the default and there's a new NOPKGBASE option. Should I just take over this patch? Comment Actions If that's easiest for you, feel free to do so! (And ping me for a review if you like). Otherwise I can rebase and test this again tomorrow morning. Comment Actions I think this patch could use a bit more work than just updating for the -DNOPKGBASE change. It was written before package sets were added and it would be nice if we could leverage those rather than doing fragile regex-based matching.
|