[roll] Roll fuchsia [kernel][x86][boot-shim] Synthesize ZBI_TYPE_SERIAL_NUMBER for test

The bootsvc-integration-tests ZBI test depends on getting a
ZBI_TYPE_SERIAL_NUMBER item from the boot loader at startup.  The
old QEMU boot shims were previously modified to always inject a
fixed fake value.

Instead, the new shims now check the incoming ZBI_TYPE_CMDLINE
payloads for a special option "bootloader.zbi.serial-number=xyz"
and use that to synthesize a ZBI_TYPE_SERIAL_NUMBER item with
payload of "xyz".

The bootsvc-integration-tests ZBI now includes that switch to
indicate it wants the fake data, rather than having the shims
unconditionally inject the test data into all boots.

Original-Bug: 68762
Test: fx run-zbi-test linux-x86-boot-shim-bootsvc-integration-tests
Test: fx run-zbi-test multiboot-shim-bootsvc-integration-tests
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/538762
Original-Revision: 303a43a84279bd8c0d9181844f64bab219fda313
GitOrigin-RevId: 0715a9c11f8d4f7a02082b84ac3a150da2f4ed1f
Change-Id: I0da69beefbf34c8a00bf0c06734d7418b1fe04fe
1 file changed
tree: 1b8cf0d3b429189968a8402cc26ea3cab6224ebc
  1. garnet/
  2. infra/
  3. peridot/
  4. third_party/
  5. topaz/
  6. zircon/
  7. firmware
  8. flower
  9. jiri.lock
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
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.