Page MenuHomeFreeBSD

etcupdate: Prefer POSIX -depth to BSD -d
ClosedPublic

Authored by jrtc27 on Jul 19 2022, 6:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 18, 1:32 AM
Unknown Object (File)
Mon, Nov 18, 1:20 AM
Unknown Object (File)
Oct 15 2024, 2:31 AM
Unknown Object (File)
Sep 27 2024, 5:12 AM
Unknown Object (File)
Sep 24 2024, 12:42 AM
Unknown Object (File)
Sep 23 2024, 8:55 AM
Unknown Object (File)
Sep 19 2024, 9:22 PM
Unknown Object (File)
Sep 18 2024, 12:50 AM
Subscribers

Details

Summary

This is in preparation for building an etcupdate tree on non-FreeBSD
when building release images. The -d option is documented as a
BSD-specific equivalent to the POSIX -depth primary. Whilst GNU find
sort of accepts it in an attempt to be compatible, it still doesn't
permit it coming before the paths, unlike BSD find, and prints a
deprecation warning either way. Thus, use the equivalent POSIX -depth to
ensure it works correctly and without warning everywhere.

Obtained from: CheriBSD

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46486
Build 43375: arc lint + arc unit