Page MenuHomeFreeBSD

pkgbase: examine METALOG files relative to stage root directory
ClosedPublic

Authored by emaste on Nov 16 2022, 7:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 12:43 AM
Unknown Object (File)
Fri, Oct 10, 12:43 AM
Unknown Object (File)
Fri, Oct 10, 12:43 AM
Unknown Object (File)
Fri, Oct 10, 12:43 AM
Unknown Object (File)
Thu, Oct 9, 8:35 PM
Unknown Object (File)
Wed, Sep 24, 4:00 PM
Unknown Object (File)
Sat, Sep 20, 10:47 PM
Unknown Object (File)
Sep 12 2025, 10:22 AM
Subscribers

Details

Summary
Previously we stripped the '.' from the beginning of each METALOG entry
to determine the path to stat.  This meant that we examined files on the
build host, not the staged files.

Instead, strip off the last part of the specified METALOG pathname to
find the stage root directory, and stat files relative to that.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable