From 2961677b6a97bd3e93aa879503537f611f0202d4 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 28 Feb 2024 14:14:37 +0000 Subject: devtools: depreciate the go source-only packages We are now using vendoring from the upstream repos, or creating our own vendor directory. We no longer need these source only recipes. Add an inherit to each recipe to warn that it will be removed in the future. Signed-off-by: Bruce Ashfield --- recipes-containers/go-spf13-cobra/spf13-cobra_git.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-containers/go-spf13-cobra') diff --git a/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb b/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb index c6629014..8dfb0692 100644 --- a/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb +++ b/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb @@ -18,6 +18,8 @@ S = "${WORKDIR}/git" do_compile() { } +inherit meta-virt-depreciated-warning + 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 -- cgit v1.2.3-54-g00ecf