Page MenuHomeFreeBSD

distributeworld: dedup dist(.debug).meta generation
ClosedPublic

Authored by brooks on Dec 11 2024, 8:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 19, 2:50 PM
Unknown Object (File)
Thu, Nov 27, 10:01 PM
Unknown Object (File)
Wed, Nov 26, 11:07 PM
Unknown Object (File)
Sun, Nov 23, 6:40 AM
Unknown Object (File)
Nov 7 2025, 1:05 AM
Unknown Object (File)
Oct 31 2025, 4:33 PM
Unknown Object (File)
Sep 19 2025, 7:28 PM
Unknown Object (File)
Sep 19 2025, 7:16 AM

Details

Summary

Debug file distribution metadata generation was added in 2d0bcb76c8530
as a near duplicate of the default distribution bits. Add another loop
instead of copying the code. While here, improve indentation.

Sponsored by: DARPA, AFRL

Diff Detail

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

Event Timeline

At first I wondered if this change would result in the .debug files being included both foo.meta and foo.debug.meta, but then I see that this is already the case before this change.

$ grep true.debug base*meta
base.debug.meta:./usr/lib/debug/usr/bin/true.debug type=file uname=root gname=wheel mode=0444 size=6408 tags=package=utilities,dbg
base.meta:./usr/lib/debug/usr/bin/true.debug type=file uname=root gname=wheel mode=0444 size=6408 tags=package=utilities,dbg

but we exclude the debug files in packageworld via --exclude usr/lib/debug

This revision is now accepted and ready to land.Dec 12 2024, 1:31 AM