[Bug 281518] [PATCH] bsdinstall: improve pkg installation support in installation media live environment

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 15 Sep 2024 14:28:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281518

            Bug ID: 281518
           Summary: [PATCH] bsdinstall: improve pkg installation support
                    in installation media live environment
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: leafoliages@gmail.com

Created attachment 253584
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=253584&action=edit
patch to usr.sbin/bsdinstall/startbsdinstall

This patch improves the support of pkg installation in the live environment.
Currently, pkg has to be manually bootstrapped before it can install pkgs in
the live env. Since the installation media is often used as a tool for
inspecting and rescuing systems, it would be great if users can easily install
tools in live env using pkg to their needs. 

This patch provides a bsddialog menu for pkg bootstrap after "Live System"
option is selected from the installer menu. If "Yes", it goes on asking for
network configurations, and bootstraps pkg under `/usr/local`.

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