[roll] Roll fuchsia [f2fs][virt] Replace non-portable 'read -n'

Only bash supports 'read -n'. To be portable, we replace:

  read -n 1 || echo -n "0"

with:

  wc -c | tr -d \n

The primary difference is the former solution returned the value of the
first non-0 byte, whereas the new solution returns the count of non-zero
bytes.

Original-Bug: 123888
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/825056
Original-Revision: 1b0e20f6a778d129cf19711b90720ada95d189f8
GitOrigin-RevId: f960ed5e0daadb9d76381db94b39a12064b12b8e
Change-Id: Ieb1102142457df4cb7c9acfab3dcb9c6848e14c8
1 file changed
tree: 2afdef115328369a511ba25690f0a8d12e76a575
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.