factory_install: support installing from USB source media
This special installation mode is designed for RMA process.
BUG=chrome-os-partner:4108
TEST=1. Create a factory install shim, edit lsb-factory file to add:
FACTORY_INSTALL_FROM_USB=1
FACTORY_INSTALL_USB_OFFSET=2
2. Create an image with following layout:
[ factory_install | factory_test | release ]
3. Boot with the image. See installation from USB and firmware updated.
Change-Id: I3f6d082701d78fbb2b6162f7114ad82312c653c0
Reviewed-on: http://gerrit.chromium.org/gerrit/4003
Reviewed-by: Tammo Spalink <[email protected]>
Tested-by: Hung-Te Lin <[email protected]>
1 file changed