-
Notifications
You must be signed in to change notification settings - Fork 99
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
mmcblkXpY devices not expanded correctly #1831
Comments
Part of: kairos-io/kairos#1831 Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Part of: kairos-io/kairos#1831 Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Part of: kairos-io/kairos#1831 Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Part of: kairos-io/kairos#1831 Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Added this issue to the known issues of 2.4.0 release: https://github.com/kairos-io/kairos/releases/tag/v2.4.0 just because there were people expecting this to be fixed in this release :(. |
Unfortunately, including
it seems that the awk version in the initramfs depends on this library |
I tried a hack here: kairos-io/immucore@a2503de and it works. Of course that's not a proper fix because it assumes a specific location for the library. Also although the error for this library is gone with this "fix", there is another one missing too: I still feel we should instruct dracut to somehow detect these. I tries this patch on kairos earthly but it didn't help:
|
thanks for the job. |
It's hard to tell. We don't have a fix yet. Itxaka found |
I will debug this now. |
hm, the partition name is wrong again: Either my build didn't pick the right branch or the fix doesn't work. On it... |
Yes it's my mistake. I used the wrong env variable:
it should have been |
yes, everything works now. I will start merging as soon as I get approvals on PRs. First the yip PR linked above, then bumping yip in kairos-agent and immucore, releasing new versions of those 2 binaries, bumping the 2 binaries in kairos and done! |
…110) Part of: kairos-io/kairos#1831 Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
to get this fix: mudler/yip#110 as part of this: kairos-io/kairos#1831 Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
* Add awk and gawk in the initrafms to allow growpart to work. Also include libraries which dracut fails to auto-detect Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me> * Bump yip to get this fix: mudler/yip#110 as part of this: kairos-io/kairos#1831 Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me> * Fix lint errors Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me> --------- Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Everything merged now. We only need to tag and release kairos-agent and immucore and bump them on kairos. Let's do that right before the next release of Kairos. I will keep this open to remember to do a last manual QA when this is done. |
* Add awk and gawk in the initrafms to allow growpart to work. Also include libraries which dracut fails to auto-detect Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me> * Bump yip to get this fix: mudler/yip#110 as part of this: kairos-io/kairos#1831 Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me> * Fix lint errors Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me> --------- Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me> (cherry picked from commit 6b07d39)
I'm not really sure. If I want try this version, how can I do it ? I have to use the source project ? But how can I build the image ? |
From the root of the project (kairos-io/kairos), pull the latest master and run:
this should create an |
I have an issue with earthly.
I tried to comment the code in Earthly file
But I got another error after that :
|
Check the docs here: https://docs.earthly.dev/docs/guides/multi-platform Usually I just run this and problem is gone: https://docs.earthly.dev/docs/guides/multi-platform#linux |
v2.4.1 is now out and it fixes this problem. I'm closing this. |
Originally discussed here: #1815
sfdisk
and that is a requirement of growpart (at least in some implementations). It should be added here: https://github.com/kairos-io/immucore/blob/master/dracut/28immucore/module-setup.sh#L28mmcblk0p5
ornvme0n1p4
, only forsda1
etc. This results in an error:* Could not find filesystem for /dev/mmcblk05, not resizing the filesystem
The text was updated successfully, but these errors were encountered: