Home | History | Annotate | Download | only in recovery

Lines Matching defs:binary

39 #define ASSUMED_UPDATE_BINARY_NAME  "META-INF/com/google/android/update-binary"
48 // If the package contains an update binary, extract it and run it.
58 const char* binary = "/tmp/update_binary";
59 unlink(binary);
60 int fd = creat(binary, 0755);
63 LOGE("Can't make %s\n", binary);
78 // When executing the update binary contained in the package, the
113 args[0] = binary;
125 execv(binary, (char* const*)args);
126 fprintf(stdout, "E:Can't run %s (%s)\n", binary, strerror(errno));