Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bsdinstall: Add pkg install support in live env #1424

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

leafoliage
Copy link

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.

This patch is part of the code of the GSoC 2024 Project - Installer, whose work is committed in PR #1395 . This patch is created for the ease of getting this project's work commited.

Currently, pkg has to be manually bootstrapped before it can install pkgs in the live env.
It would be great if tools can be easily installed and used in live env.

This patch adds an option to automate pkg bootstrap process in the
installer menu. It asks for manual network configuration and bootstraps pkg.

Signed-off-by: Chun-Cheng Yeh <leafoliages@gmail.com>
Sponsored by:	Google LLC (GSoC 2024)
@grahamperrin
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants