Skip to contentSkip to conversation

oci-image-tools: remove unneeded deps

PATCH In review [email protected] 2 participants 11 messages Feb 27, 2024 – Feb 28, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 oci-image-tools: remove unneeded deps

From: Chen Qi <[email protected]>

These deps no longer have any effect. Remove them.

---
 .../oci-image-tools/oci-image-tools_git.bb               | 9 ---------
 1 file changed, 9 deletions(-)
recipes-containers/oci-image-tools/oci-image-tools_git.bb +0 -9
index b925a2a7..ade6534d 100644
@@ -3,15 +3,6 @@ SUMMARY = "A collection of tools for working with the OCI image format specifica
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
 
-DEPENDS = "\
-           oci-image-spec \
-           oci-runtime-spec \
-           go-digest \
-           go-errors \
-           spf13-cobra \
-           spf13-pflag \
-          "
-
 SRC_URI = "git://github.com/opencontainers/image-tools.git;branch=master;protocol=https;destsuffix=git/src/github.com/opencontainers/image-tools \
            file://0001-config-make-Config.User-mapping-errors-a-warning.patch \
            file://0001-tool-respect-GO-and-GOBUILDFLAGS-when-building.patch"
Signature · 1 line
2.42.0
#1 lore raw

PATCH 2/4 crun: remove unneeded deps

From: Chen Qi <[email protected]>

These two deps do not affect the build result and are not used, remove them.

---
 recipes-containers/crun/crun_git.bb | 1 -
 1 file changed, 1 deletion(-)
recipes-containers/crun/crun_git.bb +0 -1
index 77126a1c..7a6c4797 100644
@@ -30,7 +30,6 @@ DEPENDS = "yajl libcap go-md2man-native m4-native"
 # TODO: is there a packageconfig to turn this off ?
 DEPENDS += "libseccomp"
 DEPENDS += "systemd"
-DEPENDS += "oci-image-spec oci-runtime-spec"
 DEPENDS:append:libc-musl = " argp-standalone"
 
 do_configure:prepend () {
Signature · 1 line
2.42.0
#2 lore raw

Re: [meta-virtualization][PATCH 2/4] crun: remove unneeded deps

At one point, they definitely were required, but I can't find any trace of them being needed anymore either.

I'll queue this shortly.

Bruce

Quoted 35 lines · Chen Qi via lists.yoctoproject.org

From: Chen Qi <[email protected]>

These two deps do not affect the build result and are not used, remove them.

---
 recipes-containers/crun/crun_git.bb | 1 -
 1 file changed, 1 deletion(-)
recipes-containers/crun/crun_git.bb +0 -2
index 77126a1c..7a6c4797 100644
@@ -30,7 +30,6 @@ DEPENDS = "yajl libcap go-md2man-native m4-native"
 # TODO: is there a packageconfig to turn this off ?
 DEPENDS += "libseccomp"
 DEPENDS += "systemd"
-DEPENDS += "oci-image-spec oci-runtime-spec"
 DEPENDS:append:libc-musl = " argp-standalone"
 
 do_configure:prepend () {
--

2.42.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8584): https://lists.yoctoproject.org/g/meta-virtualization/message/8584
Mute This Topic: https://lists.yoctoproject.org/mt/104598178/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#3 lore raw

PATCH 3/4 meta-virt: remove pure go source packages

In reply to [email protected]

From: Chen Qi <[email protected]>

These pure go source packages are no longer needed. They were added to satisfy build dependency. But we now have another way for the go mod vendoring, we don't need them any more. There recipes are also not depended upon by any recipe in meta-virt.

---
 recipes-containers/go-digest/go-digest_git.bb | 41 -----------------
 recipes-containers/go-errors/go-errors_git.bb | 41 -----------------
 .../go-spf13-cobra/spf13-cobra_git.bb         | 41 -----------------
 .../go-spf13-pflag/spf13-pflag_git.bb         | 41 -----------------
 recipes-devtools/go/compose-file_git.bb       | 41 -----------------
 recipes-devtools/go/go-capability_git.bb      | 29 ------------
 recipes-devtools/go/go-cli_git.bb             | 29 ------------
 recipes-devtools/go/go-connections_git.bb     | 39 ----------------
 recipes-devtools/go/go-context_git.bb         | 34 --------------
 recipes-devtools/go/go-dbus_git.bb            | 29 ------------
 recipes-devtools/go/go-distribution_git.bb    | 39 ----------------
 recipes-devtools/go/go-fsnotify_git.bb        | 29 ------------
 recipes-devtools/go/go-libtrust_git.bb        | 29 ------------
 recipes-devtools/go/go-logrus_git.bb          | 29 ------------
 recipes-devtools/go/go-mux_git.bb             | 31 -------------
 recipes-devtools/go/go-patricia_git.bb        | 29 ------------
 recipes-devtools/go/go-pty_git.bb             | 28 ------------
 recipes-devtools/go/go-systemd_git.bb         | 31 -------------
 recipes-devtools/go/grpc-go_git.bb            | 45 -------------------
 recipes-devtools/go/notary_git.bb             | 39 ----------------
 20 files changed, 694 deletions(-)
 delete mode 100644 recipes-containers/go-digest/go-digest_git.bb
 delete mode 100644 recipes-containers/go-errors/go-errors_git.bb
 delete mode 100644 recipes-containers/go-spf13-cobra/spf13-cobra_git.bb
 delete mode 100644 recipes-containers/go-spf13-pflag/spf13-pflag_git.bb
 delete mode 100644 recipes-devtools/go/compose-file_git.bb
 delete mode 100644 recipes-devtools/go/go-capability_git.bb
 delete mode 100644 recipes-devtools/go/go-cli_git.bb
 delete mode 100644 recipes-devtools/go/go-connections_git.bb
 delete mode 100644 recipes-devtools/go/go-context_git.bb
 delete mode 100644 recipes-devtools/go/go-dbus_git.bb
 delete mode 100644 recipes-devtools/go/go-distribution_git.bb
 delete mode 100644 recipes-devtools/go/go-fsnotify_git.bb
 delete mode 100644 recipes-devtools/go/go-libtrust_git.bb
 delete mode 100644 recipes-devtools/go/go-logrus_git.bb
 delete mode 100644 recipes-devtools/go/go-mux_git.bb
 delete mode 100644 recipes-devtools/go/go-patricia_git.bb
 delete mode 100644 recipes-devtools/go/go-pty_git.bb
 delete mode 100644 recipes-devtools/go/go-systemd_git.bb
 delete mode 100644 recipes-devtools/go/grpc-go_git.bb
 delete mode 100644 recipes-devtools/go/notary_git.bb
recipes-containers/go-digest/go-digest_git.bb deleted +0 -41
deleted file mode 100644
index a231cf7b..00000000
@@ -1,41 +0,0 @@
-DESCRIPTION = "Common digest package used across the container ecosystem."
-HOMEPAGE = "https://github.com/opencontainers/go-digest.git"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=2d6fc0e85c3f118af64c85a78d56d3cf"
-
-SRCNAME = "go-digest"
-
-PKG_NAME = "github.com/opencontainers/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=master;protocol=https"
-
-SRCREV = "65fac7b55eb714642e9359458656939349dcb766"
-PV = "v1.0.0-rc0+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-	for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
-	    if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-	        mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-	    fi
-	    cp $j ${D}${prefix}/local/go/$j
-	done
-	cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_digest_file_sysroot_preprocess"
-
-go_digest_file_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
-
-CLEANBROKEN = "1"
recipes-containers/go-errors/go-errors_git.bb deleted +0 -41

41 lines not on this page · raw message

recipes-containers/go-spf13-cobra/spf13-cobra_git.bb deleted +0 -41

41 lines not on this page · raw message

recipes-containers/go-spf13-pflag/spf13-pflag_git.bb deleted +0 -41

41 lines not on this page · raw message

recipes-devtools/go/compose-file_git.bb deleted +0 -41

41 lines not on this page · raw message

recipes-devtools/go/go-capability_git.bb deleted +0 -29
deleted file mode 100644
index e01a83d1..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "Utilities for manipulating POSIX capabilities in Go."
-HOMEPAGE = "https://github.com/syndtr/gocapability"
-SECTION = "devel/go"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a7304f5073e7be4ba7bffabbf9f2bbca"
-
-SRCNAME = "gocapability"
-
-PKG_NAME = "github.com/syndtr/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
-
-SRCREV = "2c00daeb6c3b45114c80ac44119e7b8801fdd852"
-PV = "0.0+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-	cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_capability_sysroot_preprocess"
-
-go_capability_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-cli_git.bb deleted +0 -29
deleted file mode 100644
index affe38ec..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "A small package for building command line apps in Go"
-HOMEPAGE = "https://github.com/codegangsta/cli"
-SECTION = "devel/go"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=ed9b539ed65d73926f30ff1f1587dc44"
-
-SRCNAME = "cli"
-
-PKG_NAME = "github.com/codegangsta/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
-
-SRCREV = "27ecc97192df1bf053a22b04463f2b51b8b8373e"
-PV = "1.1.0+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-	cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_cli_sysroot_preprocess"
-
-go_cli_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-connections_git.bb deleted +0 -39
deleted file mode 100644
index 7e8f020d..00000000
@@ -1,39 +0,0 @@
-DESCRIPTION = "Utility package to work with network connections"
-HOMEPAGE = "https://github.com/docker/connections"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=04424bc6f5a5be60691b9824d65c2ad8"
-
-SRCNAME = "go-connections"
-
-PKG_NAME = "github.com/docker/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https"
-
-SRCREV = "4ccf312bf1d35e5dbda654e57a9be4c3f3cd0366"
-PV = "0.2.1+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-	for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
-	    if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-	        mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-	    fi
-	    cp $j ${D}${prefix}/local/go/$j
-	done
-	cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_connections_sysroot_preprocess"
-
-go_connections_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-context_git.bb deleted +0 -34
deleted file mode 100644
index 580463d3..00000000
@@ -1,34 +0,0 @@
-DESCRIPTION = "A golang registry for global request variables."
-HOMEPAGE = "https://github.com/gorilla/context"
-SECTION = "devel/go"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c30eee78985cf2584cded5f89ba3d787"
-
-SRCNAME = "context"
-
-PKG_NAME = "github.com/gorilla/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
-
-SRCREV = "1cbd4c16de64273a6e63fc710b0d89bfad72cd32"
-
-S = "${WORKDIR}/git"
-
-do_compile() {
-    true
-}
-
-do_install() {
-	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-	cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_context_sysroot_preprocess"
-
-go_context_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
-
-CLEANBROKEN = "1"
recipes-devtools/go/go-dbus_git.bb deleted +0 -29
deleted file mode 100644
index 49b2de3b..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "Native Go bindings for D-Bus"
-HOMEPAGE = "https://github.com/godbus/dbus"
-SECTION = "devel/go"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=09042bd5c6c96a2b9e45ddf1bc517eed"
-
-SRCNAME = "dbus"
-
-PKG_NAME = "github.com/godbus/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
-
-SRCREV = "5f6efc7ef2759c81b7ba876593971bfce311eab3"
-PV = "4.0.0+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-	cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_dbus_sysroot_preprocess"
-
-go_dbus_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-distribution_git.bb deleted +0 -39
deleted file mode 100644
index dd98a317..00000000
@@ -1,39 +0,0 @@
-DESCRIPTION = "The Docker toolset to pack, ship, store, and deliver content"
-HOMEPAGE = "https://github.com/docker/distribution"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=d2794c0df5b907fdace235a619d80314"
-
-SRCNAME = "distribution"
-
-PKG_NAME = "github.com/docker/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=docker/1.13;destsuffix=git/src/${PKG_NAME};protocol=https"
-
-SRCREV = "28602af35aceda2f8d571bad7ca37a54cf0250bc"
-PV = "2.6.0+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-	for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
-	    if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-	        mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-	    fi
-	    cp $j ${D}${prefix}/local/go/$j
-	done
-	cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_distribution_digeset_sysroot_preprocess"
-
-go_distribution_digeset_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-fsnotify_git.bb deleted +0 -29
deleted file mode 100644
index 052658b8..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "A golang registry for global request variables."
-HOMEPAGE = "https://github.com/go-fsnotify/fsnotify"
-SECTION = "devel/go"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=68f2948d3c4943313d07e084a362486c"
-
-SRCNAME = "fsnotify"
-
-PKG_NAME = "github.com/fsnotify/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
-
-SRCREV = "af855d7e6014ec848882bb2ed7d40d536872d275"
-PV = "v1.5.1+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-	cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_fsnotify_sysroot_preprocess"
-
-go_fsnotify_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-libtrust_git.bb deleted +0 -29
deleted file mode 100644
index c578008a..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "Primitives for identity and authorization"
-HOMEPAGE = "https://github.com/docker/libtrust"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=435b266b3899aa8a959f17d41c56def8"
-
-SRCNAME = "libtrust"
-
-PKG_NAME = "github.com/docker/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
-
-SRCREV = "9cbd2a1374f46905c68a4eb3694a130610adc62a"
-PV = "0.0+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-	cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_libtrust_sysroot_preprocess"
-
-go_libtrust_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-logrus_git.bb deleted +0 -29
deleted file mode 100644
index 211d07c9..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "A golang registry for global request variables."
-HOMEPAGE = "https://github.com/Sirupsen/logrus"
-SECTION = "devel/go"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8dadfef729c08ec4e631c4f6fc5d43a0"
-
-SRCNAME = "logrus"
-
-PKG_NAME = "github.com/sirupsen/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME};branch=master;protocol=https"
-
-SRCREV = "d26492970760ca5d33129d2d799e34be5c4782eb"
-PV = "0.11.0+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-	cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_logrus_sysroot_preprocess"
-
-go_logrus_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-mux_git.bb deleted +0 -31
deleted file mode 100644
index 0d69fc58..00000000
@@ -1,31 +0,0 @@
-DESCRIPTION = "A powerful URL router and dispatcher for golang."
-HOMEPAGE = "https://github.com/gorilla/mux"
-SECTION = "devel/go"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c30eee78985cf2584cded5f89ba3d787"
-
-SRCNAME = "mux"
-
-PKG_NAME = "github.com/gorilla/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
-
-SRCREV = "85123bf20e069b156415b871dea10517f6a8938a"
-
-S = "${WORKDIR}/git"
-
-do_configure[noexec] = "1"
-do_compile[noexec] = "1"
-
-do_install() {
-	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-	cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_mux_sysroot_preprocess"
-
-go_mux_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-patricia_git.bb deleted +0 -29
deleted file mode 100644
index 0a3c3f35..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "A generic patricia trie (also called radix tree) implemented in Go (Golang)"
-HOMEPAGE = "https://github.com/gorilla/context"
-SECTION = "devel/go"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=9949b99212edd6b1e24ce702376c3baf"
-
-SRCNAME = "go-patricia"
-
-PKG_NAME = "github.com/tchap/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
-
-SRCREV = "666120de432aea38ab06bd5c818f04f4129882c9"
-PV = "2.2.6+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-	cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_patricia_sysroot_preprocess"
-
-go_patricia_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-pty_git.bb deleted +0 -28
deleted file mode 100644
index 132e82d1..00000000
@@ -1,28 +0,0 @@
-DESCRIPTION = "PTY interface for Go"
-HOMEPAGE = "https://github.com/creack/pty"
-SECTION = "devel/go"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://License;md5=93958070863d769117fa33b129020050"
-
-SRCNAME = "pty"
-
-PKG_NAME = "github.com/creack/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
-
-SRCREV = "05017fcccf23c823bfdea560dcc958a136e54fb7"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-	cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_pty_sysroot_preprocess"
-
-go_pty_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-systemd_git.bb deleted +0 -31
deleted file mode 100644
index 3aa837aa..00000000
@@ -1,31 +0,0 @@
-DESCRIPTION = "Go bindings to systemd socket activation, journal, D-Bus, and unit files"
-HOMEPAGE = "https://github.com/coreos/go-systemd"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=19cbd64715b51267a47bf3750cc6a8a5"
-
-SRCNAME = "systemd"
-
-PKG_NAME = "github.com/coreos/go-${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
-
-SRCREV = "b4a58d95188dd092ae20072bac14cece0e67c388"
-PV = "4+git"
-
-RDEPENDS:${PN} += "bash"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-	cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_systemd_sysroot_preprocess"
-
-go_systemd_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/grpc-go_git.bb deleted +0 -45

45 lines not on this page · raw message

recipes-devtools/go/notary_git.bb deleted +0 -39
deleted file mode 100644
index 1b877d62..00000000
@@ -1,39 +0,0 @@
-DESCRIPTION = "Notary is a Docker project that allows anyone to have trust over arbitrary collections of data"
-HOMEPAGE = "https://github.com/docker/notary"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=3596b980bb036e0875174ed15e4b982a"
-
-SRCNAME = "notary"
-
-PKG_NAME = "github.com/docker/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https"
-
-SRCREV = "d6e1431feb32348e0650bf7551ac5cffd01d857b"
-PV = "0.6.1+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-	for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
-	    if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-	        mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-	    fi
-	    cp $j ${D}${prefix}/local/go/$j
-	done
-	cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_notary_sysroot_preprocess"
-
-go_notary_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
Signature · 1 line
2.42.0
#4 lore raw

Re: [meta-virtualization][PATCH 3/4] meta-virt: remove pure go source packages

Quoted 7 lines · Chen Qi via lists.yoctoproject.org

From: Chen Qi <[email protected]>

These pure go source packages are no longer needed. They were added to satisfy build dependency. But we now have another way for the go mod vendoring, we don't need them any more. There recipes are also not depended upon by any recipe in meta-virt.

I'm actually going to mark them as depreciated and generate a build warning if they are used.

The plan was to remove them in the 2nd half of this year.

Bruce

Quoted 871 lines
---
 recipes-containers/go-digest/go-digest_git.bb | 41 -----------------
 recipes-containers/go-errors/go-errors_git.bb | 41 -----------------
 .../go-spf13-cobra/spf13-cobra_git.bb         | 41 -----------------
 .../go-spf13-pflag/spf13-pflag_git.bb         | 41 -----------------
 recipes-devtools/go/compose-file_git.bb       | 41 -----------------
 recipes-devtools/go/go-capability_git.bb      | 29 ------------
 recipes-devtools/go/go-cli_git.bb             | 29 ------------
 recipes-devtools/go/go-connections_git.bb     | 39 ----------------
 recipes-devtools/go/go-context_git.bb         | 34 --------------
 recipes-devtools/go/go-dbus_git.bb            | 29 ------------
 recipes-devtools/go/go-distribution_git.bb    | 39 ----------------
 recipes-devtools/go/go-fsnotify_git.bb        | 29 ------------
 recipes-devtools/go/go-libtrust_git.bb        | 29 ------------
 recipes-devtools/go/go-logrus_git.bb          | 29 ------------
 recipes-devtools/go/go-mux_git.bb             | 31 -------------
 recipes-devtools/go/go-patricia_git.bb        | 29 ------------
 recipes-devtools/go/go-pty_git.bb             | 28 ------------
 recipes-devtools/go/go-systemd_git.bb         | 31 -------------
 recipes-devtools/go/grpc-go_git.bb            | 45 -------------------
 recipes-devtools/go/notary_git.bb             | 39 ----------------
 20 files changed, 694 deletions(-)
 delete mode 100644 recipes-containers/go-digest/go-digest_git.bb
 delete mode 100644 recipes-containers/go-errors/go-errors_git.bb
 delete mode 100644 recipes-containers/go-spf13-cobra/spf13-cobra_git.bb
 delete mode 100644 recipes-containers/go-spf13-pflag/spf13-pflag_git.bb
 delete mode 100644 recipes-devtools/go/compose-file_git.bb
 delete mode 100644 recipes-devtools/go/go-capability_git.bb
 delete mode 100644 recipes-devtools/go/go-cli_git.bb
 delete mode 100644 recipes-devtools/go/go-connections_git.bb
 delete mode 100644 recipes-devtools/go/go-context_git.bb
 delete mode 100644 recipes-devtools/go/go-dbus_git.bb
 delete mode 100644 recipes-devtools/go/go-distribution_git.bb
 delete mode 100644 recipes-devtools/go/go-fsnotify_git.bb
 delete mode 100644 recipes-devtools/go/go-libtrust_git.bb
 delete mode 100644 recipes-devtools/go/go-logrus_git.bb
 delete mode 100644 recipes-devtools/go/go-mux_git.bb
 delete mode 100644 recipes-devtools/go/go-patricia_git.bb
 delete mode 100644 recipes-devtools/go/go-pty_git.bb
 delete mode 100644 recipes-devtools/go/go-systemd_git.bb
 delete mode 100644 recipes-devtools/go/grpc-go_git.bb
 delete mode 100644 recipes-devtools/go/notary_git.bb
recipes-containers/go-digest/go-digest_git.bb deleted +0 -41
deleted file mode 100644
index a231cf7b..00000000
@@ -1,41 +0,0 @@
-DESCRIPTION = "Common digest package used across the container ecosystem."
-HOMEPAGE = "https://github.com/opencontainers/go-digest.git"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=2d6fc0e85c3f118af64c85a78d56d3cf"
-
-SRCNAME = "go-digest"
-
-PKG_NAME = "github.com/opencontainers/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=master;protocol=https"
-
-SRCREV = "65fac7b55eb714642e9359458656939349dcb766"
-PV = "v1.0.0-rc0+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
-           if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-               mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-           fi
-           cp $j ${D}${prefix}/local/go/$j
-       done
-       cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_digest_file_sysroot_preprocess"
-
-go_digest_file_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
-
-CLEANBROKEN = "1"
recipes-containers/go-errors/go-errors_git.bb deleted +0 -41
deleted file mode 100644
index 87486358..00000000
@@ -1,41 +0,0 @@
-DESCRIPTION = "Simple error handling primitives"
-HOMEPAGE = "https://github.com/pkg/errors"
-SECTION = "devel/go"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=6fe682a02df52c6653f33bd0f7126b5a"
-
-SRCNAME = "errors"
-
-PKG_NAME = "github.com/pkg/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=master;protocol=https"
-
-SRCREV = "5dd12d0cfe7f152f80558d591504ce685299311e"
-PV = "v0.8.1+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go" -not -path "*/.tool/*"); do
-           if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-               mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-           fi
-           cp $j ${D}${prefix}/local/go/$j
-       done
-       cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_errors_file_sysroot_preprocess"
-
-go_errors_file_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
-
-CLEANBROKEN = "1"
recipes-containers/go-spf13-cobra/spf13-cobra_git.bb deleted +0 -41
deleted file mode 100644
index c6629014..00000000
@@ -1,41 +0,0 @@
-DESCRIPTION = "A Commander for modern Go CLI interactions"
-HOMEPAGE = "https://github.com/spf13/cobra"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE.txt;md5=920d76114a32b0fb75b3f2718c5a91be"
-
-SRCNAME = "cobra"
-
-PKG_NAME = "github.com/spf13/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=main;protocol=https"
-
-SRCREV = "4dd4b25de38418174a6e859e8a32eaccca32dccc"
-PV = "v1.6.0+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go" -not -path "*/.tool/*"); do
-           if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-               mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-           fi
-           cp $j ${D}${prefix}/local/go/$j
-       done
-       cp -r ${S}/src/${PKG_NAME}/LICENSE.txt ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "cobra_file_sysroot_preprocess"
-
-cobra_file_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
-
-CLEANBROKEN = "1"
recipes-containers/go-spf13-pflag/spf13-pflag_git.bb deleted +0 -41
deleted file mode 100644
index 201f183a..00000000
@@ -1,41 +0,0 @@
-DESCRIPTION = "Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags."
-HOMEPAGE = "https://github.com/spf13/pflag"
-SECTION = "devel/go"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=1e8b7dc8b906737639131047a590f21d"
-
-SRCNAME = "pflag"
-
-PKG_NAME = "github.com/spf13/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=master;protocol=https"
-
-SRCREV = "d5e0c0615acee7028e1e2740a11102313be88de1"
-PV = "v1.0.5+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go" -not -path "*/.tool/*"); do
-           if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-               mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-           fi
-           cp $j ${D}${prefix}/local/go/$j
-       done
-       cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "pflag_file_sysroot_preprocess"
-
-pflag_file_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
-
-CLEANBROKEN = "1"
recipes-devtools/go/compose-file_git.bb deleted +0 -41
deleted file mode 100644
index 7fedc407..00000000
@@ -1,41 +0,0 @@
-DESCRIPTION = "Parser for the Compose file format (version 3)"
-HOMEPAGE = "https://github.com/aanand/compose-file"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=9cd86830b557232ce55e2a6b47387471"
-
-SRCNAME = "compose-file"
-
-PKG_NAME = "github.com/aanand/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https"
-
-SRCREV = "a3e58764f50597b6217fec07e9bff7225c4a1719"
-PV = "3.0+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
-           if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-               mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-           fi
-           cp $j ${D}${prefix}/local/go/$j
-       done
-       cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_compose_file_sysroot_preprocess"
-
-go_compose_file_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
-
-CLEANBROKEN = "1"
recipes-devtools/go/go-capability_git.bb deleted +0 -29
deleted file mode 100644
index e01a83d1..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "Utilities for manipulating POSIX capabilities in Go."
-HOMEPAGE = "https://github.com/syndtr/gocapability"
-SECTION = "devel/go"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a7304f5073e7be4ba7bffabbf9f2bbca"
-
-SRCNAME = "gocapability"
-
-PKG_NAME = "github.com/syndtr/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
-
-SRCREV = "2c00daeb6c3b45114c80ac44119e7b8801fdd852"
-PV = "0.0+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_capability_sysroot_preprocess"
-
-go_capability_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-cli_git.bb deleted +0 -29
deleted file mode 100644
index affe38ec..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "A small package for building command line apps in Go"
-HOMEPAGE = "https://github.com/codegangsta/cli"
-SECTION = "devel/go"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=ed9b539ed65d73926f30ff1f1587dc44"
-
-SRCNAME = "cli"
-
-PKG_NAME = "github.com/codegangsta/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
-
-SRCREV = "27ecc97192df1bf053a22b04463f2b51b8b8373e"
-PV = "1.1.0+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_cli_sysroot_preprocess"
-
-go_cli_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-connections_git.bb deleted +0 -39
deleted file mode 100644
index 7e8f020d..00000000
@@ -1,39 +0,0 @@
-DESCRIPTION = "Utility package to work with network connections"
-HOMEPAGE = "https://github.com/docker/connections"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=04424bc6f5a5be60691b9824d65c2ad8"
-
-SRCNAME = "go-connections"
-
-PKG_NAME = "github.com/docker/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https"
-
-SRCREV = "4ccf312bf1d35e5dbda654e57a9be4c3f3cd0366"
-PV = "0.2.1+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
-           if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-               mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-           fi
-           cp $j ${D}${prefix}/local/go/$j
-       done
-       cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_connections_sysroot_preprocess"
-
-go_connections_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-context_git.bb deleted +0 -34
deleted file mode 100644
index 580463d3..00000000
@@ -1,34 +0,0 @@
-DESCRIPTION = "A golang registry for global request variables."
-HOMEPAGE = "https://github.com/gorilla/context"
-SECTION = "devel/go"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c30eee78985cf2584cded5f89ba3d787"
-
-SRCNAME = "context"
-
-PKG_NAME = "github.com/gorilla/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
-
-SRCREV = "1cbd4c16de64273a6e63fc710b0d89bfad72cd32"
-
-S = "${WORKDIR}/git"
-
-do_compile() {
-    true
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_context_sysroot_preprocess"
-
-go_context_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
-
-CLEANBROKEN = "1"
recipes-devtools/go/go-dbus_git.bb deleted +0 -29
deleted file mode 100644
index 49b2de3b..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "Native Go bindings for D-Bus"
-HOMEPAGE = "https://github.com/godbus/dbus"
-SECTION = "devel/go"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=09042bd5c6c96a2b9e45ddf1bc517eed"
-
-SRCNAME = "dbus"
-
-PKG_NAME = "github.com/godbus/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
-
-SRCREV = "5f6efc7ef2759c81b7ba876593971bfce311eab3"
-PV = "4.0.0+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_dbus_sysroot_preprocess"
-
-go_dbus_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-distribution_git.bb deleted +0 -39
deleted file mode 100644
index dd98a317..00000000
@@ -1,39 +0,0 @@
-DESCRIPTION = "The Docker toolset to pack, ship, store, and deliver content"
-HOMEPAGE = "https://github.com/docker/distribution"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=d2794c0df5b907fdace235a619d80314"
-
-SRCNAME = "distribution"
-
-PKG_NAME = "github.com/docker/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=docker/1.13;destsuffix=git/src/${PKG_NAME};protocol=https"
-
-SRCREV = "28602af35aceda2f8d571bad7ca37a54cf0250bc"
-PV = "2.6.0+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
-           if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-               mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-           fi
-           cp $j ${D}${prefix}/local/go/$j
-       done
-       cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_distribution_digeset_sysroot_preprocess"
-
-go_distribution_digeset_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-fsnotify_git.bb deleted +0 -29
deleted file mode 100644
index 052658b8..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "A golang registry for global request variables."
-HOMEPAGE = "https://github.com/go-fsnotify/fsnotify"
-SECTION = "devel/go"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=68f2948d3c4943313d07e084a362486c"
-
-SRCNAME = "fsnotify"
-
-PKG_NAME = "github.com/fsnotify/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
-
-SRCREV = "af855d7e6014ec848882bb2ed7d40d536872d275"
-PV = "v1.5.1+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_fsnotify_sysroot_preprocess"
-
-go_fsnotify_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-libtrust_git.bb deleted +0 -29
deleted file mode 100644
index c578008a..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "Primitives for identity and authorization"
-HOMEPAGE = "https://github.com/docker/libtrust"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=435b266b3899aa8a959f17d41c56def8"
-
-SRCNAME = "libtrust"
-
-PKG_NAME = "github.com/docker/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
-
-SRCREV = "9cbd2a1374f46905c68a4eb3694a130610adc62a"
-PV = "0.0+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_libtrust_sysroot_preprocess"
-
-go_libtrust_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-logrus_git.bb deleted +0 -29
deleted file mode 100644
index 211d07c9..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "A golang registry for global request variables."
-HOMEPAGE = "https://github.com/Sirupsen/logrus"
-SECTION = "devel/go"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8dadfef729c08ec4e631c4f6fc5d43a0"
-
-SRCNAME = "logrus"
-
-PKG_NAME = "github.com/sirupsen/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME};branch=master;protocol=https"
-
-SRCREV = "d26492970760ca5d33129d2d799e34be5c4782eb"
-PV = "0.11.0+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_logrus_sysroot_preprocess"
-
-go_logrus_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-mux_git.bb deleted +0 -31
deleted file mode 100644
index 0d69fc58..00000000
@@ -1,31 +0,0 @@
-DESCRIPTION = "A powerful URL router and dispatcher for golang."
-HOMEPAGE = "https://github.com/gorilla/mux"
-SECTION = "devel/go"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c30eee78985cf2584cded5f89ba3d787"
-
-SRCNAME = "mux"
-
-PKG_NAME = "github.com/gorilla/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
-
-SRCREV = "85123bf20e069b156415b871dea10517f6a8938a"
-
-S = "${WORKDIR}/git"
-
-do_configure[noexec] = "1"
-do_compile[noexec] = "1"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_mux_sysroot_preprocess"
-
-go_mux_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-patricia_git.bb deleted +0 -29
deleted file mode 100644
index 0a3c3f35..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "A generic patricia trie (also called radix tree) implemented in Go (Golang)"
-HOMEPAGE = "https://github.com/gorilla/context"
-SECTION = "devel/go"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=9949b99212edd6b1e24ce702376c3baf"
-
-SRCNAME = "go-patricia"
-
-PKG_NAME = "github.com/tchap/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
-
-SRCREV = "666120de432aea38ab06bd5c818f04f4129882c9"
-PV = "2.2.6+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_patricia_sysroot_preprocess"
-
-go_patricia_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-pty_git.bb deleted +0 -28
deleted file mode 100644
index 132e82d1..00000000
@@ -1,28 +0,0 @@
-DESCRIPTION = "PTY interface for Go"
-HOMEPAGE = "https://github.com/creack/pty"
-SECTION = "devel/go"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://License;md5=93958070863d769117fa33b129020050"
-
-SRCNAME = "pty"
-
-PKG_NAME = "github.com/creack/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
-
-SRCREV = "05017fcccf23c823bfdea560dcc958a136e54fb7"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_pty_sysroot_preprocess"
-
-go_pty_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-systemd_git.bb deleted +0 -31
deleted file mode 100644
index 3aa837aa..00000000
@@ -1,31 +0,0 @@
-DESCRIPTION = "Go bindings to systemd socket activation, journal, D-Bus, and unit files"
-HOMEPAGE = "https://github.com/coreos/go-systemd"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=19cbd64715b51267a47bf3750cc6a8a5"
-
-SRCNAME = "systemd"
-
-PKG_NAME = "github.com/coreos/go-${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
-
-SRCREV = "b4a58d95188dd092ae20072bac14cece0e67c388"
-PV = "4+git"
-
-RDEPENDS:${PN} += "bash"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_systemd_sysroot_preprocess"
-
-go_systemd_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/grpc-go_git.bb deleted +0 -45
deleted file mode 100644
index 7989c02f..00000000
@@ -1,45 +0,0 @@
-DESCRIPTION = "The Go language implementation of gRPC. HTTP/2 based RPC"
-HOMEPAGE = "https://github.com/grpc/grpc-go"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
-
-SRCNAME = "grpc-go"
-
-PKG_NAME = "google.golang.org/grpc"
-SRC_URI = "git://github.com/grpc/${SRCNAME}.git;destsuffix=git/src/${PKG_NAME};branch=v1.59.x;protocol=https"
-
-SRCREV = "7765221f4bf6104973db7946d56936cf838cad46"
-PV = "1.59.0+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
-           if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-               mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-           fi
-           cp $j ${D}${prefix}/local/go/$j
-       done
-       cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_grpc_sysroot_preprocess"
-
-go_grpc_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += " \
-    ${prefix}/local/go/src/${PKG_NAME}/* \
-"
-
-# some CVEs are reported with "cpe:2.3:a:grpc:grpc:*:*:*:*:*:go:*:*"
-# it's better to have false positives than false negatives
-CVE_PRODUCT += "grpc"
recipes-devtools/go/notary_git.bb deleted +0 -40
deleted file mode 100644
index 1b877d62..00000000
@@ -1,39 +0,0 @@
-DESCRIPTION = "Notary is a Docker project that allows anyone to have trust over arbitrary collections of data"
-HOMEPAGE = "https://github.com/docker/notary"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=3596b980bb036e0875174ed15e4b982a"
-
-SRCNAME = "notary"
-
-PKG_NAME = "github.com/docker/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https"
-
-SRCREV = "d6e1431feb32348e0650bf7551ac5cffd01d857b"
-PV = "0.6.1+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
-           if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-               mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-           fi
-           cp $j ${D}${prefix}/local/go/$j
-       done
-       cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_notary_sysroot_preprocess"
-
-go_notary_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
--

2.42.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8587): https://lists.yoctoproject.org/g/meta-virtualization/message/8587
Mute This Topic: https://lists.yoctoproject.org/mt/104598181/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
author
#5 lore raw

Re: [meta-virtualization][PATCH 3/4] meta-virt: remove pure go source packages

Quoted 8 lines · Bruce Ashfield
Quoted 6 lines · Chen Qi via lists.yoctoproject.org

From: Chen Qi <[email protected]>

These pure go source packages are no longer needed. They were added to satisfy build dependency. But we now have another way for the go mod vendoring, we don't need them any more. There recipes are also not depended upon by any recipe in meta-virt.

Quoted 6 lines

I'm actually going to mark them as depreciated and generate a build warning if they are used.

The plan was to remove them in the 2nd half of this year.

Bruce

Got it. Thanks.

Regards,

Qi

Quoted 871 lines
Quoted 870 lines
---
  recipes-containers/go-digest/go-digest_git.bb | 41 -----------------
  recipes-containers/go-errors/go-errors_git.bb | 41 -----------------
  .../go-spf13-cobra/spf13-cobra_git.bb         | 41 -----------------
  .../go-spf13-pflag/spf13-pflag_git.bb         | 41 -----------------
  recipes-devtools/go/compose-file_git.bb       | 41 -----------------
  recipes-devtools/go/go-capability_git.bb      | 29 ------------
  recipes-devtools/go/go-cli_git.bb             | 29 ------------
  recipes-devtools/go/go-connections_git.bb     | 39 ----------------
  recipes-devtools/go/go-context_git.bb         | 34 --------------
  recipes-devtools/go/go-dbus_git.bb            | 29 ------------
  recipes-devtools/go/go-distribution_git.bb    | 39 ----------------
  recipes-devtools/go/go-fsnotify_git.bb        | 29 ------------
  recipes-devtools/go/go-libtrust_git.bb        | 29 ------------
  recipes-devtools/go/go-logrus_git.bb          | 29 ------------
  recipes-devtools/go/go-mux_git.bb             | 31 -------------
  recipes-devtools/go/go-patricia_git.bb        | 29 ------------
  recipes-devtools/go/go-pty_git.bb             | 28 ------------
  recipes-devtools/go/go-systemd_git.bb         | 31 -------------
  recipes-devtools/go/grpc-go_git.bb            | 45 -------------------
  recipes-devtools/go/notary_git.bb             | 39 ----------------
  20 files changed, 694 deletions(-)

delete mode 100644 recipes-containers/go-digest/go-digest_git.bb delete mode 100644 recipes-containers/go-errors/go-errors_git.bb delete mode 100644 recipes-containers/go-spf13-cobra/spf13-cobra_git.bb delete mode 100644 recipes-containers/go-spf13-pflag/spf13-pflag_git.bb delete mode 100644 recipes-devtools/go/compose-file_git.bb delete mode 100644 recipes-devtools/go/go-capability_git.bb delete mode 100644 recipes-devtools/go/go-cli_git.bb
delete mode 100644 recipes-devtools/go/go-connections_git.bb delete mode 100644 recipes-devtools/go/go-context_git.bb delete mode 100644 recipes-devtools/go/go-dbus_git.bb delete mode 100644 recipes-devtools/go/go-distribution_git.bb delete mode 100644 recipes-devtools/go/go-fsnotify_git.bb delete mode 100644 recipes-devtools/go/go-libtrust_git.bb delete mode 100644 recipes-devtools/go/go-logrus_git.bb delete mode 100644 recipes-devtools/go/go-mux_git.bb
delete mode 100644 recipes-devtools/go/go-patricia_git.bb delete mode 100644 recipes-devtools/go/go-pty_git.bb
delete mode 100644 recipes-devtools/go/go-systemd_git.bb delete mode 100644 recipes-devtools/go/grpc-go_git.bb delete mode 100644 recipes-devtools/go/notary_git.bb

recipes-containers/go-digest/go-digest_git.bb deleted +0 -41
deleted file mode 100644
index a231cf7b..00000000
@@ -1,41 +0,0 @@
-DESCRIPTION = "Common digest package used across the container ecosystem."
-HOMEPAGE = "https://github.com/opencontainers/go-digest.git"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=2d6fc0e85c3f118af64c85a78d56d3cf"
-
-SRCNAME = "go-digest"
-
-PKG_NAME = "github.com/opencontainers/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=master;protocol=https"
-
-SRCREV = "65fac7b55eb714642e9359458656939349dcb766"
-PV = "v1.0.0-rc0+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
-           if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-               mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-           fi
-           cp $j ${D}${prefix}/local/go/$j
-       done
-       cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_digest_file_sysroot_preprocess"
-
-go_digest_file_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
-
-CLEANBROKEN = "1"
recipes-containers/go-errors/go-errors_git.bb deleted +0 -41
deleted file mode 100644
index 87486358..00000000
@@ -1,41 +0,0 @@
-DESCRIPTION = "Simple error handling primitives"
-HOMEPAGE = "https://github.com/pkg/errors"
-SECTION = "devel/go"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=6fe682a02df52c6653f33bd0f7126b5a"
-
-SRCNAME = "errors"
-
-PKG_NAME = "github.com/pkg/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=master;protocol=https"
-
-SRCREV = "5dd12d0cfe7f152f80558d591504ce685299311e"
-PV = "v0.8.1+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go" -not -path "*/.tool/*"); do
-           if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-               mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-           fi
-           cp $j ${D}${prefix}/local/go/$j
-       done
-       cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_errors_file_sysroot_preprocess"
-
-go_errors_file_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
-
-CLEANBROKEN = "1"
recipes-containers/go-spf13-cobra/spf13-cobra_git.bb deleted +0 -41
deleted file mode 100644
index c6629014..00000000
@@ -1,41 +0,0 @@
-DESCRIPTION = "A Commander for modern Go CLI interactions"
-HOMEPAGE = "https://github.com/spf13/cobra"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE.txt;md5=920d76114a32b0fb75b3f2718c5a91be"
-
-SRCNAME = "cobra"
-
-PKG_NAME = "github.com/spf13/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=main;protocol=https"
-
-SRCREV = "4dd4b25de38418174a6e859e8a32eaccca32dccc"
-PV = "v1.6.0+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go" -not -path "*/.tool/*"); do
-           if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-               mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-           fi
-           cp $j ${D}${prefix}/local/go/$j
-       done
-       cp -r ${S}/src/${PKG_NAME}/LICENSE.txt ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "cobra_file_sysroot_preprocess"
-
-cobra_file_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
-
-CLEANBROKEN = "1"
recipes-containers/go-spf13-pflag/spf13-pflag_git.bb deleted +0 -41
deleted file mode 100644
index 201f183a..00000000
@@ -1,41 +0,0 @@
-DESCRIPTION = "Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags."
-HOMEPAGE = "https://github.com/spf13/pflag"
-SECTION = "devel/go"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=1e8b7dc8b906737639131047a590f21d"
-
-SRCNAME = "pflag"
-
-PKG_NAME = "github.com/spf13/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=master;protocol=https"
-
-SRCREV = "d5e0c0615acee7028e1e2740a11102313be88de1"
-PV = "v1.0.5+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go" -not -path "*/.tool/*"); do
-           if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-               mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-           fi
-           cp $j ${D}${prefix}/local/go/$j
-       done
-       cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "pflag_file_sysroot_preprocess"
-
-pflag_file_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
-
-CLEANBROKEN = "1"
recipes-devtools/go/compose-file_git.bb deleted +0 -41
deleted file mode 100644
index 7fedc407..00000000
@@ -1,41 +0,0 @@
-DESCRIPTION = "Parser for the Compose file format (version 3)"
-HOMEPAGE = "https://github.com/aanand/compose-file"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=9cd86830b557232ce55e2a6b47387471"
-
-SRCNAME = "compose-file"
-
-PKG_NAME = "github.com/aanand/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https"
-
-SRCREV = "a3e58764f50597b6217fec07e9bff7225c4a1719"
-PV = "3.0+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
-           if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-               mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-           fi
-           cp $j ${D}${prefix}/local/go/$j
-       done
-       cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_compose_file_sysroot_preprocess"
-
-go_compose_file_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
-
-CLEANBROKEN = "1"
recipes-devtools/go/go-capability_git.bb deleted +0 -29
deleted file mode 100644
index e01a83d1..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "Utilities for manipulating POSIX capabilities in Go."
-HOMEPAGE = "https://github.com/syndtr/gocapability"
-SECTION = "devel/go"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a7304f5073e7be4ba7bffabbf9f2bbca"
-
-SRCNAME = "gocapability"
-
-PKG_NAME = "github.com/syndtr/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
-
-SRCREV = "2c00daeb6c3b45114c80ac44119e7b8801fdd852"
-PV = "0.0+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_capability_sysroot_preprocess"
-
-go_capability_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-cli_git.bb deleted +0 -29
deleted file mode 100644
index affe38ec..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "A small package for building command line apps in Go"
-HOMEPAGE = "https://github.com/codegangsta/cli"
-SECTION = "devel/go"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=ed9b539ed65d73926f30ff1f1587dc44"
-
-SRCNAME = "cli"
-
-PKG_NAME = "github.com/codegangsta/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
-
-SRCREV = "27ecc97192df1bf053a22b04463f2b51b8b8373e"
-PV = "1.1.0+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_cli_sysroot_preprocess"
-
-go_cli_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-connections_git.bb deleted +0 -39
deleted file mode 100644
index 7e8f020d..00000000
@@ -1,39 +0,0 @@
-DESCRIPTION = "Utility package to work with network connections"
-HOMEPAGE = "https://github.com/docker/connections"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=04424bc6f5a5be60691b9824d65c2ad8"
-
-SRCNAME = "go-connections"
-
-PKG_NAME = "github.com/docker/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https"
-
-SRCREV = "4ccf312bf1d35e5dbda654e57a9be4c3f3cd0366"
-PV = "0.2.1+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
-           if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-               mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-           fi
-           cp $j ${D}${prefix}/local/go/$j
-       done
-       cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_connections_sysroot_preprocess"
-
-go_connections_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-context_git.bb deleted +0 -34
deleted file mode 100644
index 580463d3..00000000
@@ -1,34 +0,0 @@
-DESCRIPTION = "A golang registry for global request variables."
-HOMEPAGE = "https://github.com/gorilla/context"
-SECTION = "devel/go"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c30eee78985cf2584cded5f89ba3d787"
-
-SRCNAME = "context"
-
-PKG_NAME = "github.com/gorilla/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
-
-SRCREV = "1cbd4c16de64273a6e63fc710b0d89bfad72cd32"
-
-S = "${WORKDIR}/git"
-
-do_compile() {
-    true
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_context_sysroot_preprocess"
-
-go_context_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
-
-CLEANBROKEN = "1"
recipes-devtools/go/go-dbus_git.bb deleted +0 -29
deleted file mode 100644
index 49b2de3b..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "Native Go bindings for D-Bus"
-HOMEPAGE = "https://github.com/godbus/dbus"
-SECTION = "devel/go"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=09042bd5c6c96a2b9e45ddf1bc517eed"
-
-SRCNAME = "dbus"
-
-PKG_NAME = "github.com/godbus/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
-
-SRCREV = "5f6efc7ef2759c81b7ba876593971bfce311eab3"
-PV = "4.0.0+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_dbus_sysroot_preprocess"
-
-go_dbus_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-distribution_git.bb deleted +0 -39
deleted file mode 100644
index dd98a317..00000000
@@ -1,39 +0,0 @@
-DESCRIPTION = "The Docker toolset to pack, ship, store, and deliver content"
-HOMEPAGE = "https://github.com/docker/distribution"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=d2794c0df5b907fdace235a619d80314"
-
-SRCNAME = "distribution"
-
-PKG_NAME = "github.com/docker/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=docker/1.13;destsuffix=git/src/${PKG_NAME};protocol=https"
-
-SRCREV = "28602af35aceda2f8d571bad7ca37a54cf0250bc"
-PV = "2.6.0+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
-           if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-               mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-           fi
-           cp $j ${D}${prefix}/local/go/$j
-       done
-       cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_distribution_digeset_sysroot_preprocess"
-
-go_distribution_digeset_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-fsnotify_git.bb deleted +0 -29
deleted file mode 100644
index 052658b8..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "A golang registry for global request variables."
-HOMEPAGE = "https://github.com/go-fsnotify/fsnotify"
-SECTION = "devel/go"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=68f2948d3c4943313d07e084a362486c"
-
-SRCNAME = "fsnotify"
-
-PKG_NAME = "github.com/fsnotify/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
-
-SRCREV = "af855d7e6014ec848882bb2ed7d40d536872d275"
-PV = "v1.5.1+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_fsnotify_sysroot_preprocess"
-
-go_fsnotify_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-libtrust_git.bb deleted +0 -29
deleted file mode 100644
index c578008a..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "Primitives for identity and authorization"
-HOMEPAGE = "https://github.com/docker/libtrust"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=435b266b3899aa8a959f17d41c56def8"
-
-SRCNAME = "libtrust"
-
-PKG_NAME = "github.com/docker/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
-
-SRCREV = "9cbd2a1374f46905c68a4eb3694a130610adc62a"
-PV = "0.0+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_libtrust_sysroot_preprocess"
-
-go_libtrust_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-logrus_git.bb deleted +0 -29
deleted file mode 100644
index 211d07c9..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "A golang registry for global request variables."
-HOMEPAGE = "https://github.com/Sirupsen/logrus"
-SECTION = "devel/go"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8dadfef729c08ec4e631c4f6fc5d43a0"
-
-SRCNAME = "logrus"
-
-PKG_NAME = "github.com/sirupsen/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME};branch=master;protocol=https"
-
-SRCREV = "d26492970760ca5d33129d2d799e34be5c4782eb"
-PV = "0.11.0+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_logrus_sysroot_preprocess"
-
-go_logrus_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-mux_git.bb deleted +0 -31
deleted file mode 100644
index 0d69fc58..00000000
@@ -1,31 +0,0 @@
-DESCRIPTION = "A powerful URL router and dispatcher for golang."
-HOMEPAGE = "https://github.com/gorilla/mux"
-SECTION = "devel/go"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c30eee78985cf2584cded5f89ba3d787"
-
-SRCNAME = "mux"
-
-PKG_NAME = "github.com/gorilla/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
-
-SRCREV = "85123bf20e069b156415b871dea10517f6a8938a"
-
-S = "${WORKDIR}/git"
-
-do_configure[noexec] = "1"
-do_compile[noexec] = "1"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_mux_sysroot_preprocess"
-
-go_mux_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-patricia_git.bb deleted +0 -29
deleted file mode 100644
index 0a3c3f35..00000000
@@ -1,29 +0,0 @@
-DESCRIPTION = "A generic patricia trie (also called radix tree) implemented in Go (Golang)"
-HOMEPAGE = "https://github.com/gorilla/context"
-SECTION = "devel/go"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=9949b99212edd6b1e24ce702376c3baf"
-
-SRCNAME = "go-patricia"
-
-PKG_NAME = "github.com/tchap/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
-
-SRCREV = "666120de432aea38ab06bd5c818f04f4129882c9"
-PV = "2.2.6+git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_patricia_sysroot_preprocess"
-
-go_patricia_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-pty_git.bb deleted +0 -28
deleted file mode 100644
index 132e82d1..00000000
@@ -1,28 +0,0 @@
-DESCRIPTION = "PTY interface for Go"
-HOMEPAGE = "https://github.com/creack/pty"
-SECTION = "devel/go"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://License;md5=93958070863d769117fa33b129020050"
-
-SRCNAME = "pty"
-
-PKG_NAME = "github.com/creack/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
-
-SRCREV = "05017fcccf23c823bfdea560dcc958a136e54fb7"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_pty_sysroot_preprocess"
-
-go_pty_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-systemd_git.bb deleted +0 -31
deleted file mode 100644
index 3aa837aa..00000000
@@ -1,31 +0,0 @@
-DESCRIPTION = "Go bindings to systemd socket activation, journal, D-Bus, and unit files"
-HOMEPAGE = "https://github.com/coreos/go-systemd"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=19cbd64715b51267a47bf3750cc6a8a5"
-
-SRCNAME = "systemd"
-
-PKG_NAME = "github.com/coreos/go-${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
-
-SRCREV = "b4a58d95188dd092ae20072bac14cece0e67c388"
-PV = "4+git"
-
-RDEPENDS:${PN} += "bash"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_systemd_sysroot_preprocess"
-
-go_systemd_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/grpc-go_git.bb deleted +0 -45
deleted file mode 100644
index 7989c02f..00000000
@@ -1,45 +0,0 @@
-DESCRIPTION = "The Go language implementation of gRPC. HTTP/2 based RPC"
-HOMEPAGE = "https://github.com/grpc/grpc-go"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
-
-SRCNAME = "grpc-go"
-
-PKG_NAME = "google.golang.org/grpc"
-SRC_URI = "git://github.com/grpc/${SRCNAME}.git;destsuffix=git/src/${PKG_NAME};branch=v1.59.x;protocol=https"
-
-SRCREV = "7765221f4bf6104973db7946d56936cf838cad46"
-PV = "1.59.0+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
-           if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-               mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-           fi
-           cp $j ${D}${prefix}/local/go/$j
-       done
-       cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_grpc_sysroot_preprocess"
-
-go_grpc_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += " \
-    ${prefix}/local/go/src/${PKG_NAME}/* \
-"
-
-# some CVEs are reported with "cpe:2.3:a:grpc:grpc:*:*:*:*:*:go:*:*"
-# it's better to have false positives than false negatives
-CVE_PRODUCT += "grpc"
recipes-devtools/go/notary_git.bb deleted +0 -40
deleted file mode 100644
index 1b877d62..00000000
@@ -1,39 +0,0 @@
-DESCRIPTION = "Notary is a Docker project that allows anyone to have trust over arbitrary collections of data"
-HOMEPAGE = "https://github.com/docker/notary"
-SECTION = "devel/go"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=3596b980bb036e0875174ed15e4b982a"
-
-SRCNAME = "notary"
-
-PKG_NAME = "github.com/docker/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https"
-
-SRCREV = "d6e1431feb32348e0650bf7551ac5cffd01d857b"
-PV = "0.6.1+git"
-
-S = "${WORKDIR}/git"
-
-# NO-OP the do compile rule because this recipe is source only.
-do_compile() {
-}
-
-do_install() {
-       install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-       for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
-           if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
-               mkdir -p ${D}${prefix}/local/go/$(dirname $j)
-           fi
-           cp $j ${D}${prefix}/local/go/$j
-       done
-       cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "go_notary_sysroot_preprocess"
-
-go_notary_sysroot_preprocess () {
-    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
-    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
-}
-
-FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
--

2.42.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8587): https://lists.yoctoproject.org/g/meta-virtualization/message/8587
Mute This Topic: https://lists.yoctoproject.org/mt/104598181/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#6 lore raw

PATCH 4/4 meta-virt: rename containerd-opencontainers to containerd

In reply to [email protected]

From: Chen Qi <[email protected]>

We had two containerd recipes, containerd-opencontainers and containerd-docker. But now we have only one containerd recipe. We should just use the name 'containerd'.

The previous CVE_PRODUCT setting in containerd-opencontainers is deleted, as it's no longer needed.

The 'containerd-opencontainers' is added in PROVIDES and RPROVIDES for backward compatibility.

---
 conf/layer.conf                                             | 2 +-
 ...kefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch | 0
 .../0001-build-don-t-use-gcflags-to-define-trimpath.patch   | 0
 .../{containerd-opencontainers_git.bb => containerd_git.bb} | 6 ++----
 4 files changed, 3 insertions(+), 5 deletions(-)
 rename recipes-containers/containerd/{containerd-opencontainers => containerd}/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch (100%)
 rename recipes-containers/containerd/{containerd-opencontainers => containerd}/0001-build-don-t-use-gcflags-to-define-trimpath.patch (100%)
 rename recipes-containers/containerd/{containerd-opencontainers_git.bb => containerd_git.bb} (96%)
conf/layer.conf +1 -1
index c44d585c..fa9468f3 100644
@@ -40,7 +40,7 @@ LAYERRECOMMENDS_virtualization-layer = " \
 require conf/distro/include/virt_security_flags.inc
 
 PREFERRED_PROVIDER_virtual/runc ?= "runc-opencontainers"
-PREFERRED_PROVIDER_virtual/containerd ?= "containerd-opencontainers"
+PREFERRED_PROVIDER_virtual/containerd ?= "containerd"
 PREFERRED_PROVIDER_virtual/docker ?= "docker-moby"
 
 # Sanity check for meta-virtualization layer.
recipes-containers/containerd/containerd/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch renamed from recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch +0 -0
similarity index 100%
rename from recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch
rename to recipes-containers/containerd/containerd/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch
recipes-containers/containerd/containerd/0001-build-don-t-use-gcflags-to-define-trimpath.patch renamed from recipes-containers/containerd/containerd-opencontainers/0001-build-don-t-use-gcflags-to-define-trimpath.patch +0 -0
similarity index 100%
rename from recipes-containers/containerd/containerd-opencontainers/0001-build-don-t-use-gcflags-to-define-trimpath.patch
rename to recipes-containers/containerd/containerd/0001-build-don-t-use-gcflags-to-define-trimpath.patch
recipes-containers/containerd/containerd_git.bb renamed from recipes-containers/containerd/containerd-opencontainers_git.bb +2 -4
similarity index 96%
rename from recipes-containers/containerd/containerd-opencontainers_git.bb
rename to recipes-containers/containerd/containerd_git.bb
index 1dadf287..ac874397 100644
@@ -20,8 +20,8 @@ CVE_VERSION = "v2.0.0-beta.0"
 
 # EXTRA_OEMAKE += "GODEBUG=1"
 
-PROVIDES += "virtual/containerd"
-RPROVIDES:${PN} = "virtual-containerd"
+PROVIDES += "virtual/containerd containerd-opencontainers"
+RPROVIDES:${PN} = "virtual-containerd containerd-opencontainers"
 
 S = "${WORKDIR}/git/src/github.com/containerd/containerd"
 
@@ -96,5 +96,3 @@ INSANE_SKIP:${PN} += "ldflags already-stripped"
 COMPATIBLE_HOST = "^(?!(qemu)?mips).*"
 
 RDEPENDS:${PN} += " ${VIRTUAL-RUNTIME_container_runtime}"
-
-CVE_PRODUCT = "containerd"
Signature · 1 line
2.42.0
#7 lore raw

Re: [meta-virtualization][PATCH 4/4] meta-virt: rename containerd-opencontainers to containerd

Quoted 7 lines · Chen Qi via lists.yoctoproject.org

From: Chen Qi <[email protected]>

We had two containerd recipes, containerd-opencontainers and containerd-docker. But now we have only one containerd recipe. We should just use the name 'containerd'.

Quoted 5 lines

The previous CVE_PRODUCT setting in containerd-opencontainers is deleted, as it's no longer needed.

The 'containerd-opencontainers' is added in PROVIDES and RPROVIDES for backward compatibility.

As previously mentioned, I'm going to keep this as-is for now.

Cheers,

Bruce

Quoted 69 lines
---
 conf/layer.conf                                             | 2 +-
 ...kefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch | 0
 .../0001-build-don-t-use-gcflags-to-define-trimpath.patch   | 0
 .../{containerd-opencontainers_git.bb => containerd_git.bb} | 6 ++----
 4 files changed, 3 insertions(+), 5 deletions(-)
 rename recipes-containers/containerd/{containerd-opencontainers => containerd}/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch (100%)
 rename recipes-containers/containerd/{containerd-opencontainers => containerd}/0001-build-don-t-use-gcflags-to-define-trimpath.patch (100%)
 rename recipes-containers/containerd/{containerd-opencontainers_git.bb => containerd_git.bb} (96%)
conf/layer.conf +1 -1
index c44d585c..fa9468f3 100644
@@ -40,7 +40,7 @@ LAYERRECOMMENDS_virtualization-layer = " \
 require conf/distro/include/virt_security_flags.inc
 
 PREFERRED_PROVIDER_virtual/runc ?= "runc-opencontainers"
-PREFERRED_PROVIDER_virtual/containerd ?= "containerd-opencontainers"
+PREFERRED_PROVIDER_virtual/containerd ?= "containerd"
 PREFERRED_PROVIDER_virtual/docker ?= "docker-moby"
 
 # Sanity check for meta-virtualization layer.
recipes-containers/containerd/containerd/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch renamed from recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch +0 -0
similarity index 100%
rename from recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch
rename to recipes-containers/containerd/containerd/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch
recipes-containers/containerd/containerd/0001-build-don-t-use-gcflags-to-define-trimpath.patch renamed from recipes-containers/containerd/containerd-opencontainers/0001-build-don-t-use-gcflags-to-define-trimpath.patch +0 -0
similarity index 100%
rename from recipes-containers/containerd/containerd-opencontainers/0001-build-don-t-use-gcflags-to-define-trimpath.patch
rename to recipes-containers/containerd/containerd/0001-build-don-t-use-gcflags-to-define-trimpath.patch
recipes-containers/containerd/containerd_git.bb renamed from recipes-containers/containerd/containerd-opencontainers_git.bb +2 -5
similarity index 96%
rename from recipes-containers/containerd/containerd-opencontainers_git.bb
rename to recipes-containers/containerd/containerd_git.bb
index 1dadf287..ac874397 100644
@@ -20,8 +20,8 @@ CVE_VERSION = "v2.0.0-beta.0"
 
 # EXTRA_OEMAKE += "GODEBUG=1"
 
-PROVIDES += "virtual/containerd"
-RPROVIDES:${PN} = "virtual-containerd"
+PROVIDES += "virtual/containerd containerd-opencontainers"
+RPROVIDES:${PN} = "virtual-containerd containerd-opencontainers"
 
 S = "${WORKDIR}/git/src/github.com/containerd/containerd"
 
@@ -96,5 +96,3 @@ INSANE_SKIP:${PN} += "ldflags already-stripped"
 COMPATIBLE_HOST = "^(?!(qemu)?mips).*"
 
 RDEPENDS:${PN} += " ${VIRTUAL-RUNTIME_container_runtime}"
-
-CVE_PRODUCT = "containerd"
--

2.42.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8585): https://lists.yoctoproject.org/g/meta-virtualization/message/8585
Mute This Topic: https://lists.yoctoproject.org/mt/104598179/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#8 lore raw
In reply to [email protected]

This patch is fine. I'll queue it shortly, once I work through some other upgrade issues.

Bruce

Quoted 42 lines · Chen Qi via lists.yoctoproject.org

From: Chen Qi <[email protected]>

These deps no longer have any effect. Remove them.

---
 .../oci-image-tools/oci-image-tools_git.bb               | 9 ---------
 1 file changed, 9 deletions(-)
recipes-containers/oci-image-tools/oci-image-tools_git.bb +0 -10
index b925a2a7..ade6534d 100644
@@ -3,15 +3,6 @@ SUMMARY = "A collection of tools for working with the OCI image format specifica
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
 
-DEPENDS = "\
-           oci-image-spec \
-           oci-runtime-spec \
-           go-digest \
-           go-errors \
-           spf13-cobra \
-           spf13-pflag \
-          "
-
 SRC_URI = "git://github.com/opencontainers/image-tools.git;branch=master;protocol=https;destsuffix=git/src/github.com/opencontainers/image-tools \
            file://0001-config-make-Config.User-mapping-errors-a-warning.patch \
            file://0001-tool-respect-GO-and-GOBUILDFLAGS-when-building.patch"
--

2.42.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8586): https://lists.yoctoproject.org/g/meta-virtualization/message/8586
Mute This Topic: https://lists.yoctoproject.org/mt/104598180/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
author
#9 lore raw
Quoted 4 lines · Bruce Ashfield

This patch is fine. I'll queue it shortly, once I work through some other upgrade issues.

Bruce

Thanks Bruce.

I'm also going to upgrade some go recipes in meta-virt. I will not touch those queued in master-next. Is there any other recipe you're working on or planning to work on?

I found, just two days ago, that the go version in oe-core is 1.20. At the same time, I found oe-core has feature freezed. This would cause some trouble, I guess. So my initial plan was to upgrade the go recipes in meta-virt to the highest version that are compatible with go 1.20.

Now there are patches in mailing list to upgrade go to 1.21. Given the feature freeze fact, I'm not sure if the go 1.21 upgrade will make it into this LTS 5.0 release, especially with the dynlinking issue. I've also replied the email to check.

Regards,

Qi

Quoted 45 lines
Quoted 41 lines · Chen Qi via lists.yoctoproject.org

From: Chen Qi <[email protected]>

These deps no longer have any effect. Remove them.

---
  .../oci-image-tools/oci-image-tools_git.bb               | 9 ---------
  1 file changed, 9 deletions(-)
recipes-containers/oci-image-tools/oci-image-tools_git.bb +0 -10
index b925a2a7..ade6534d 100644
@@ -3,15 +3,6 @@ SUMMARY = "A collection of tools for working with the OCI image format specifica
  LICENSE = "Apache-2.0"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
 
-DEPENDS = "\
-           oci-image-spec \
-           oci-runtime-spec \
-           go-digest \
-           go-errors \
-           spf13-cobra \
-           spf13-pflag \
-          "
-
  SRC_URI = "git://github.com/opencontainers/image-tools.git;branch=master;protocol=https;destsuffix=git/src/github.com/opencontainers/image-tools \
             file://0001-config-make-Config.User-mapping-errors-a-warning.patch \
             file://0001-tool-respect-GO-and-GOBUILDFLAGS-when-building.patch"
--

2.42.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8586): https://lists.yoctoproject.org/g/meta-virtualization/message/8586
Mute This Topic: https://lists.yoctoproject.org/mt/104598180/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#10 lore raw
Quoted 5 lines · ChenQi
Quoted 3 lines · Bruce Ashfield

This patch is fine. I'll queue it shortly, once I work through some other upgrade issues.

Quoted 7 lines
Quoted 1 line

Bruce

Thanks Bruce.

I'm also going to upgrade some go recipes in meta-virt. I will not touch those queued in master-next. Is there any other recipe you're working on or planning to work on?

I have upgrades in flight for pretty much all the packages in meta-virt, this is the window that I do the updates. I do one early in the cycle, and then another in the m3 timeframe. I won't take or do any more package bumps (except for significant CVEs) until post release once I get done with these upgrades.

So there's no need to send updates to any of those packages at this time. If there's a package that I need help with, I tend to push it as broken to master-next, ceph is the only remaining one like that currently on master-next.

I've just finished up with docker-compose and will move through testing the rest over the next few days.

Quoted 5 lines

I found, just two days ago, that the go version in oe-core is 1.20. At the same time, I found oe-core has feature freezed. This would cause some trouble, I guess. So my initial plan was to upgrade the go recipes in meta-virt to the highest version that are compatible with go 1.20.

See my recent updates on master-next. I'm already taking care of the updates, and I've managed to get some upgraded that claim they need 1.21 through some build side tweaks.

Bruce

Quoted 57 lines

Now there are patches in mailing list to upgrade go to 1.21. Given the feature freeze fact, I'm not sure if the go 1.21 upgrade will make it into this LTS 5.0 release, especially with the dynlinking issue. I've also replied the email to check.

Regards,

Qi

Quoted 45 lines
Quoted 41 lines · Chen Qi via lists.yoctoproject.org

From: Chen Qi <[email protected]>

These deps no longer have any effect. Remove them.

---
  .../oci-image-tools/oci-image-tools_git.bb               | 9 ---------
  1 file changed, 9 deletions(-)
recipes-containers/oci-image-tools/oci-image-tools_git.bb +0 -10
index b925a2a7..ade6534d 100644
@@ -3,15 +3,6 @@ SUMMARY = "A collection of tools for working with the OCI image format specifica
  LICENSE = "Apache-2.0"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
 
-DEPENDS = "\
-           oci-image-spec \
-           oci-runtime-spec \
-           go-digest \
-           go-errors \
-           spf13-cobra \
-           spf13-pflag \
-          "
-
  SRC_URI = "git://github.com/opencontainers/image-tools.git;branch=master;protocol=https;destsuffix=git/src/github.com/opencontainers/image-tools \
             file://0001-config-make-Config.User-mapping-errors-a-warning.patch \
             file://0001-tool-respect-GO-and-GOBUILDFLAGS-when-building.patch"
--

2.42.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8586): https://lists.yoctoproject.org/g/meta-virtualization/message/8586
Mute This Topic: https://lists.yoctoproject.org/mt/104598180/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II