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 <bruce.ashfield@gmail.com>
This commit is contained in:
Bruce Ashfield 2021-05-06 16:35:21 -04:00
parent 040275428d
commit 7690f23071

View File

@ -3,8 +3,8 @@ SUMMARY = "umoci modifies Open Container images"
LICENSE = "Apache-2.0" LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"
RDEPENDS_${PN} = "skopeo \ RDEPENDS_${PN} = "skopeo"
" RDEPENDS_${PN}_class-native = ""
SRCREV_umoci = "758044fc26ad65eb900143e90d1e22c2d6e4484d" SRCREV_umoci = "758044fc26ad65eb900143e90d1e22c2d6e4484d"
SRC_URI = "git://github.com/opencontainers/umoci.git;branch=master;name=umoci;destsuffix=github.com/opencontainers/umoci \ 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" INSANE_SKIP_${PN} += "ldflags already-stripped"
BBCLASSEXTEND = "native"