docker-compose: adapt SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}

As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork
of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this
variable in our go recipes.

We also adjust our WORKDIR reference to UNPACKDIR, and the destination
for vendor'd source.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Bruce Ashfield 2024-05-24 03:43:09 +00:00
parent fd30405004
commit d4f36f3ff5
2 changed files with 188 additions and 188 deletions

View File

@ -11,7 +11,7 @@ DEPENDS = " \
SRCREV_FORMAT="compose_survey"
SRCREV_compose = "3371227794f5f3645f4f19829c60a741635ed329"
SRC_URI = "git://github.com/docker/compose;name=compose;branch=main;protocol=https"
SRC_URI = "git://github.com/docker/compose;name=compose;branch=main;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}"
include src_uri.inc
@ -55,7 +55,7 @@ do_compile() {
# our copied .go files are to be used for the build
ln -sf vendor.copy vendor
# inform go that we know what we are doing
cp ${WORKDIR}/modules.txt vendor/
cp ${UNPACKDIR}/modules.txt vendor/
GO_LDFLAGS="-s -w -X internal.Version=${PV} -X ${COMPOSE_PKG}/internal.Version=${PV}"
GO_BUILDTAGS=""

File diff suppressed because it is too large Load Diff