Merge pull request #575 from drieschel/factory_update_params

Fix NAND auto installs on WeTek devices
This commit is contained in:
Christian Hewitt 2016-07-28 13:18:31 +04:00 committed by GitHub
commit 9cd9b9e8f9

View File

@ -425,8 +425,6 @@ fi
echo "Creating Amlogic ZIP auto-install package"
pushd sign > /dev/null
echo --update_package=/sdcard/$IMAGE_NAME-update.zip > factory_update_param.aml
echo --wipe_data >> factory_update_param.aml
echo --wipe_cache >> factory_update_param.aml
cp $INSTALL_SRC_DIR/files/recovery.img .
if [ -f $INSTALL_SRC_DIR/files/aml_autoscript ]; then
cp $INSTALL_SRC_DIR/files/aml_autoscript .