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)
Sun, Jun 8, 2:43 AM
Unknown Object (File)
Tue, May 20, 11:50 PM
Unknown Object (File)
Mon, May 19, 7:51 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.