aboutsummaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-04-10 16:14:52 -0700
committerTao Bao <tbao@google.com>2015-04-10 16:18:32 -0700
commitb07e1f3a3a5dbe3b2e733681080b6c692164a632 (patch)
tree582095b554cc8fa36e73a91c4b4e57fe2d38b2ef /install.cpp
parent51697d2781501c30d8db6d2a8e6c2becebcffad8 (diff)
downloadbootable_recovery-b07e1f3a3a5dbe3b2e733681080b6c692164a632.zip
bootable_recovery-b07e1f3a3a5dbe3b2e733681080b6c692164a632.tar.gz
bootable_recovery-b07e1f3a3a5dbe3b2e733681080b6c692164a632.tar.bz2
Update the comments for package installer commands
These commands are for the communication between the installer and the update binary (edify interpreter). Update the comments in sync with the codes. Change-Id: I7390f022b1447049a974b0b45697ef1d2e71d4e0
Diffstat (limited to 'install.cpp')
-rw-r--r--install.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/install.cpp b/install.cpp
index 662f81c..c7d382f 100644
--- a/install.cpp
+++ b/install.cpp
@@ -88,7 +88,7 @@ try_update_binary(const char* path, ZipArchive* zip, bool* wipe_cache) {
// fill up the next <frac> part of of the progress bar
// over <secs> seconds. If <secs> is zero, use
// set_progress commands to manually control the
- // progress of this segment of the bar
+ // progress of this segment of the bar.
//
// set_progress <frac>
// <frac> should be between 0.0 and 1.0; sets the
@@ -107,6 +107,18 @@ try_update_binary(const char* path, ZipArchive* zip, bool* wipe_cache) {
// ui_print <string>
// display <string> on the screen.
//
+ // wipe_cache
+ // a wipe of cache will be performed following a successful
+ // installation.
+ //
+ // clear_display
+ // turn off the text display.
+ //
+ // enable_reboot
+ // packages can explicitly request that they want the user
+ // to be able to reboot during installation (useful for
+ // debugging packages that don't exit).
+ //
// - the name of the package zip file.
//