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)
Wed, Nov 12, 3:42 AM
Unknown Object (File)
Wed, Nov 5, 6:23 PM
Unknown Object (File)
Wed, Oct 29, 11:12 AM
Unknown Object (File)
Wed, Oct 29, 9:44 AM
Unknown Object (File)
Oct 14 2025, 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

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.