Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f03628f8 authored by Steve Kondik's avatar Steve Kondik
Browse files

sr: Adjust for changes in sideload code

Change-Id: Iad3b2f7feb45fe497dfe75670ce2779f64a50e60
parent 758fd991
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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 {