Page MenuHomeFreeBSD

etcupdate: Prefer POSIX -depth to BSD -d
ClosedPublic

Authored by jrtc27 on Jul 19 2022, 6:18 PM.
Tags
None
Referenced Files
F167496290: D35856.id108341.diff
Sat, Aug 22, 7:09 AM
Unknown Object (File)
Wed, Aug 19, 6:18 PM
Unknown Object (File)
Tue, Aug 18, 12:06 PM
Unknown Object (File)
Thu, Aug 13, 2:56 PM
Unknown Object (File)
Thu, Aug 13, 2:56 PM
Unknown Object (File)
Wed, Aug 12, 10:45 PM
Unknown Object (File)
Mon, Aug 10, 9:11 PM
Unknown Object (File)
Mon, Aug 10, 8:06 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable