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)
Tue, Aug 11, 3:29 PM
Unknown Object (File)
Thu, Jul 30, 6:00 PM
Unknown Object (File)
Tue, Jul 28, 4:51 PM
Unknown Object (File)
Mon, Jul 27, 2:24 PM
Unknown Object (File)
Sun, Jul 26, 5:32 PM
Unknown Object (File)
Fri, Jul 24, 1:35 PM
Unknown Object (File)
Sat, Jul 18, 10:57 AM
Unknown Object (File)
Sat, Jul 18, 6:54 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