mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
yq: 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 symlink our unpacked vendor clones into the build directory since they are no longer directly placed in WORKDIR. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
95852d19d2
commit
5f5a9e7cd7
|
@ -24,7 +24,7 @@ SRCREV_text = "434eadcdbc3b0256971992e8c70027278364c72c"
|
||||||
SRCREV_diff = "20ebb0f2a09e612109b224b32f79370409108bcc"
|
SRCREV_diff = "20ebb0f2a09e612109b224b32f79370409108bcc"
|
||||||
|
|
||||||
SRCREV_FORMAT = "yq_color"
|
SRCREV_FORMAT = "yq_color"
|
||||||
SRC_URI = "git://${GO_IMPORT};name=yq;branch=master;protocol=https \
|
SRC_URI = "git://${GO_IMPORT};name=yq;branch=master;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
|
||||||
git://github.com/fatih/color;name=color;destsuffix=build/vendor/src/github.com/fatih/color;branch=main;protocol=https \
|
git://github.com/fatih/color;name=color;destsuffix=build/vendor/src/github.com/fatih/color;branch=main;protocol=https \
|
||||||
git://github.com/goccy/go-yaml;name=lexer;destsuffix=build/vendor/src/github.com/goccy/go-yaml/;branch=master;protocol=https \
|
git://github.com/goccy/go-yaml;name=lexer;destsuffix=build/vendor/src/github.com/goccy/go-yaml/;branch=master;protocol=https \
|
||||||
git://github.com/spf13/cobra;name=cobra;nobranch=1;destsuffix=build/vendor/src/github.com/spf13/cobra;branch=main;protocol=https \
|
git://github.com/spf13/cobra;name=cobra;nobranch=1;destsuffix=build/vendor/src/github.com/spf13/cobra;branch=main;protocol=https \
|
||||||
|
@ -55,6 +55,9 @@ do_compile:prepend() {
|
||||||
(
|
(
|
||||||
cd ${WORKDIR}/build/src/
|
cd ${WORKDIR}/build/src/
|
||||||
ln -sf ${STAGING_DIR_TARGET}/${prefix}/lib/go/src/cmd/vendor/golang.org .
|
ln -sf ${STAGING_DIR_TARGET}/${prefix}/lib/go/src/cmd/vendor/golang.org .
|
||||||
|
|
||||||
|
cd ${WORKDIR}/build/
|
||||||
|
ln -sf ${UNPACKDIR}/build/vendor .
|
||||||
)
|
)
|
||||||
|
|
||||||
# arrange for the fetched dependencies to be found
|
# arrange for the fetched dependencies to be found
|
||||||
|
|
Loading…
Reference in New Issue
Block a user