Install Update Modules "Only" in Yocto

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

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.

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

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

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