From 7690f230717ce0164de7126caeb5f930f3030be0 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Thu, 6 May 2021 16:35:21 -0400 Subject: umoci: add -native variant In preparation for using umoci along side of sloci as to construct multi later oci images, we need a -native variant. For now, we don't need skopeo on the host side, so we clear it from the class-native RDEPENDS. Skopeo has significant dependencies, so we'd rather avoid ever needing it as a -native tool. Signed-off-by: Bruce Ashfield --- recipes-containers/umoci/umoci_git.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes-containers/umoci/umoci_git.bb b/recipes-containers/umoci/umoci_git.bb index 0f0166a4..5273a70e 100644 --- a/recipes-containers/umoci/umoci_git.bb +++ b/recipes-containers/umoci/umoci_git.bb @@ -3,8 +3,8 @@ SUMMARY = "umoci modifies Open Container images" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" -RDEPENDS_${PN} = "skopeo \ - " +RDEPENDS_${PN} = "skopeo" +RDEPENDS_${PN}_class-native = "" SRCREV_umoci = "758044fc26ad65eb900143e90d1e22c2d6e4484d" SRC_URI = "git://github.com/opencontainers/umoci.git;branch=master;name=umoci;destsuffix=github.com/opencontainers/umoci \ @@ -46,3 +46,5 @@ do_install() { } INSANE_SKIP_${PN} += "ldflags already-stripped" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf