Page MenuHomeFreeBSD

bsdinstall.8: Document DISTRIBUTIONS defaults correctly
ClosedPublic

Authored by 0mp on Mon, Apr 20, 3:53 PM.
Tags
None
Referenced Files
F153975290: D56528.id175957.diff
Sat, Apr 25, 5:18 AM
F153894412: D56528.diff
Fri, Apr 24, 2:35 PM
Unknown Object (File)
Fri, Apr 24, 8:33 AM
Unknown Object (File)
Fri, Apr 24, 8:33 AM
Unknown Object (File)
Fri, Apr 24, 6:40 AM
Unknown Object (File)
Fri, Apr 24, 6:37 AM
Unknown Object (File)
Fri, Apr 24, 5:54 AM
Unknown Object (File)
Thu, Apr 23, 7:41 AM

Details

Summary

Some targets override the default value of DISTRIBUTIONS. Document that
in the manual page.

MFC after: 1 week

Diff Detail

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

Event Timeline

0mp requested review of this revision.Mon, Apr 20, 3:53 PM

Thank you for working on this!

usr.sbin/bsdinstall/bsdinstall.8
86

I think auto sets base.txz kernel.txz by default:
https://cgit.freebsd.org/src/tree/usr.sbin/bsdinstall/scripts/auto#n238

usr.sbin/bsdinstall/bsdinstall.8
86

Ah that's a copy&paste error! Thanks for spotting that!

This revision is now accepted and ready to land.Mon, Apr 20, 7:43 PM

Hi @0mp would you mind if I take a stab at extending this patch a bit further or maybe you would like to extend it?
For some context, I am currently working on adding a precompiled option to NanoBSD as part of a GSoC project. It requires using pkgbase, however I found it very useful to also add distribution sets for comparison. As such, we have decided to adopt bsdinstall's configuration options, that is, defining a NANO_DISTRIBUTIONS variable with the distributions you want in the final image. I'm pointing users to this manual page for more information about DISTRIBUTIONS.
My extension will consist of presenting more verbose distribution set information (obtained from the MANIFEST), which includes all the valid options the user can choose:

base-dbg.txz		"Base system debug info"			off
base.txz		"Base system"					on
kernel-dbg.txz		"Kernel debug info"				on
kernel.txz		"Kernel"					on
lib32-dbg.txz		"32-bit compatibility libraries (Debugging)"	off
lib32.txz		"32-bit compatibility libraries"		on
ports.txz		"Ports tree"					off
src.txz			"System source tree"				off
tests.txz		"Test suite"					off

The third column is what bsdinstall selects by default when running interactively (for reasons beyond my understanding, I would have selected base.txz kernel.txz by default as well).