Page MenuHomeFreeBSD

installworld: improve portability of ldd use
ClosedPublic

Authored by brooks on Jun 28 2022, 12:40 AM.
Tags
None
Referenced Files
F166274944: D35618.id.diff
Wed, Aug 12, 4:01 PM
Unknown Object (File)
Mon, Aug 10, 5:26 AM
Unknown Object (File)
Sun, Aug 9, 3:08 PM
Unknown Object (File)
Sat, Aug 8, 1:42 AM
Unknown Object (File)
Fri, Aug 7, 6:57 AM
Unknown Object (File)
Wed, Aug 5, 12:59 PM
Unknown Object (File)
Wed, Aug 5, 3:03 AM
Unknown Object (File)
Tue, Aug 4, 2:33 AM
Subscribers

Details

Summary

b3b462229f97 added a case statement to ignore lines containing strings
in square brackets such as "[vdso]" and "[preloaded]". On MacOS
Monterey where /bin/sh may be zsh, this fails with:

/bin/sh: -c: line 0: syntax error near unexpected token `;;'

Invoke grep in the pipeline to remove such lines instead.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable