[Bug 250928] [PATCH] bsdinstall: fix distfetch while calling bsdinstall as script target

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 7 16:04:17 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250928

            Bug ID: 250928
           Summary: [PATCH] bsdinstall: fix distfetch while calling
                    bsdinstall as script target
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: egypcio at FreeBSD.org

Created attachment 219428
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=219428&action=edit
[PATCH] bsdinstall: fix distfetch while calling bsdinstall as script target

while an unattended installation of FreeBSD, it came to our attention that a
missing task was preventing bsdinstall to fully install FreeBSD if one wants to
use the "script" target.

    script script    Runs the installation script at script.    See SCRIPTING
                     for more information on this target.

    --- Source: https://www.freebsd.org/cgi/man.cgi?query=bsdinstall

for quite a time ago, I used to always made distfiles available under a DISTDIR
in order to avoid getting into any ftp mirror (as I built my own base and
kernel and hosted them in a private repository).

this patch fixes are based on the following use case:

  " as someone wanting to install FreeBSD in an unattended way, I would like to
be able to perform unattended installation of FreeBSD using the script target
even if there's no distfile available under BSDINSTALL_DISTDIR beforehand "

Differential Review: https://reviews.freebsd.org/D27121

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


More information about the freebsd-bugs mailing list