-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation error: Unsupported image boot_bundle.img.caibx for slot type boot-mbr-switch #804
Comments
@timemaster5 Unfortunately, there is no easy way to fix this, yet. As you already pointed out correctly, not chunking selected slots at all is the generic solution. We had a discussion about this in the #irc/matrix chat some weeks ago. I just dug it out again to sum up the findings:
Another point to solve that came up with this is how to proceed with the Final note on the conversation from @jluebbe was:
So this is the current state of our discussion. @timemaster5 Feel free to share your opinion or demands on this :) |
Hi @ejoerns , thank you very much for you reply. I went through the code and found out that there is really no matching pair of any kind of .caibx format for the boot-mbr-switch. I found some discussion though in the issues here, but can't remember the name. Someone there was suggesting that it shouldn't be that hard to implement .caibx with vfat for mbr-boot-switch too, but there wasn't probably a high demand. So then I was naturally looking for some --exclude option in rauc convert, without success :) But it was definitely the place I was checking to resolve my problem. What you suggest is basically this, so I am 100% for it. My workaround was however to add the image as a file instead of a slot. I don't know exactly what does it mean translated to the command line arguments for rauc convert as I use meta-rauc with Yocto build system. But I guess if someone needs, it should be possible to get the clues from this bundle bbclass. The orginal configuration code in my bundle recipe was
and I have replaced it with:
And in the post-install hook I do:
Interesting on this is that when I check the bundle with This approach is applicable only on small images as it defeats the point of having casync in place, but I guess for the boot-mbr-switch the images are gonna be pretty small, so we are good here. |
Exactly.
Yes, witth adding a switch for caibx in the handler functions and calling
You did add it as a loose artifact in the bundle. This is just like placing any random file there that RAUC itself does not really know about. It is just packed into the bundle (squashfs) and accessible for hooks from there.
The 'files' you see in I actually onder which image you see if you did not defined one and would say that your post-install hook should actually be an install hook instead.
|
Hi @ejoerns, thank you for the explanation, it is simpler than I thought. To clarify my bit. I have pasted above only the part related to the boot-mbr-switch. Besides that I have a rootfs slot defined of ext4 image. So this is what gives me a bundle converted to chunks, and what triggers post-install hook during the update process. What is a bit strange to me though is the fact that |
The reason for this that the |
Hi, I am facing this issue after turning on a boot-mbr-switch for a bootloader partition.
For a rootfs, I've been using rauc+casync successfully.
I was kind of expecting not to chunk the boot images.
Any thoughts on how I could fix this?
I am on the latest rauc 1.5.1
The text was updated successfully, but these errors were encountered: