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, Sep 19, 7:28 PM
Unknown Object (File)
Fri, Sep 19, 7:16 AM
Unknown Object (File)
Sep 5 2025, 3:31 AM
Unknown Object (File)
Aug 20 2025, 6:14 PM
Unknown Object (File)
Aug 11 2025, 8:28 AM
Unknown Object (File)
Aug 10 2025, 4:39 AM
Unknown Object (File)
Jul 29 2025, 10:36 PM
Unknown Object (File)
Jul 27 2025, 7:57 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