cases/buildepoxy.py: fix typo
PATCH 1/2 cases/buildepoxy.py: fix typo
Signed-off-by Chen Qi <[email protected]>
--- meta/lib/oeqa/sdk/cases/buildepoxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oeqa/sdk/cases/buildepoxy.py +1 -1
@@ -17,7 +17,7 @@ class EpoxyTest(OESDKTestCase): """ def setUp(self): if not (self.tc.hasHostPackage("nativesdk-meson")): - raise unittest.SkipTest("GalculatorTest class: SDK doesn't contain Meson") + raise unittest.SkipTest("EpoxyTest class: SDK doesn't contain Meson") def test_epoxy(self): with tempfile.TemporaryDirectory(prefix="epoxy", dir=self.tc.sdk_dir) as testdir:
Signature · 1 line
2.17.1
PATCH 2/2 go.bbclass: disable the use of the default configuration file
We need to disable the use the default configuration file. This is to ensure that user settings do not mess things up when building go recipes.
For example, if I set 'GOBIN=./relative/path' in $HOME/.config/go/env, then go-runtime fails to build with error like below:
cannot install, GOBIN must be an absolute path
According to `go help environment',
"""
Setting GOENV=off in the environment disables the use of the default configuration file.
"""
We can explicitly disable the configuration file by setting GOENV to off.
Signed-off-by Chen Qi <[email protected]>
--- meta/classes/go.bbclass | 1 + 1 file changed, 1 insertion(+)
meta/classes/go.bbclass +1 -0
@@ -68,6 +68,7 @@ GO_INSTALL_FILTEROUT ?= "${GO_IMPORT}/vendor/" B = "${WORKDIR}/build" export GOPATH = "${B}" +export GOENV = "off" export GOTMPDIR ?= "${WORKDIR}/build-tmp" GOTMPDIR[vardepvalue] = ""
Signature · 1 line
2.17.1