# Install Update Modules "Only" in Yocto

**URL:** https://hub.mender.io/t/install-update-modules-only-in-yocto/4709
**Category:** General Discussions
**Created:** [March 2, 2022, 5:02pm UTC](https://hub.mender.io/t/install-update-modules-only-in-yocto/4709 "2022-03-02T17:02:15Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mnorian](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mnorian/32/757_2.png) [@mnorian](https://hub.mender.io/u/mnorian)
#### Post date: [March 2, 2022, 5:02pm UTC](https://hub.mender.io/t/install-update-modules-only-in-yocto/4709/1 "2022-03-02T17:02:15Z")

</div>

What would be the best way to install the Update module “only” ( No dual rootfs updates) in Yocto.  
should I still use meta-mender, or do you have a recipe that uses the  
makefile to install that? thank you in advance

---

<div class="post-metadata">

### Author: ![mnorian](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mnorian/32/757_2.png) [@mnorian](https://hub.mender.io/u/mnorian)
#### Post date: [March 3, 2022, 12:46am UTC](https://hub.mender.io/t/install-update-modules-only-in-yocto/4709/2 "2022-03-03T00:46:35Z")

</div>

My best thought, for now, is to use the full meta-mender and then to MENDER\_FEATURES\_ENABLE `mender-client-install` and `mender-systemd` only in local.conf file, I will try this and provide feedback, please let me know if you could think of a better way.

---

<div class="post-metadata">

### Author: ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)
#### Post date: [March 3, 2022, 7:42am UTC](https://hub.mender.io/t/install-update-modules-only-in-yocto/4709/3 "2022-03-03T07:42:31Z")

</div>

Hi @mnorian,

Just a quick shot (read: guesswork without trying it!).

If you don’t need the whole integration, e.g. partitions and all that, I think the best way is to

- pull `meta-mender`, the `meta-mender-core` layer into your build
- add `mender-client` and `mender-modules-gen` to your images `IMAGE_INSTALL` variable
- make sure the `PACKAGECONFIG` for `mender-client` enables the modules, this is usually done via your `DISTRO`  
You don’t need the `INHERIT += mender-...` then.

This should get you a starting point. If something about that is unclear or needs elaboration, please let me know.

Greetz,  
Josef

---

<div class="post-metadata">

### Author: ![mnorian](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mnorian/32/757_2.png) [@mnorian](https://hub.mender.io/u/mnorian)
#### Post date: [March 14, 2022, 8:24pm UTC](https://hub.mender.io/t/install-update-modules-only-in-yocto/4709/4 "2022-03-14T20:24:48Z")

</div>

> [@TheYoctoJester](#):
>
> `mender-client` and `mender-modu`

Thank you very much for your recommendations, I will try that and update you

---

<div class="post-metadata">

### Author: ![mnorian](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mnorian/32/757_2.png) [@mnorian](https://hub.mender.io/u/mnorian)
#### Post date: [March 20, 2022, 5:05pm UTC](https://hub.mender.io/t/install-update-modules-only-in-yocto/4709/5 "2022-03-20T17:05:09Z")

</div>

> [@TheYoctoJester](#):
>
> the `meta-mender-core` layer into your

So, I did that and I have the following errors during boot time:  
[Time] Timed out waiting for device /dev/mmcblk0p1.  
[DEPEND] Dependency failed for File…ystem Check on /dev/mmcblk0pa.  
[DEPEND] Dependency failed for /boot/efi.  
[DEPEND] Dependency filed for /boot/efi.  
[TIME] Timed out waiting for device /dev/mmcblk0p4  
[DEPEND] Dependency failed for /data.  
[DEPEND] Dependency failed for File…ystem Check on /dev/mmcblk0p4

Any guidance will be highly appreciated.  
I think I will need to do some other step to supress all these other recipes and bbclass files under the meta-mender-core/recipes-mender
