[Bug 255659] bsdinstall failure "file://usr/freebsd-dist/MANIFEST : No such file or directory"

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 26 Jun 2021 00:35:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255659

--- Comment #6 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=5a4dffac60014e883092ed7f133c8ecd198f2b24

commit 5a4dffac60014e883092ed7f133c8ecd198f2b24
Author:     Nathan Whitehorn <nwhitehorn@FreeBSD.org>
AuthorDate: 2021-05-28 13:53:42 +0000
Commit:     Nathan Whitehorn <nwhitehorn@FreeBSD.org>
CommitDate: 2021-06-26 00:35:04 +0000

    Fix scripted installation from media without local distfiles.

    The bsdinstall script target did not have the infrastructure to fetch
    distfiles from a remote server the way the interactive installer does
    on e.g. bootonly media. Solve this by factoring out the parts of the
    installer that deal with fetching missing distributions into a new
    install stage called 'fetchmissingdists', which is called by both the
    interactive and scripted installer frontends.

    In the course of these changes, cleaned up a few other issues with
    the fetching of missing distribution files and added a warning if
    fetching the MANIFEST file, which is used to verify the integrity of
    the distribution files. We should at some point add cryptographic
    signatures to MANIFEST so that it can be fetched safely if not present
    on the install media (which it is for bootonly media).

    Initial patch by: Vinícius Zavam
    PR:             255659, 250928
    Reviewed by:    dteske
    MFC after:      4 weeks
    Differential Revision:  https://reviews.freebsd.org/D27121

    (cherry picked from commit 40923b0c81cc2c151388ec5ead59f4bed89ac432)

 usr.sbin/bsdinstall/scripts/Makefile               |   8 +-
 usr.sbin/bsdinstall/scripts/auto                   |  96 +--------------
 usr.sbin/bsdinstall/scripts/bootconfig             |   6 +-
 .../bsdinstall/scripts/fetchmissingdists (new)     | 132 +++++++++++++++++++++
 usr.sbin/bsdinstall/scripts/script                 |   8 ++
 5 files changed, 154 insertions(+), 96 deletions(-)

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