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

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 28 May 2021 14:02:05 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255659

--- Comment #5 from commit-hook_at_FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=40923b0c81cc2c151388ec5ead59f4bed89ac432

commit 40923b0c81cc2c151388ec5ead59f4bed89ac432
Author:     Nathan Whitehorn <nwhitehorn_at_FreeBSD.org>
AuthorDate: 2021-05-28 13:53:42 +0000
Commit:     Nathan Whitehorn <nwhitehorn_at_FreeBSD.org>
CommitDate: 2021-05-28 14:01:27 +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

 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.
Received on Fri May 28 2021 - 14:02:05 UTC

Original text of this message