]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
go-mod.bbclass: Set GO_MOD_CACHE_DIR
authorChristian Lindeberg <christian.lindeberg@axis.com>
Fri, 13 Sep 2024 07:29:58 +0000 (09:29 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Sep 2024 07:37:46 +0000 (08:37 +0100)
commit287daff0bbd877990ce272e10601d4540d71f239
tree268497f6fc8e8573520449c202f7c45b22e169cb
parent467d28f5d243d821722cf8dcdbb9675a2820cd4f
go-mod.bbclass: Set GO_MOD_CACHE_DIR

Set the GO_MOD_CACHE_DIR variable and move the location of the module
cache to enable the use of the go module fetchers for downloading and
unpacking module dependencies to the module cache.
Also, clean out the module cache before unpacking.

Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/go-mod.bbclass