mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
Add recipe for fsverity-utils
Library and command-line tool to manage the fs-verity feature, introduced in Linux 5.4 and supported in ext4 and f2fs filesystems. https://www.kernel.org/doc/html/latest/filesystems/fsverity.html Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -186,6 +186,7 @@ RDEPENDS_packagegroup-meta-oe-core_remove_riscv32 = "safec"
|
|||||||
RDEPENDS_packagegroup-meta-oe-crypto ="\
|
RDEPENDS_packagegroup-meta-oe-crypto ="\
|
||||||
botan \
|
botan \
|
||||||
cryptsetup \
|
cryptsetup \
|
||||||
|
fsverity-utils \
|
||||||
libkcapi \
|
libkcapi \
|
||||||
libmcrypt \
|
libmcrypt \
|
||||||
libsodium \
|
libsodium \
|
||||||
|
|||||||
@@ -0,0 +1,28 @@
|
|||||||
|
SUMMARY = "Userspace utilities for fs-verity"
|
||||||
|
DESCRIPTION = "fs-verity is a Linux kernel feature that does transparent \
|
||||||
|
on-demand integrity/authenticity verification of the contents of read-only \
|
||||||
|
files, using a hidden Merkle tree (hash tree) associated with the file. The \
|
||||||
|
mechanism is similar to dm-verity, but implemented at the file level rather \
|
||||||
|
than at the block device level."
|
||||||
|
HOMEPAGE = "https://www.kernel.org/doc/html/latest/filesystems/fsverity.html"
|
||||||
|
SECTION = "console"
|
||||||
|
LICENSE = "MIT"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=bc974d217b525ea216a336adb73e1220"
|
||||||
|
|
||||||
|
SRCREV = "406187bb3a885e083b448b2c2aa42c22957ae629"
|
||||||
|
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/fsverity-utils.git"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
DEPENDS = "openssl"
|
||||||
|
|
||||||
|
EXTRA_OEMAKE += "PREFIX=${prefix} USE_SHARED_LIB=1"
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
oe_runmake install DESTDIR=${D}
|
||||||
|
}
|
||||||
|
|
||||||
|
PACKAGES =+ "libfsverity"
|
||||||
|
FILES_libfsverity = "${libdir}/libfsverity*${SOLIBS}"
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
Reference in New Issue
Block a user