failed to build custom image for RPI4 #1815
-
Hi, I tried to build custom image for RPI4, but I hase some issues. I follow the documentation : https://kairos.io/docs/installation/raspberry/ I tried to change this value, with a cloud-init config like here : Next, I tried to change the value in the osbuilder-tools : like this
But with this configuration, the build job failed :
Here my cloud-init file :
Someone can help me to understand how I can generate a custom image to RPI4. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 7 replies
-
rpi4 automatic partition expansion will be fixed in the upcoming 2.4.0 release. The relevant PR: kairos-io/packages#398 You build may be failing because of garbage devices left behind from previous builds or you may needs to reboot or run partprobe or something. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your response.
But the overlay /var is steel with 2go. How can I manage this partition ? The cloud-init with extend partition still not working :
|
Beta Was this translation helpful? Give feedback.
-
I tried with the new version 2.4, but the partition doesn't change. May be, I don't have the good configuration to do this. |
Beta Was this translation helpful? Give feedback.
-
I gave it a try again with this image: and a config similar to yours above (including the otherwise not needed So something is fishy but I need we need to try more things. At least, I can reproduce. |
Beta Was this translation helpful? Give feedback.
-
I enabled debug output in immucore:
|
Beta Was this translation helpful? Give feedback.
-
so
|
Beta Was this translation helpful? Give feedback.
-
This code: https://github.com/mudler/yip/blob/cc843a8f583b152f0891c687df3b3cb74e411589/pkg/plugins/layout.go#L464 So there were 2 bugs in there. @fafarun I'm sure I saw that working before we releasing 😕 , but I don't know how that is possible. Maybe In any case, thanks for finding this and working on debugging this. I'll convert this to an issue and work on a fix. |
Beta Was this translation helpful? Give feedback.
-
#1831 Let's continue there. Closing this. |
Beta Was this translation helpful? Give feedback.
rpi4 automatic partition expansion will be fixed in the upcoming 2.4.0 release. The relevant PR: kairos-io/packages#398
You build may be failing because of garbage devices left behind from previous builds or you may needs to reboot or run partprobe or something.