(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.
TEST=./make_factory_package --release PATH_TO_RECOVERY \
--factory PATH_TO_FACTORY_TEST \
--firmware PATH_TO_FIRMWARE \
Reviewed-by: Jay Kim <email@example.com>
Tested-by: Hung-Te Lin <firstname.lastname@example.org>
4 files changed