summaryrefslogtreecommitdiff
path: root/onlineupdate/README
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-07-31 20:53:57 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-07-31 23:56:19 +0200
commit6de75d132fe44a6f3e6160fec0c2e5e32ed023d3 (patch)
treefb7239e88f8a9cd67f5710f39b44c39af57f91ed /onlineupdate/README
parent2539702ff5e7bf6bc5dbdb3f8301196487b9266b (diff)
updater: get the signature verification working on Windows
The updater itself does not link to NSS on Windows and instead uses the Windows-internal crypto libraries. However the mar executable needs to link against NSS, so we need to split the code a bit. Change-Id: Iea61c716aa507a876fdb444eb28ad828bdea18bd Reviewed-on: https://gerrit.libreoffice.org/40608 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'onlineupdate/README')
-rw-r--r--onlineupdate/README2
1 files changed, 2 insertions, 0 deletions
diff --git a/onlineupdate/README b/onlineupdate/README
index c3a944fd75ea..485a718499b3 100644
--- a/onlineupdate/README
+++ b/onlineupdate/README
@@ -11,6 +11,8 @@ The source/service directory contains the code for the silent windows updater th
== NOTE ==
The updater executable should not depend on any other dynamic library in the LibreOffice installation as we would need to copy that one also to a temporary directory during update. We can't update any library or executable that is currently in use. For the updater executable we solve this problem by copying the updater before using it to a temporary directory.
+On Windows we use the system to provide us with a crypto library whereas on Linux we use NSS.
+
== Update procedure ==
The updater executable is run two times. In a first run, the current installation is copied to a "update" directory and the update is applied in this "update" directory. During the next run, a replacement request is executed. The replacement request removes the old installation directory and replaces it with the content of the "update" directory.