[Bug 256054] bsdinstall fails if interactive and no extra distributions available

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 21 May 2021 14:10:35 UTC

            Bug ID: 256054
           Summary: bsdinstall fails if interactive and no extra
                    distributions available
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: chris@chrullrich.net

During an interactive installation, bsdinstall looks in
/usr/freebsd-dist/MANIFEST for the available distributions, excludes base and
kernel, and passes certain fields of the remaining entries to dialog for

If no other lines exist in this file (which is valid because only base and
kernel are required), dialog fails complaining that it has not received enough
arguments for --checklist.

bsdinstall reads the error message from dialog, decides it must be a list of
selected distributions, looks for each of them, finds none, and complains that
"Some installation files were not found on the boot volume". It then offers to
try and get them from the network.

Instead, the entire selection step should be skipped if no optional
distributions are present in the manifest.

Note: "make NODOC=1 NOSRC=1 NOPORTS=1 ftp cdrom", run with an obj tree built
WITHOUT_LIB32, results in a disc1.iso that has no extra distributions. I have
used such images for scripted installation many times; they are perfectly

You are receiving this mail because:
You are the assignee for the bug.