commit | b72b3a205a63312dc9b459b167216fe66388a62e | [log] [tgz] |
---|---|---|
author | James Sullivan <jfsulliv@fuchsia.infra.roller.google.com> | Wed May 15 17:07:55 2024 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Wed May 15 10:09:42 2024 -0700 |
tree | dc74c21a26bd8a8e61f724cf9349b9365da58bb8 | |
parent | 57bf0ef11f3e3e526b2f4ffc85a381a15c16e884 [diff] |
[roll] Roll fuchsia [starnix] Support limited Android factory reset When Android reboots into recovery with the intention to initiate an FDR, Starnix will capture this and instead call fuchsia.factory.FactoryReset/Reset, which wipes user data. A few new pieces of machinery were necessary to support this: - A remote block device, currently backed by a VMO, is exposed to the Linux namespace at /dev/block/remoteblk-{name}. This is configured via structured configuration. - If a `misc` remote block device is provided, it is assumed that Android will write a bootloader message into this to provide the --wipe_data command (which initiates FDR) to the bootloader. For now, Starnix will capture the bootloader message and read it as needed during reboot. This is gated by the android_fdr feature. Original-Bug: 306749272 Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1042043 Original-Revision: a8ba5eaa2494326aab3b8fd0ca94a9f04071417b GitOrigin-RevId: 77fe6452b72ed5d4db56eede498364f120fb9c53 Change-Id: I6466a209ec8dec553a5bfd2ef44877b6e70a7cde
This repository contains Fuchsia's Global Integration manifest files.
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.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.