Merge "update_verifier now logs to kmesg"

am: f7ad94313d

Change-Id: I24438ea3f7975608358cf676606dc54b98e7092a
This commit is contained in:
Tianjie Xu 2017-08-17 19:19:32 +00:00 committed by android-build-merger
commit 473606847a

View file

@ -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);
}