Page MenuHomeFreeBSD

bsdinstall avoid subdir depending on parent
ClosedPublic

Authored by sjg on Apr 21 2023, 3:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 14, 1:03 AM
Unknown Object (File)
Sun, Sep 21, 5:30 PM
Unknown Object (File)
Sat, Sep 20, 5:59 PM
Unknown Object (File)
Sat, Sep 20, 4:10 PM
Unknown Object (File)
Sat, Sep 20, 1:13 PM
Unknown Object (File)
Sat, Sep 20, 10:13 AM
Unknown Object (File)
Sep 7 2025, 2:44 PM
Unknown Object (File)
Aug 9 2025, 8:36 AM
Subscribers
None

Details

Summary

When not doing tree walks, it is bad for sub-dirs to depend on
parents. Move the generation of opt_osname.h to distextract
and have others that need that depend on it.

In usr.sbin/bsdinstall use SUBDIR_DEPEND_ so tree walking still works.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 51087
Build 47978: arc lint + arc unit

Event Timeline

sjg requested review of this revision.Apr 21 2023, 3:57 AM
sjg created this revision.
obrien added a subscriber: obrien.
obrien removed a subscriber: obrien.

Looks good.

This revision is now accepted and ready to land.Apr 21 2023, 4:03 AM
This revision was automatically updated to reflect the committed changes.