K3s service not starting after go-lang version update in poky

Kamil Dziezyk

Hello Bruce,

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.
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]
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?


Kamil Dzie┼╝yk

Join {meta-virtualization@lists.yoctoproject.org to automatically receive all group messages.