meta-virtualization/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb
Bruce Ashfield 5c7becd086 oci-runtime-spec: update to v1.2.0
Bumping runtime-spec to version v1.2.0-17-g7017384, which comprises the following commits:

    119ae42 Add CPU affinity to executed processes
    2149fb5 config-linux: describe the format of cpus and mems
    c6af124 ci: remove redundunt actions
    d4aa6d8 chore: format JSON file `make -C schema fmt`
    b983fbf CODEOWNERS: remove vbatts
    bf698d0 MAINTAINERS: move vbatts to EMERITUS
    12b653d Update golangci-lint to v1.56.1 in CI
    8547911 Add Go v1.21 and v1.22 to GitHub Actions CI matrix
    1a729af Update GitHub Actions packages to resolve warnings in CI
    65cd1f8 Back to +dev
    36852b0 version: release v1.2.0
    021ba94 config.md: allow empty mappings for [r]idmap
    5e98fec features: add potentiallyUnsafeConfigAnnotations
    cabeea7 specs-go: mark LinuxMemory.Kernel as deprecated
    4005c81 specs-go: add missing deprecation comment for Hooks.Prestart
    2f6b090 config: improve bind mount and propagation doc
    0ec4e6b fix link to hooks in features
    6ffddf6 mount: Allow relative mount destinations on Linux
    f329913 features-linux: Expose idmap information
    7b8eb69 config: add reference to mount_setattr(2) for idmapped mounts
    2547bb0 config: add idmap and ridmap mount options
    3f552ce version: release v1.1.0+dev
    0625254 version: release v1.1.0
    d56ba70 ChangeLog: squash v1.1.0-rc.1...v1.1.0
    5430e36 ChangeLog: Document changes since v1.1.0-rc.3
    2bd22fa features.md: add a note to avoid confusion about annotations
    5612d21 Remove outdated meeting.ics
    085728a README.md: update chat information
    8b4cadd version: v1.1.0-rc.3+dev
    ae35e39 version: release v1.1.0-rc.3
    d8be1e3 ChangeLog: Document changes since v1.1.0-rc.2
    1beaf68 CODEOWNER: Add Toru Komatsu(@utam0) to sync with MAINTAINERS
    fccfb09 config: add support for org.opencontainers.image annotations

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-07-16 14:02:22 +00:00

42 lines
1.4 KiB
BlitzBasic

DESCRIPTION = "The Open Container Initiative develops specifications for standards on Operating System process and application containers"
HOMEPAGE = "https://github.com/opencontainers/runtime-spec"
SECTION = "devel/go"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=b355a61a394a504dacde901c958f662c"
SRCNAME = "runtime-spec"
PKG_NAME = "github.com/opencontainers/${SRCNAME}"
SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=main;protocol=https"
SRCREV = "701738418b9555d5213337a0991fd0ffd6c37808"
PV = "v1.2.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 ${D}${prefix}/local/go/src/${PKG_NAME}/
}
SYSROOT_PREPROCESS_FUNCS += "runtime_spec_file_sysroot_preprocess"
runtime_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"