Page MenuHomeFreeBSD

Avoid using non-portable dd status=none flag
ClosedPublic

Authored by arichardson on May 9 2020, 5:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 19 2024, 2:31 AM
Unknown Object (File)
Oct 1 2024, 10:33 AM
Unknown Object (File)
Sep 21 2024, 6:19 AM
Unknown Object (File)
Sep 20 2024, 6:30 PM
Unknown Object (File)
Sep 20 2024, 6:30 PM
Unknown Object (File)
Sep 20 2024, 6:29 PM
Unknown Object (File)
Sep 20 2024, 6:18 PM
Unknown Object (File)
Sep 17 2024, 10:00 AM
Subscribers
None

Details

Summary

Copying the approach chosen in r309412. This fixes building the libc tests
on a macOS host since the macOS /bin/dd binary does not support status=none.

As there only seem to be two uses, this commit changes the two Makefiles.
If this becomes more common, we could also add a wrapper bootstrap script
that ignores status= and forwards the remaining args to the real dd.
Another alternative would be to remove the status flag and pipe stderr to
/dev/null, but them we lose error messages.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

arichardson created this revision.
This revision is now accepted and ready to land.May 12 2020, 5:58 PM
This revision was automatically updated to reflect the committed changes.