On Mon, Jun 27, 2022 at 6:00 AM Kamil Dzieżyk <Kamil.Dziezyk@...> wrote:
There is a problem with the k3s service starting when the Yocto image is built with the meta-virtualization master branch.
This issue might be related to the go-lang version(1.18) used to build the k3s.
After this patch was merged: https://git.yoctoproject.org/poky/commit/?id=8dc1f28aa10c775e64b5275679b1f8142e8cd038
a warning pops up during the k3s build:
WARNING: k3s-v1.22.6+k3s1+git4262c6b91a43ef8411870f72ff8b8715949f90e2-r0 do_package_qa: QA Issue: k3s: ELF binary /usr/local/bin/k3s has relocations in .text [textrel]
That warning has actually been around for a while.
See k3s service start logs here: https://pastebin.com/uXvsjPFu
I have tried a more recent version of k3s 1.22.8 with a small change and this version of the k3s starts successfully.
However, I did not manage to update all k3s build dependency sources from the recipes-container/k3s/src_uri.inc.
I have built the k3s with this change: https://pastebin.com/3QGvcqta
Could you update the k3s recipe on the master branch, to build a more recent version 1.23 or 1.24?
I have a 1.24 update already underway. So hopefully things will be
sorted out shortly.
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II