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)
Tue, Sep 8, 5:33 PM
Unknown Object (File)
Wed, Sep 2, 1:26 AM
Unknown Object (File)
Fri, Aug 28, 2:36 PM
Unknown Object (File)
Fri, Aug 28, 2:24 PM
Unknown Object (File)
Thu, Aug 27, 6:56 AM
Unknown Object (File)
Wed, Aug 26, 11:00 AM
Unknown Object (File)
Tue, Aug 25, 1:36 AM
Unknown Object (File)
Mon, Aug 24, 4:06 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.