summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGatis Paeglis <gatis.paeglis@qt.io>2016-11-29 15:27:34 +0100
committerGatis Paeglis <gatis.paeglis@qt.io>2016-11-29 14:35:02 +0000
commit688f65c9e16fdc3c1cb4e060a83329df4bb01151 (patch)
treebd6d15cfe06ba83b522703d7fe4e99a18872396d
parent84c5d683e8764c624128908a18c89542817ce42d (diff)
doc: link to corresponding client side APIs
.. and other minor rewording. Change-Id: I90368f79270bfbf6b2cf5edca6816c3e19ddcaea Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
-rw-r--r--doc/ota.qdoc24
1 files changed, 14 insertions, 10 deletions
diff --git a/doc/ota.qdoc b/doc/ota.qdoc
index d4d31f9..b419443 100644
--- a/doc/ota.qdoc
+++ b/doc/ota.qdoc
@@ -72,8 +72,9 @@
\li Snapshot-based - traditional package managers (dpkg/rpm) build filesystem
trees on the client side. In contrast, the primary focus of OSTree is on
\e {replicating trees} composed on a server.
- \li Bandwidth Optimized - only files that have changed are downloaded. When resuming
- from an interrupted download, only the missing files are fetched.
+ \li Bandwidth Optimized - only the new files and the files that have changed are
+ downloaded. When resuming from an interrupted download, only the missing files
+ are fetched.
\li Configuration Management - see the \c {/etc} in \l {Layout of an OTA
Enabled Sysroot}.
\li Rollback Support - atomically rollback to the previous version (tree) if
@@ -317,11 +318,11 @@
\li \b {\c --ota-json}
\list
- \li A JSON file containing the system's metadata. The
- following top-level fields have convenience methods in
- the Qt/QML OTA API: \c version and \c description. This
- API provides the means of manually fetching and parsing
- the file which therefore can contain arbitrary metadata.
+ \li A JSON file containing arbitrary metadata about the system.
+ The following top-level fields have convenience methods in
+ the Qt/QML OTA API: \c version and \c description. Use
+ OtaClient::remoteInfo to fetch the entire JSON file for
+ manual parsing.
\endlist
\li \b {\c --initramfs}
@@ -480,7 +481,8 @@
properly and the servers in question are secure to known vulnerabilies and
exploits) OTA is considered secure against realistic attacks.
- \b {GPG Signing}
+ \list
+ \li \b {GPG Signing}
GPG signing helps to ensure that the data was transmitted in-full, without
damage or file corruption and that the data was sent by a trusted party. A
@@ -493,15 +495,17 @@
sudo apt-get install gnupg2
\endcode
- \b {TLS Authentication}
+ \li \b {TLS Authentication}
TLS protects data from tampering and eavesdropping. System administrators use
this to restrict the access to the server (client authentication) and client
devices use this to verify the identitiy of an update server (server authentication).
Look for \c {--tls-*} command line arguments in the output of \c {./qt-ostree --help}.
+ \endlist
It is advised to use both GPG and TLS in hostile environments. To learn more about the
- security topics from the above list, consult dedicated resources.
+ security topics from the above list, consult dedicated resources. For the corresponding
+ client side API see OtaRepositoryConfig.
\section2 Offline Updates and Custom Delivery Mechanisms