Page MenuHomeFreeBSD

release: fix pkg METALOG in Makefile
AbandonedPublic

Authored by ifreund_freebsdfoundation.org on May 14 2025, 7:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 28, 11:15 AM
Unknown Object (File)
Wed, May 27, 12:41 AM
Unknown Object (File)
Mon, May 25, 11:04 AM
Unknown Object (File)
Mon, May 11, 3:25 AM
Unknown Object (File)
May 3 2026, 4:55 AM
Unknown Object (File)
Apr 27 2026, 6:07 AM
Unknown Object (File)
Apr 10 2026, 12:23 PM
Unknown Object (File)
Jan 22 2026, 9:33 PM

Details

Reviewers
emaste
Group Reviewers
releng
Summary

From my testing, none of the PKG_INSTALL invocations in release/Makefile
actually work currently due to pkg writing to the wrong METALOG file.

Since PKG_ARGS refers to the METALOG in the working directory, we must
be careful to run pkg from the directory containing the correct METALOG.

Sponsored by: The FreeBSD Foundation

Diff Detail

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

Event Timeline

Uh I'm not sure how I messed up my testing but this patch is incorrect, everything works fine since pkg interprets the METALOG option relative to the rootdir option.

Sorry for the noise.

Aha! The thing I was seeing happened again and I think I understand it now, submitted D50344.