diff --git a/projects/WeTek_Play/install/files/aml_autoscript b/projects/WeTek_Play/install/files/aml_autoscript deleted file mode 100644 index 951dd192db..0000000000 Binary files a/projects/WeTek_Play/install/files/aml_autoscript and /dev/null differ diff --git a/scripts/image b/scripts/image index 28cffb476e..8aead342c9 100755 --- a/scripts/image +++ b/scripts/image @@ -399,6 +399,8 @@ if [ "$1" = "release" -o "$1" = "mkimage" -o "$1" = "amlpkg" -o "$1" = "noobs" ] 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 if [ -f "$INSTALL_SRC_DIR/files/recovery.img" ]; then cp $INSTALL_SRC_DIR/files/recovery.img . fi