(factory-241) Sync factory builder scripts with ToT
We've seen Alex factory bundle corrupted several times, and usually
caused tools modified SSD rootfs partition unexpectedly.
ToT make_factory_package has more safe and solid image type detection
ability so we should port that to R11 factory.
BUG=chrome-os-partner:6299
TEST=./make_factory_package --release PATH_TO_RECOVERY \
--factory PATH_TO_FACTORY_TEST \
--firmware PATH_TO_FIRMWARE \
--hwid none
Change-Id: I9a2aa34b32e22ea21dd8e814b1e7ef53d80bcd04
Reviewed-on: https://gerrit.chromium.org/gerrit/10482
Reviewed-by: Jay Kim <yongjaek@chromium.org>
Tested-by: Hung-Te Lin <hungte@chromium.org>
4 files changed