mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-05-16 20:37:15 +00:00
rootfs.sh stops passing a host GOPATH bind-mount into the inner osbuilder docker run. Pass INSTALL_IN_GOPATH=false so ci/install_yq.sh installs yq under /usr/local/bin in the container. scripts/lib.sh resolves yq after sourcing install_yq.sh and fails clearly if yq is still missing. This avoids build issues on (managed) build hosts where HOME, for example, resolves to /localhome/... while the image user record still points at /home/... On those hosts the old flow could make the daemon bind-mount a GOPATH path that does not exist or is not writable on the host (e.g. mkdir or mount under /home/... denied). Co-authored-by: Fabiano Fidêncio <ffidencio@nvidia.com> Signed-off-by: Manuel Huber <manuelh@nvidia.com>