[Bug 286079] Installer problem on memstick image still needs internet. (FreeBSD-15-Current)

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 15 Apr 2025 20:08:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286079

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brd@FreeBSD.org,
                   |                            |emaste@freebsd.org
             Status|New                         |Open

--- Comment #2 from Ed Maste <emaste@freebsd.org> ---
I think this comes from usr.sbin/bsdinstall/scripts/auto:

export DISTRIBUTIONS="${DISTRIBUTIONS:-base.txz kernel.txz}"
if [ -f $BSDINSTALL_DISTDIR/MANIFEST ]; then
        DISTMENU=`awk -F'\t' '!/^(kernel\.txz|base\.txz)/{print $1,$5,$6}'
$BSDINSTALL_DISTDIR/MANIFEST`
        DISTMENU="$(echo ${DISTMENU} | sed -E 's/\.txz//g')"

        if [ -n "$DISTMENU" ]; then
                exec 5>&1
                EXTRA_DISTS=$( eval bsddialog \
                    --backtitle \"$OSNAME Installer\" \
                    --title \"Distribution Select\" --nocancel
--separate-output \
                    --checklist \"Choose optional system components to
install:\" \
                    0 0 0 $DISTMENU \
                2>&1 1>&5 )
                for dist in $EXTRA_DISTS; do
                        export DISTRIBUTIONS="$DISTRIBUTIONS $dist.txz"
                done
        fi
fi

Prior to 3bcd261265e1187a4dbed64104727022edb9e85b we initialized DISTRIBUTIONS
to "base.txz kernel.txz". It appears that commit intended to allow a pre-set
list of dists other than those two, but if the installer is restarted any
previously-added extras will remain in DISTRIBUTIONS.

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