summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb1
-rw-r--r--meta-oe/recipes-crypto/fsverity-utils/fsverity-utils_1.2.bb28
2 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
index 92190c8389..a63c940230 100644
--- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
+++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
@@ -186,6 +186,7 @@ RDEPENDS_packagegroup-meta-oe-core_remove_riscv32 = "safec"
186RDEPENDS_packagegroup-meta-oe-crypto ="\ 186RDEPENDS_packagegroup-meta-oe-crypto ="\
187 botan \ 187 botan \
188 cryptsetup \ 188 cryptsetup \
189 fsverity-utils \
189 libkcapi \ 190 libkcapi \
190 libmcrypt \ 191 libmcrypt \
191 libsodium \ 192 libsodium \
diff --git a/meta-oe/recipes-crypto/fsverity-utils/fsverity-utils_1.2.bb b/meta-oe/recipes-crypto/fsverity-utils/fsverity-utils_1.2.bb
new file mode 100644
index 0000000000..4d5dbafb34
--- /dev/null
+++ b/meta-oe/recipes-crypto/fsverity-utils/fsverity-utils_1.2.bb
@@ -0,0 +1,28 @@
1SUMMARY = "Userspace utilities for fs-verity"
2DESCRIPTION = "fs-verity is a Linux kernel feature that does transparent \
3on-demand integrity/authenticity verification of the contents of read-only \
4files, using a hidden Merkle tree (hash tree) associated with the file. The \
5mechanism is similar to dm-verity, but implemented at the file level rather \
6than at the block device level."
7HOMEPAGE = "https://www.kernel.org/doc/html/latest/filesystems/fsverity.html"
8SECTION = "console"
9LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=bc974d217b525ea216a336adb73e1220"
11
12SRCREV = "406187bb3a885e083b448b2c2aa42c22957ae629"
13SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/fsverity-utils.git"
14
15S = "${WORKDIR}/git"
16
17DEPENDS = "openssl"
18
19EXTRA_OEMAKE += "PREFIX=${prefix} USE_SHARED_LIB=1"
20
21do_install() {
22 oe_runmake install DESTDIR=${D}
23}
24
25PACKAGES =+ "libfsverity"
26FILES_libfsverity = "${libdir}/libfsverity*${SOLIBS}"
27
28BBCLASSEXTEND = "native nativesdk"