From f1aeefbef76fe03243cd6de69c3f334f2ee2abe7 Mon Sep 17 00:00:00 2001 From: Enrico Joerns Date: Tue, 10 Oct 2023 20:44:37 +0200 Subject: [PATCH] docs: replace remaining refs to autotools options by meson equivalent Signed-off-by: Enrico Joerns --- docs/advanced.rst | 9 ++++----- docs/basic.rst | 3 +-- docs/faq.rst | 4 ++-- docs/integration.rst | 4 ++-- docs/reference.rst | 2 +- docs/using.rst | 2 +- 6 files changed, 11 insertions(+), 13 deletions(-) diff --git a/docs/advanced.rst b/docs/advanced.rst index 8cfd5def7..269978017 100644 --- a/docs/advanced.rst +++ b/docs/advanced.rst @@ -415,8 +415,7 @@ well as with the DBus API. To use streaming, some prerequisites need to be fulfilled: -* make sure RAUC is built with ``-Dstreaming=true``/``--enable-streaming`` - (which is the default) +* make sure RAUC is built with ``-Dstreaming=true`` (which is the default) * create bundles using the :ref:`verity format ` * host the bundle on a server which supports HTTP Range Requests * enable NBD (network block device) support in the kernel @@ -930,8 +929,8 @@ updates are: The possible solutions to this are: a) migrate to the ``verity`` bundle format if possible, or - b) disable streaming support by calling ``./configure`` with - ``--disable-streaming``. + b) disable streaming support by calling ``meson setup`` with + ``-Dstreaming=false``. Creating casync Bundles ~~~~~~~~~~~~~~~~~~~~~~~ @@ -1299,7 +1298,7 @@ switch the first GPT partition entry between the first and second halves of a region configured for that purpose. This works similarly to the handling of a MBR bootloader partition entry as described in the previous section. -It requires RAUC to be compiled with GPT support (``./configure --enable-gpt``) +It requires RAUC to be compiled with GPT support (``meson setup -Dgpt=enabled build``) and adds a dependency on libfdisk. The required slot type is ``boot-gpt-switch``. diff --git a/docs/basic.rst b/docs/basic.rst index 6363fd603..f5d513b65 100644 --- a/docs/basic.rst +++ b/docs/basic.rst @@ -58,8 +58,7 @@ file. Using streaming has a few requirements: -* make sure RAUC is built with ``-Dstreaming=true``/``--enable-streaming`` - (which is the default) +* make sure RAUC is built with ``-Dstreaming=true`` (which is the default) * create bundles using the :ref:`verity format ` * host the bundle on a server which supports HTTP Range Requests * enable NBD support in the target kernel diff --git a/docs/faq.rst b/docs/faq.rst index 2c2e5aacc..de09e9e3a 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -19,10 +19,10 @@ the target partition, allowing use of the full size. Is it possible to use RAUC without D-Bus (Client/Server mode)? -------------------------------------------------------------- -Yes. If you compile RAUC using the ``--disable-service`` configure option, you +Yes. If you compile RAUC using the ``-Dservice=false`` configure option, you will be able to compile RAUC without service mode and without D-Bus support:: - ./configure --disable-service + meson setup -Dservice=false build Then every call of the command line tool will be executed directly rather than being forwarded to the RAUC service process running on your machine. diff --git a/docs/integration.rst b/docs/integration.rst index 0a69e5bf3..467f70203 100644 --- a/docs/integration.rst +++ b/docs/integration.rst @@ -242,10 +242,10 @@ target side is GLib (minimum version 2.45.8) as utility library and OpenSSL In order to let RAUC detect mounts correctly, GLib must be compiled with libmount support (``--enable-libmount``) and at least be 2.49.5. -For network support (enabled with ``--enable-network``), additionally `libcurl` +For network support (enabled with ``--Dnetwork=true``), additionally `libcurl` is required. This is only useful for the target service. -For JSON-style support (enabled with ``--enable-json``), additionally +For JSON-style support (enabled with ``-Djson=enabled``), additionally `libjson-glib` is required. Kernel Configuration diff --git a/docs/reference.rst b/docs/reference.rst index 29feb2f8f..854f82ff6 100644 --- a/docs/reference.rst +++ b/docs/reference.rst @@ -284,7 +284,7 @@ For more information about using the streaming support of RAUC, refer to streaming helper process. By default, the `nobody` user is used. At compile time, the default can be defined using the - ``--with-streaming-user=USERNAME`` configure option. + ``-Dstreaming_user=USERNAME`` meson setup option. ``tls-cert`` This option can be used to set the path or PKCS#11 URL for the TLS/HTTPS diff --git a/docs/using.rst b/docs/using.rst index edf32edad..df9f027cc 100644 --- a/docs/using.rst +++ b/docs/using.rst @@ -643,7 +643,7 @@ This section will lead you through the most common options you have for debugging what actually went wrong. In each case it is quite essential to know that RAUC, if not compiled with -``--disable-service`` runs as a service on your target that is either +``-Dservice=false`` runs as a service on your target that is either controlled by your custom application or by the RAUC command line interface. The frontend will always only show the 'high level' error output, e.g. when an