Skip to content

Commit

Permalink
sr: Adjust for changes in sideload code
Browse files Browse the repository at this point in the history
Change-Id: Iad3b2f7feb45fe497dfe75670ce2779f64a50e60
  • Loading branch information
Steve Kondik committed Sep 4, 2016
1 parent 758fd99 commit f03628f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions fuse_sideload.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#define FUSE_SIDELOAD_HOST_MOUNTPOINT "/sideload"
#define FUSE_SIDELOAD_HOST_FILENAME "package.zip"
#define FUSE_SIDELOAD_HOST_PATHNAME (FUSE_SIDELOAD_HOST_MOUNTPOINT "/" FUSE_SIDELOAD_HOST_FILENAME)
#define FUSE_SIDELOAD_HOST_EXIT_FLAG "exit"
#define FUSE_SIDELOAD_HOST_EXIT_PATHNAME (FUSE_SIDELOAD_HOST_MOUNTPOINT "/" FUSE_SIDELOAD_HOST_EXIT_FLAG)

struct provider_vtab {
// read a block
Expand Down
2 changes: 1 addition & 1 deletion install.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ really_install_package(const char *path, bool* wipe_cache, bool needs_mount,
// setjmp/longjmp.
signal(SIGBUS, sig_bus);
if (setjmp(jb) == 0) {
err = verify_file(map.addr, map.length, loadedKeys, numKeys);
err = verify_file(map.addr, map.length, loadedKeys);
std::chrono::duration<double> duration = std::chrono::system_clock::now() - t0;
ui->Print("Update package verification took %.1f s (result %d).\n", duration.count(), err);
} else {
Expand Down

0 comments on commit f03628f

Please sign in to comment.