Enable install without factory test image

Edit factory_install.sh so that the script will check lsb-factory for
RELEASE_ONLY flag. If the flag is set, the script will skip factory
image, and only install release image.

BUG=chrome-os-partner:20703
TEST=Finished a complete mini-omaha install process

Change-Id: If17484e01333445d9bb52c939036dd0bae1eeed3
Reviewed-on: https://gerrit.chromium.org/gerrit/61003
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Vic Yang <victoryang@chromium.org>
Commit-Queue: Chun-Yen Ho <chho@google.com>
Tested-by: Chun-Yen Ho <chho@google.com>
1 file changed