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)
Thu, May 7, 2:11 PM
Unknown Object (File)
Wed, May 6, 9:32 AM
Unknown Object (File)
Wed, May 6, 3:49 AM
Unknown Object (File)
Sun, May 3, 4:33 PM
Unknown Object (File)
Apr 27 2026, 7:38 PM
Unknown Object (File)
Apr 19 2026, 6:41 PM
Unknown Object (File)
Apr 9 2026, 8:33 PM
Unknown Object (File)
Mar 8 2026, 11:29 PM

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