Page MenuHomeFreeBSD

release: use pkg install -f
ClosedPublic

Authored by ifreund_freebsdfoundation.org on May 14 2025, 10:08 AM.
Tags
None
Referenced Files
F137908856: D50344.diff
Thu, Nov 27, 3:03 AM
Unknown Object (File)
Tue, Nov 18, 4:19 AM
Unknown Object (File)
Mon, Nov 10, 5:19 AM
Unknown Object (File)
Sun, Nov 9, 7:29 AM
Unknown Object (File)
Sat, Nov 8, 10:38 PM
Unknown Object (File)
Wed, Oct 29, 8:31 AM
Unknown Object (File)
Wed, Oct 29, 8:13 AM
Unknown Object (File)
Oct 27 2025, 3:29 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 Not Applicable
Unit
Tests Not Applicable

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.