summaryrefslogtreecommitdiffstats
path: root/otafault/config.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-09-29 20:19:46 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-09-29 20:19:46 +0200
commit22101a05fdb4b567d53ca2e4ca309fa3a21a2618 (patch)
tree0a2f8c3ba3877f362e7ef1b63828a2b967a83ded /otafault/config.h
parentMerge "Integer overflow observed while formatting volume" am: 846f307c6f am: 4a20e8b68f am: 5f9defe3f2 (diff)
parentMerge "otafault: Clean up header inclusion." am: d9373cf621 am: ffc171c56d (diff)
downloadandroid_bootable_recovery-22101a05fdb4b567d53ca2e4ca309fa3a21a2618.tar
android_bootable_recovery-22101a05fdb4b567d53ca2e4ca309fa3a21a2618.tar.gz
android_bootable_recovery-22101a05fdb4b567d53ca2e4ca309fa3a21a2618.tar.bz2
android_bootable_recovery-22101a05fdb4b567d53ca2e4ca309fa3a21a2618.tar.lz
android_bootable_recovery-22101a05fdb4b567d53ca2e4ca309fa3a21a2618.tar.xz
android_bootable_recovery-22101a05fdb4b567d53ca2e4ca309fa3a21a2618.tar.zst
android_bootable_recovery-22101a05fdb4b567d53ca2e4ca309fa3a21a2618.zip
Diffstat (limited to 'otafault/config.h')
-rw-r--r--otafault/config.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/otafault/config.h b/otafault/config.h
index 4adbdd121..cc4bfd2ad 100644
--- a/otafault/config.h
+++ b/otafault/config.h
@@ -15,13 +15,13 @@
*/
/*
- * Read configuration files in the OTA package to determine which files, if any, will trigger errors.
+ * Read configuration files in the OTA package to determine which files, if any, will trigger
+ * errors.
*
- * OTA packages can be modified to trigger errors by adding a top-level
- * directory called .libotafault, which may optionally contain up to three
- * files called READ, WRITE, and FSYNC. Each one of these optional files
- * contains the name of a single file on the device disk which will cause
- * an IO error on the first call of the appropriate I/O action to that file.
+ * OTA packages can be modified to trigger errors by adding a top-level directory called
+ * .libotafault, which may optionally contain up to three files called READ, WRITE, and FSYNC.
+ * Each one of these optional files contains the name of a single file on the device disk which
+ * will cause an IO error on the first call of the appropriate I/O action to that file.
*
* Example:
* ota.zip
@@ -29,9 +29,9 @@
* .libotafault
* WRITE
*
- * If the contents of the file WRITE were /system/build.prop, the first write
- * action to /system/build.prop would fail with EIO. Note that READ and
- * FSYNC files are absent, so these actions will not cause an error.
+ * If the contents of the file WRITE were /system/build.prop, the first write action to
+ * /system/build.prop would fail with EIO. Note that READ and FSYNC files are absent, so these
+ * actions will not cause an error.
*/
#ifndef _UPDATER_OTA_IO_CFG_H_
@@ -39,8 +39,6 @@
#include <string>
-#include <stdbool.h>
-
#include <ziparchive/zip_archive.h>
#define OTAIO_BASE_DIR ".libotafault"