diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-06-25 22:40:08 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-06-25 22:40:08 -0400 |
commit | bc2a750d5cd518706aff406da6e0719ce475e36b (patch) | |
tree | 50fc47c0c749ec6cb3ea6e197b7b78cb97932714 /recipes-containers/go-errors/go-errors_git.bb | |
parent | 9f23867e6386ba4131c165f084c5f5de2c612451 (diff) | |
download | meta-virtualization-bc2a750d5cd518706aff406da6e0719ce475e36b.tar.gz |
containers: adapt to UNPACKDIR changes
This commit updates the container recipes to the OE core UNPACKDIR
changes.
- We drop references to WORKDIR
- We adjust destsuffix fetches to use BB_GIT_DEFAULT_DESTSUFFIX
instead of 'git'
- Update our GOPATH references to use UNPACKDIR
- Drop S = assignemnts where possible
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/go-errors/go-errors_git.bb')
-rw-r--r-- | recipes-containers/go-errors/go-errors_git.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/recipes-containers/go-errors/go-errors_git.bb b/recipes-containers/go-errors/go-errors_git.bb index 1236bb7b..94d4de52 100644 --- a/recipes-containers/go-errors/go-errors_git.bb +++ b/recipes-containers/go-errors/go-errors_git.bb | |||
@@ -7,13 +7,11 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=6fe682a02df52c6653f33bd0f | |||
7 | SRCNAME = "errors" | 7 | SRCNAME = "errors" |
8 | 8 | ||
9 | PKG_NAME = "github.com/pkg/${SRCNAME}" | 9 | PKG_NAME = "github.com/pkg/${SRCNAME}" |
10 | SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" | 10 | SRC_URI = "git://${PKG_NAME};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=master;protocol=https" |
11 | 11 | ||
12 | SRCREV = "5dd12d0cfe7f152f80558d591504ce685299311e" | 12 | SRCREV = "5dd12d0cfe7f152f80558d591504ce685299311e" |
13 | PV = "v0.8.1+git" | 13 | PV = "v0.8.1+git" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | # NO-OP the do compile rule because this recipe is source only. | 15 | # NO-OP the do compile rule because this recipe is source only. |
18 | do_compile() { | 16 | do_compile() { |
19 | } | 17 | } |