forked from LineageOS/android_build
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add option to generate two-step recovery files
When run with the -2 option, ota_from_target_files will generate a package (full or incremental) that does some extra reboots in order to install the new recovery first, so that the rest of the installation is done with the new recovery. This can be useful if (say) the package installation needs some features from the newer kernel. For incremental packages, the verification phase is still done with the old recovery. This is only supported on devices where the misc partition is EMMC (not MTD). Two-step packages are slower to install and possibly confusing to users (they will see their device reboot four times instead of twice), so only use this option if necessary. cherry-picked from commit 9b23f2c Conflicts: core/Makefile tools/releasetools/ota_from_target_files Change-Id: I4d7b7f3fe45483d9b76bef8ee973eb4e2db4dcdd
- Loading branch information
Doug Zongker
authored and
Brint E. Kriebel
committed
Jun 17, 2014
1 parent
17ddde0
commit 734e973
Showing
2 changed files
with
146 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters