Unlock remote host goldfish by modifying VerifiedBootParams.textproto
A goldfish device must be unlocked when its system or system_dlkm is
replaced. The old solution was to add a parameter to the kernel
command line. It does not pass VtsBootconfigTest. This commit moves
the parameter to VerifiedBootParams.textproto.
Test: acloud-dev create -vv --avd-type goldfish \
--emulator-zip ~/sdk-repo-linux-emulator.zip \
--local-image $ANDROID_PRODUCT_OUT/emu-extra-linux-system-images.zip \
--local-system-image $ANDROID_BUILD_TOP/out/target/product/generic_x86_64/system.img \
--host 192.168.9.2 --host-user vsoc-01 \
--host-ssh-private-key-path ~/id_rsa
Bug: 307432651
Change-Id: I0fc0a58916dcb320d8ace14f6eed8eaacbd75fe2
3 files changed