[Bug 288436] bsdinstall bootstraps pkg to install firmware but pkg is already available
Date: Fri, 25 Jul 2025 15:59:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288436
Bug ID: 288436
Summary: bsdinstall bootstraps pkg to install firmware but pkg
is already available
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: emaste@freebsd.org
scripts/firmware installs firmware via `ASSUME_ALWAYS_YES=YES chroot
$BSDINSTALL_CHROOT pkg install -qy ${fw}`, which ends up bootstrapping pkg
because it does not yet exist within the chroot.
As part of installer pkgbase work we have a /usr/sbin/pkg available, used for
installing the base system packages. It could be used for installing firmware
packages as well.
The benefit of making this change is that it can help avoid a failure case
where Wi-Fi firmware does not get installed due to a transient network failure,
and then there's no way to recover.
--
You are receiving this mail because:
You are the assignee for the bug.