I can see that in the official GitLab repos of revolutionpi now got a yocto repos, with yocto layer.
But there is also still the debos-build nad imagebackery.
If i want to create a custom linux or modified linux for the RevPi Core, which way is now the best way ?
In generel, i want to remove some packages, and add some custom packages for the system. And also create a custom partition layout, so that i can have an A/B OTA update structure using RAUC. (I know that this possible doing with all 3 methods of creating images)
Do someone know which way of creating images, is going to be maintained by the dev team in the future ? and what is the state of production ?
Custom linux and A/B updates
-
tboehler
- KUNBUS
- Posts: 47
- Joined: 02 May 2023, 14:22
Re: Custom linux and A/B updates
Hello Ost3n,
as a member of the dev team I can answer your questions
The repositories debos-build and meta-revolutionpi serve different purposes:
debos-build is a complete Debian-based image. It is the image that can be downloaded from the website (https://revolutionpi.com/en/support/downloads#c1069) and the one that new hardware is shipped with by default. There are no plans to change this, and it will keep being the "normal" image.
meta-revolutionpi is a Yocto layer. No images to download are currently built with the Yocto layer on our side (nor is there any plan to have Yocto-based images available to download from us as this usually doesn't make sense), its purpose is to give others the option to build Yocto-based images for their own purposes. The Yocto layer consists of a minimal set of software to get a Yocto-based image to run on any RevPi, so it doesn't include things such as PiCtory or Cockpit, for instance. It is, for instance, out of scope for our Yocto layer to include a package manager to update packages as you would on any usual Linux distribution; the way updates are installed is up to the user of that Yocto layer (for example by using something like RAUC for updates through A/B boot).
The debos-build images and the Yocto layer are fundamentally different. There are no plans for either to exist longer than the other, or for the Yocto layer to replace the images created with debos-build. The Yocto layer is merely an additional option to build your own images.
What you'll be basing your own image with RAUC on is up to you and depends on what purpose the image will serve. Creating images for a large amount of devices with updates through fleet management software might benefit from Yocto, a few devices might benefit from an image created through debos-build. There are, of course, many other factors that are relevant for this decision.
All the best.
Thomas
as a member of the dev team I can answer your questions
debos-build is a complete Debian-based image. It is the image that can be downloaded from the website (https://revolutionpi.com/en/support/downloads#c1069) and the one that new hardware is shipped with by default. There are no plans to change this, and it will keep being the "normal" image.
meta-revolutionpi is a Yocto layer. No images to download are currently built with the Yocto layer on our side (nor is there any plan to have Yocto-based images available to download from us as this usually doesn't make sense), its purpose is to give others the option to build Yocto-based images for their own purposes. The Yocto layer consists of a minimal set of software to get a Yocto-based image to run on any RevPi, so it doesn't include things such as PiCtory or Cockpit, for instance. It is, for instance, out of scope for our Yocto layer to include a package manager to update packages as you would on any usual Linux distribution; the way updates are installed is up to the user of that Yocto layer (for example by using something like RAUC for updates through A/B boot).
The debos-build images and the Yocto layer are fundamentally different. There are no plans for either to exist longer than the other, or for the Yocto layer to replace the images created with debos-build. The Yocto layer is merely an additional option to build your own images.
What you'll be basing your own image with RAUC on is up to you and depends on what purpose the image will serve. Creating images for a large amount of devices with updates through fleet management software might benefit from Yocto, a few devices might benefit from an image created through debos-build. There are, of course, many other factors that are relevant for this decision.
All the best.
Thomas