Page MenuHomeFreeBSD

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

Authored by brooks on Dec 11 2024, 8:49 PM.
Tags
None
Referenced Files
F107493207: D48038.diff
Tue, Jan 14, 11:40 PM
Unknown Object (File)
Mon, Jan 6, 4:49 AM
Unknown Object (File)
Mon, Jan 6, 12:21 AM
Unknown Object (File)
Sun, Jan 5, 11:11 PM
Unknown Object (File)
Sun, Jan 5, 2:14 PM
Unknown Object (File)
Tue, Dec 17, 4:17 PM
Unknown Object (File)
Tue, Dec 17, 3:21 AM
Unknown Object (File)
Dec 15 2024, 2:03 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 Passed
Unit
No Test Coverage
Build Status
Buildable 61094
Build 57978: arc lint + arc unit

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