summaryrefslogtreecommitdiffstats
path: root/update_verifier/update_verifier_main.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-08-20 10:16:07 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-08-20 10:16:07 +0200
commite059be5c67633485618133f970eb8801e724e760 (patch)
treecda87f400eb19777ceeefe34aa4c4b89acc905e9 /update_verifier/update_verifier_main.cpp
parentrelease-request-5c36fbeb-1180-4a77-94d2-968e28da8f1f-for-git_pi-release-4280901 snap-temp-L36900000094197597 (diff)
parentMerge "Move Image/ImageChunk/PatchChunk declaration into header files" am: b4bc57ed39 am: b127fddf09 am: f5e3cadeca am: fc569d1516 (diff)
downloadandroid_bootable_recovery-e059be5c67633485618133f970eb8801e724e760.tar
android_bootable_recovery-e059be5c67633485618133f970eb8801e724e760.tar.gz
android_bootable_recovery-e059be5c67633485618133f970eb8801e724e760.tar.bz2
android_bootable_recovery-e059be5c67633485618133f970eb8801e724e760.tar.lz
android_bootable_recovery-e059be5c67633485618133f970eb8801e724e760.tar.xz
android_bootable_recovery-e059be5c67633485618133f970eb8801e724e760.tar.zst
android_bootable_recovery-e059be5c67633485618133f970eb8801e724e760.zip
Diffstat (limited to 'update_verifier/update_verifier_main.cpp')
-rw-r--r--update_verifier/update_verifier_main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/update_verifier/update_verifier_main.cpp b/update_verifier/update_verifier_main.cpp
index 46e8bbb59..9dd5a0cc4 100644
--- a/update_verifier/update_verifier_main.cpp
+++ b/update_verifier/update_verifier_main.cpp
@@ -16,8 +16,14 @@
// See the comments in update_verifier.cpp.
+#include <android-base/logging.h>
+
#include "update_verifier/update_verifier.h"
int main(int argc, char** argv) {
+ // Set up update_verifier logging to be written to kmsg; because we may not have Logd during
+ // boot time.
+ android::base::InitLogging(argv, &android::base::KernelLogger);
+
return update_verifier(argc, argv);
}