meta-virtualization/recipes-containers/oci-image-spec/oci-image-spec_git.bb
Bruce Ashfield cf55d44e94 oci-image-spec: update to 1.0.1-latest
Bumping image-spec to version v1.0.1-97-g54a822e, which comprises the following commits:

    fc4df0a Fix very minor oversight in config example
    08dd547 media-types.md: clarify differences from Docker media types
    170393e Embedded other platform fields in image spec
    ebb32fd Use registry.example.com as example default registry
    0e20f8a Add CPU variant to image config
    a2b7b2f expected type/subtype test for descriptors should have comment that references failure, not success
    875b7e5 pullapprove: remove defunct config
    3b938ac Drop link to OCI scope table
    ee4bfe1 Add background to png images
    eaa222c image.base.ref.name -> image.base.name based on stevvooe's feedback
    4221034 CODEOWNERS: switching from pullapprove to github builtin
    4feeaac Describe how index manifests should work with base image annotations
    a25f547 Removing Link Introduction
    54bc9b7 Fix typo
    b619890 Makefile: switch to the new OCI container image
    9ed9683 adding github workflow to render docs and lint
    87bb9f8 Create EMERITUS.md to recognize old maintainers
    71ccc68 Add standard base image annotations
    c435dd5 Remove Keyang Xie as a maintainer
    a4ddb1f MAINTAINERS: update jonboulle email address
    37e228a Update vbatts email address in MAINTAINERS
    5f0d52c Replace Jason B with Jon J in image-spec maintainers
    4366201 pandoc: point to a joint OCI org image
    8211213 fixed typo in image-layout
    78c42f4 Remove go4.org dependency
    43022b9 MAINTAINERS: remove Brandon Philips @philips
    8c25739 mediatype of layers should be application/vnd.oci.image.layer.v1.tar+gzip
    c3a73dc zstd: add constants to specs-go/v1
    d420390 README.md: return to one-sentence-per-line format
    ea8062d Reference "org" repo for meeting info
    1a29e86 media-types: Define layer media types suffix '+zstd'
    042b4d7 Run tests with go 1.12
    3d3783d Fix linting error
    bd4f8fc annotations.md: Fix a small typo
    c5f603f Fix table header grammar in annotations

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-10-18 14:05:35 -04:00

42 lines
1.3 KiB
BlitzBasic

DESCRIPTION = "The OCI Image Format project creates and maintains the software shipping container image format spec"
HOMEPAGE = "https://github.com/opencontainers/image-spec"
SECTION = "devel/go"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=27ef03aa2da6e424307f102e8b42621d"
SRCNAME = "image-spec"
PKG_NAME = "github.com/opencontainers/${SRCNAME}"
SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=main"
SRCREV = "54a822e528b91c8db63b873ad56daf200a2e5e61"
PV = "v1.0.1+git${SRCPV}"
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
cp --parents $j ${D}${prefix}/local/go/
done
# .tool isn't useful, so remote it.
rm -rf ${D}${prefix}/local/go/src/${PKG_NAME}/.tool/
cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
}
SYSROOT_PREPROCESS_FUNCS += "image_spec_file_sysroot_preprocess"
image_spec_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"