Skip to content

Commit

Permalink
docs: Update information regarding "out of the box" Update Modules
Browse files Browse the repository at this point in the history
The modules are installed by default. It has not been checked since when
this documentation is out of date, but all currently supported client
versions behave this way.

Missing from commit 1cae3d9

Ticket: MEN-7672

Signed-off-by: Lluis Campos <[email protected]>
  • Loading branch information
lluiscampos committed Nov 27, 2024
1 parent 65886be commit 6a17b8f
Showing 1 changed file with 10 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,35 +157,30 @@ in your `local.conf` file.

## Update Modules

Mender comes with some standard Update Modules available for install, and it's also possible to
install your own custom Update Modules with Yocto.
Mender comes with some standard Update Modules ready to be used, and it's also possible to install
your own custom Update Modules with Yocto.


### Standard Update Modules

Mender comes with some Update Modules available out of the box. These are:

* deb
The standard Update Module are
* rootfs-image
* directory
* docker
* rpm
* script
* single-file

These Update Modules are available for install, but they are not enabled by default unless you are
building with the demo layer. To enable the standard Update Modules, you need to add the `modules`
entry to the `PACKAGECONFIG` of the `mender` recipe. This can be done either by adding your
own `.bbappend` recipe file, or by adding it to `local.conf`. To add it to a recipe file, create
`mender_%.bbappend` and add this:
These Update Modules are installed by default. To remove the standard Update Modules, you need to
remove the `modules` entry to the `PACKAGECONFIG` of the `mender` recipe. This can be done either by
adding your own `.bbappend` recipe file, or by adding it to `local.conf`. To add it to a recipe
file, create `mender_%.bbappend` and add this:

```bash
PACKAGECONFIG:append = " modules"
PACKAGECONFIG:remove = " modules"
```

Alternatively, add this to `local.conf`:

```bash
PACKAGECONFIG:append:pn-mender = " modules"
PACKAGECONFIG:remove:pn-mender = " modules"
```

### Custom Update Modules
Expand Down

0 comments on commit 6a17b8f

Please sign in to comment.