Merge pull request #574 from drieschel/factory_update_params

Parameters removed, which are responsible for a factory reset/wiping …
This commit is contained in:
Christian Hewitt 2016-07-28 11:07:37 +04:00 committed by GitHub
commit 437e9928b7

View File

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