summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/crucible/crucible_2023.11.02.bb
diff options
context:
space:
mode:
authorChristian Lindeberg <christian.lindeberg@axis.com>2025-01-09 08:26:51 +0100
committerKhem Raj <raj.khem@gmail.com>2025-01-10 09:33:51 -0800
commit8d635b0510c86a80261a461f833142d2bdfad0f0 (patch)
tree02020a3443ba87745dc41fea4ebf7f834adb4223 /meta-oe/recipes-support/crucible/crucible_2023.11.02.bb
parentef917bce9a0a6a1fb35de527327d9f6811af7a63 (diff)
downloadmeta-openembedded-8d635b0510c86a80261a461f833142d2bdfad0f0.tar.gz
crucible: Use go module fetcher
Use the go module fetcher instead of allowing network access during the compile task. Reorder variables according to the recipe style guide. Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/crucible/crucible_2023.11.02.bb')
-rw-r--r--meta-oe/recipes-support/crucible/crucible_2023.11.02.bb18
1 files changed, 9 insertions, 9 deletions
diff --git a/meta-oe/recipes-support/crucible/crucible_2023.11.02.bb b/meta-oe/recipes-support/crucible/crucible_2023.11.02.bb
index 4247263b5a..8966194704 100644
--- a/meta-oe/recipes-support/crucible/crucible_2023.11.02.bb
+++ b/meta-oe/recipes-support/crucible/crucible_2023.11.02.bb
@@ -1,20 +1,20 @@
1SUMMARY = "Utility that provides userspace support for reading and writing to the i.MX fuses" 1SUMMARY = "Utility that provides userspace support for reading and writing to the i.MX fuses"
2LICENSE = "BSD-3-Clause" 2
3LICENSE = "BSD-3-Clause & ${GO_MOD_LICENSES}"
3LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=201414b6610203caed355323b1ab3116" 4LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=201414b6610203caed355323b1ab3116"
5require ${BPN}-licenses.inc
4 6
5GO_IMPORT = "github.com/usbarmory/crucible"
6SRC_URI = "git://${GO_IMPORT}.git;protocol=https;branch=master;destsuffix=${GO_SRCURI_DESTSUFFIX}" 7SRC_URI = "git://${GO_IMPORT}.git;protocol=https;branch=master;destsuffix=${GO_SRCURI_DESTSUFFIX}"
8require ${BPN}-go-mods.inc
9
10SRCREV = "dec27cd4e0e0db106c0a21d429c04ca8d36bbdd5"
7 11
12S = "${WORKDIR}/git"
13
14GO_IMPORT = "github.com/usbarmory/crucible"
8GO_INSTALL = "\ 15GO_INSTALL = "\
9 ${GO_IMPORT}/cmd/crucible \ 16 ${GO_IMPORT}/cmd/crucible \
10 ${GO_IMPORT}/cmd/habtool \ 17 ${GO_IMPORT}/cmd/habtool \
11" 18"
12SRCREV = "dec27cd4e0e0db106c0a21d429c04ca8d36bbdd5"
13
14export GOPROXY = "https://proxy.golang.org,direct"
15# Workaround for network access issue during compile step.
16# This needs to be fixed in the recipes buildsystem so that
17# it can be accomplished during do_fetch task.
18do_compile[network] = "1"
19 19
20inherit go-mod 20inherit go-mod