-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
firecracker, jailer -bin: upgrade 1.3.3. -> 1.10.1
- Loading branch information
1 parent
334975a
commit 8575c18
Showing
2 changed files
with
51 additions
and
2 deletions.
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
recipes-containers/firecracker-bin/firecracker-bin_1.10.1.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
SUMMARY = "firecracker - Binary Distribution" | ||
DESCRIPTION = "Secure and fast microVMs for serverless computing." | ||
HOMEPAGE = "https://firecracker-microvm.github.io/" | ||
CVE_PRODUCT = "firecracker" | ||
LICENSE = "Apache-2.0" | ||
# nooelint: oelint.var.licenseremotefile:License-File | ||
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
|
||
ARCH_DIR:x86-64 = "x86_64" | ||
ARCH_DIR:aarch64 = "aarch64" | ||
|
||
COMPATIBLE_MACHINE = "null" | ||
COMPATIBLE_MACHINE:aarch64 = "(.*)" | ||
COMPATIBLE_MACHINE:x86-64 = "(.*)" | ||
|
||
# nooelint: oelint.vars.srcurichecksum | ||
SRC_URI = "https://github.com/firecracker-microvm/firecracker/releases/download/v${PV}/firecracker-v${PV}-${ARCH_DIR}.tgz;name=${ARCH_DIR}" | ||
|
||
SRC_URI[x86_64.sha256sum] = "36112969952b0e34fadcfca769d48a55dc22cbba99af17e02bd0e24fc35adc77" | ||
SRC_URI[aarch64.sha256sum] = "9e3641071de140979afaac0c52fdc107baeba398bdb5709c12f77ee469207fcd" | ||
|
||
UPSTREAM_CHECK_REGEX ?= "releases/tag/v?(?P<pver>\d+(\.\d+)+)" | ||
|
||
UPSTREAM_CHECK_URI = "https://github.com/firecracker-microvm/firecracker/releases" | ||
|
||
SRC_URI:append = " \ | ||
file://run-ptest \ | ||
" | ||
|
||
S = "${UNPACKDIR}/release-v${PV}-${TARGET_ARCH}" | ||
|
||
inherit bin_package ptest | ||
|
||
# nooelint: oelint.vars.insaneskip | ||
INSANE_SKIP:${PN} += "already-stripped" | ||
|
||
|
||
FILES:${PN} += "\ | ||
${bindir}/firecracker \ | ||
" | ||
|
||
do_install() { | ||
install -d ${D}${bindir} | ||
|
||
install -m 0755 ${S}/firecracker-v${PV}-${TARGET_ARCH} ${D}${bindir}/firecracker | ||
} | ||
|
||
# https://bugzilla.yoctoproject.org/show_bug.cgi?id=15227 | ||
PACKAGE_DEPENDS:append:class-target = " virtual/${TARGET_PREFIX}binutils" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters