Skip to content

Commit

Permalink
Merge pull request #2974 from mariux64/fix-go-env-121
Browse files Browse the repository at this point in the history
go: add missing go.env
  • Loading branch information
wwwutz authored Sep 8, 2023
2 parents 7b42b09 + 8d9031e commit 3ab88dd
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions go.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION go-1.21.1-0
# BEE_VERSION go-1.21.1-1

# see also: https://golang.org/doc/install/source

Expand Down Expand Up @@ -61,9 +61,8 @@ mee_build() {
cd ${S}/src

export GOROOT_BOOTSTRAP=${B}/bootstrap-1.17.13
export GOROOT_FINAL=${LIBDIR}/go
. ./make.bash --no-banner
# $GOTOOLDIR/dist banner
$GOTOOLDIR/dist banner

}

Expand Down Expand Up @@ -96,7 +95,11 @@ mee_install() {
fi
done

#Install tools for go
# fix "golang.org/x/mod@v0.12.0: GOPROXY list is not the empty string, but contains no entries"
# Install env
cp -v ${S}/go.env ${D}${LIBDIR}/go

# Install tools for go
mkdir -pv ${D}${LIBDIR}/go/pkg
cp -rv ${S}/pkg/tool ${D}${LIBDIR}/go/pkg
cp -rv ${S}/pkg/include ${D}${LIBDIR}/go/pkg
Expand Down

0 comments on commit 3ab88dd

Please sign in to comment.