The go-dep package is encountering the following error after
updating golang-any, golang-go, and golang-src to version 1.22:
"go.mod file not found in current directory or any parent"
According to the Golang 1.22 release notes
https://tip.golang.org/doc/go1.22#go-command, go get is no longer
supported outside of a module in the legacy GOPATH mode.
To address this, we have created a patch that sets and exports the
GO111MODULE variable to off.
Test Plan:
PASS: go-dep Package build successfully
PASS: Download all packages successfully.
PASS: Build ISO and installed as AIO-SX.
Story: 2011047
Task: 51402
Change-Id: I28e276dd2caae7c094ac77dc0a2074d9ba6acb22
Signed-off-by: Boovan Rajendran <boovan.rajendran@windriver.com>