devmode-test: switch from mount_helper to chromite.lib.image_lib
The local mount_helper API is built on the mount_gpt_image.sh script
which can be a bit crufty/opaque when flakes/failures are hit. Switch
to the pure Python chromite.lib.image_lib API which has better logging
and error triaging. It also has better recovery when kernels flake.
This also has a nicer property of only having to mount the single
partition that we care about (stateful) rather than extraneous ones
we don't care about (rootfs).
TEST=`devinstall_test.py --verbose betty chromiumos_test_image.bin` still passes
Reviewed-by: Achuith Bhandarkar <email@example.com>
Tested-by: Mike Frysinger <firstname.lastname@example.org>
Commit-Queue: Mike Frysinger <email@example.com>
1 file changed