Re: [meta-security][PATCH V3] meta-security: Add recipe for libhoth

Khem Raj

On Fri, Jul 22, 2022 at 1:00 PM John Broadbent <jebr@...> wrote:

That is unexpected.

The sha change should have changed the PAGE_SIZE to SPI_PAGE_SIZE,
correcting the macro shadowing issue.
right, I missed that in this v3 the SRCREV is bumped too which should
address the issue.

Thanks for very quick review
John Broadbent

On Fri, Jul 22, 2022 at 9:47 AM Khem Raj <raj.khem@...> wrote:

On Fri, Jul 22, 2022 at 12:35 PM John Broadbent via <> wrote:

From: John Edward Broadbent <jebr@...>

Libhoth is usb protocol implementation which is required for hoth class

Signed-off-by: John Edward Broadbent <jebr@...>
meta-tpm/recipes-tpm/hoth/ | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 meta-tpm/recipes-tpm/hoth/

diff --git a/meta-tpm/recipes-tpm/hoth/ b/meta-tpm/recipes-tpm/hoth/
new file mode 100644
index 0000000..a3ebce7
--- /dev/null
+++ b/meta-tpm/recipes-tpm/hoth/
@@ -0,0 +1,17 @@
+SUMMARY = "Google Hoth USB library"
+DESCRIPTION = "Libraries and example programs for interacting with a \
+ hoth-class root of trust."
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+SRC_URI = "git://;protocol=https;branch=main"
+SRCREV = "1622e8a040d21dd564fdc1cb4df5eda01688c197"
it still has the musl related issue, that I pointed out

+DEPENDS += "libusb1"
+S = "${WORKDIR}/git"
+inherit pkgconfig meson

Join to automatically receive all group messages.