summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2025-04-17 18:39:15 +0000
committerBruce Ashfield <bruce.ashfield@gmail.com>2025-04-18 13:55:58 +0000
commit050030c8d68194b27c3245af792b553ac6ea6b6d (patch)
treeac28e8935147cfc4e0f09163723a99f5aa6cbd18
parentbd1a95853f8cb79101c200c175c3372a74f20961 (diff)
downloadmeta-virtualization-050030c8d68194b27c3245af792b553ac6ea6b6d.tar.gz
notary: drop recipe
Notary has had the depreciated warning for quite some time, dropping the recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-devtools/go/notary_git.bb41
1 files changed, 0 insertions, 41 deletions
diff --git a/recipes-devtools/go/notary_git.bb b/recipes-devtools/go/notary_git.bb
deleted file mode 100644
index ace7174d..00000000
--- a/recipes-devtools/go/notary_git.bb
+++ /dev/null
@@ -1,41 +0,0 @@
1DESCRIPTION = "Notary is a Docker project that allows anyone to have trust over arbitrary collections of data"
2HOMEPAGE = "https://github.com/docker/notary"
3SECTION = "devel/go"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=3596b980bb036e0875174ed15e4b982a"
6
7SRCNAME = "notary"
8
9PKG_NAME = "github.com/docker/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https"
11
12SRCREV = "d6e1431feb32348e0650bf7551ac5cffd01d857b"
13PV = "0.6.1+git"
14
15S = "${WORKDIR}/git"
16
17inherit meta-virt-depreciated-warning
18
19# NO-OP the do compile rule because this recipe is source only.
20do_compile() {
21}
22
23do_install() {
24 install -d ${D}${prefix}/local/go/src/${PKG_NAME}
25 for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
26 if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
27 mkdir -p ${D}${prefix}/local/go/$(dirname $j)
28 fi
29 cp $j ${D}${prefix}/local/go/$j
30 done
31 cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
32}
33
34SYSROOT_PREPROCESS_FUNCS += "go_notary_sysroot_preprocess"
35
36go_notary_sysroot_preprocess () {
37 install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
38 cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
39}
40
41FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"