Page MenuHomeFreeBSD

bsdinstall: add pkgbase component selection dialog
ClosedPublic

Authored by ifreund_freebsdfoundation.org on May 5 2025, 8:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 15, 12:56 PM
Unknown Object (File)
Sun, Jul 13, 3:21 AM
Unknown Object (File)
Fri, Jul 11, 9:40 PM
Unknown Object (File)
Wed, Jul 9, 8:11 PM
Unknown Object (File)
Wed, Jul 9, 11:21 AM
Unknown Object (File)
Fri, Jul 4, 8:54 AM
Unknown Object (File)
Sun, Jun 29, 4:59 AM
Unknown Object (File)
Sat, Jun 28, 8:09 PM

Details

Summary

This matches the style of the component selection dialog for traditional
tarball-based installations. The only difference is that there is
currently no ports component offered when using pkgbase.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Extract component selection to a separate function

After a nights sleep, I realized I had written an excessively long function

usr.sbin/bsdinstall/scripts/pkgbase.in
44–146

Can we add a comment with a brief description for each of these functions?

76

These should probably be "Kernel Debug Data" or so. You've followed what the dist sets do today so there's an argument for consistency, but I think that's a bug to be fixed in the dist sets (and can pick that up). Kernel (Debugging) could suggest this is a debugging kernel, an alternative to a Kernel (Standard).

I've submitted D50254 to change this for dist sets.

usr.sbin/bsdinstall/scripts/pkgbase.in
76

Indeed, this is a good opportunity to improve this terminology. I left a comment with a minor bikeshed on https://reviews.freebsd.org/D50254 and will copy whatever terminology gets decided upon there for this patch.

Hide components with no available packages in the menu

This revision was not accepted when it landed; it landed in state Needs Review.May 22 2025, 7:04 PM
This revision was automatically updated to reflect the committed changes.