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)
Wed, May 1, 9:00 PM
Unknown Object (File)
Wed, May 1, 8:50 PM
Unknown Object (File)
Wed, May 1, 8:50 PM
Unknown Object (File)
Wed, May 1, 8:50 PM
Unknown Object (File)
Wed, May 1, 2:16 PM
Unknown Object (File)
Thu, Apr 25, 5:40 AM
Unknown Object (File)
Thu, Apr 25, 5:39 AM
Unknown Object (File)
Thu, Apr 25, 5:39 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