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, Sep 17, 9:44 AM
Unknown Object (File)
Mon, Sep 14, 12:56 PM
Unknown Object (File)
Mon, Sep 14, 2:47 AM
Unknown Object (File)
Sun, Sep 13, 1:43 PM
Unknown Object (File)
Thu, Sep 10, 9:44 PM
Unknown Object (File)
Wed, Sep 9, 1:02 AM
Unknown Object (File)
Sun, Sep 6, 9:22 AM
Unknown Object (File)
Sun, Sep 6, 2:07 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.