Page MenuHomeFreeBSD

release: use pkg install -f
ClosedPublic

Authored by ifreund_freebsdfoundation.org on May 14 2025, 10:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 11, 10:11 AM
Unknown Object (File)
Wed, Dec 10, 8:03 AM
Unknown Object (File)
Thu, Nov 27, 3:03 AM
Unknown Object (File)
Tue, Nov 18, 4:19 AM
Unknown Object (File)
Nov 10 2025, 5:19 AM
Unknown Object (File)
Nov 9 2025, 7:29 AM
Unknown Object (File)
Nov 8 2025, 10:38 PM
Unknown Object (File)
Oct 29 2025, 8:31 AM

Details

Reviewers
emaste
Group Reviewers
releng
Commits
rG1203e7b1f05b: release: Use pkg install -f
Summary

Without -f, pkg will not write to the METALOG file if the packages
are already installed from a previous build, causing the packages to
not be included in the final install media.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 64159
Build 61043: arc lint + arc unit

Event Timeline

The release artifact targets have some problems with re-running, and we should really either be able to reuse the previously staged package install, or forcibly start with a clean target location. That said, the official builds are always done in a fresh/clean directory and won't encounter issues of this sort, and there won't be any potential downside from this change there. So I'm happy with this to aid with iteration in developing the release targets.

This revision is now accepted and ready to land.May 14 2025, 12:21 PM
This revision was automatically updated to reflect the committed changes.