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, Sep 18, 6:16 AM
Unknown Object (File)
Mon, Sep 15, 10:10 PM
Unknown Object (File)
Mon, Sep 15, 7:40 PM
Unknown Object (File)
Sun, Sep 14, 9:18 AM
Unknown Object (File)
Sep 4 2025, 9:21 AM
Unknown Object (File)
Sep 4 2025, 3:25 AM
Unknown Object (File)
Sep 3 2025, 1:03 PM
Unknown Object (File)
Sep 1 2025, 8:19 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.