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)
Tue, Oct 14, 2:50 PM
Unknown Object (File)
Sep 14 2025, 6:24 AM
Unknown Object (File)
Sep 8 2025, 6:42 PM
Unknown Object (File)
Aug 31 2025, 12:32 AM
Unknown Object (File)
Aug 28 2025, 7:22 PM
Unknown Object (File)
Aug 28 2025, 6:09 AM
Unknown Object (File)
Aug 27 2025, 10:19 PM
Unknown Object (File)
Aug 26 2025, 8:20 AM

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.