Yocto OTA updates - full root FS updates vs package vs container

You have to do OTA software updates for your Yocto image so what does the process look like? The first thing is deciding what kind of update you want. As a user you might tend to think immediately about RootFileSystem updates for operating the whole file system. This is a good choice for many. But not necessarily for all users. There are other kinds of updates that you can do, such as updating containers. It is very common now to run Docker and update the entire roof file system just to update a container. But this might be something of an overkill as it’s going to use so much bandwidth and take so much time. It can also wear out your flash memory very quickly. So thinking about what you want to update is the first thing you should do.

Root FS updates are core

The RootFileSystem updates are the core. RootFileSystem updates is the central use case of Mender.io and it is also the most difficult. So it requires the most investment in terms of board Integration and set up. You can get away with easier integration work, if you are only going to update Docker containers. But you can also update both RootFileSystem and Docker containers which may fit very naturally into a schedule where you have such as your own application update cycle every week. Whereas the whole RootFileSystem update might only be scheduled to take place once every six months.

Root FS update vs package update for Yocto

A full RootFileSystem update approach for Yocto is done quite rarely. The package based updating approach for Yocto is much more commonplace. It can be a bit more difficult to get that to work on Yocto. However, Docker updates are relevant for both Yocto and for Ubuntu. So, this depends on how your application works. But if your application is running in a container it's very likely that a container update would be the right choice to use in addition to, or instead of root FS updates. -%20far%20more%20customizable%20than%20Ubuntu%20-%20good%20for%20embedded%20projects%20because%20it's%20small%20and%20can%20be%20tailored%20as%20your%20use%20cases%20grow%20-%20it%E2%80%99s%20more%20modular%20-%20more%20flexible%20-%20predictable%20and%20stable%20%284%29

Docker containers and Yocto

Docker is just like an additional piece of software on top of your Yocto, so it's not really going to be any different. A container in its nature is not sensitive to which environment it's running and that's sort of the point of the containers. So as long as you have the docker daemon installed on your Yocto image, it should be the same as running it on Ubuntu. And actually, this also gives you the flexibility to move your application from Ubuntu to Yocto. If you started out that way for example.

Consider reading these other articles on Yocto:

Recent articles

The top challenge for autonomous vehicles: What does adding AI to cars mean for OEMs?

The top challenge for autonomous vehicles: What does adding AI to cars mean for OEMs?

The critical question for the automotive industry is: how can you shorten the time to market and innovate faster in software and AVs to meet more demanding customer requirements?
What’s New in Mender 3.7: Introducing the C++ Client for portability

What’s New in Mender 3.7: Introducing the C++ Client for portability

Mender 3.7 is released, including all the features published on hosted Mender over the last few months as part of our continuous development and rolling release process.
How over-the-air (OTA) updates help emergency response teams

How over-the-air (OTA) updates help emergency response teams

Discover how over-the-air (OTA) updates revolutionize emergency response teams, ensuring secure and seamless device maintenance and functionality in critical situations.
View more articles

Learn more about Mender

Explore our Resource Center to discover more about how Mender empowers both you and your customers with secure and reliable over-the-air updates for IoT devices.

 
sales-pipeline_295756365