ima-inspect: add patch to fix compilation with newer ima-evm-utils

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
This commit is contained in:
Dmitry Eremin-Solenikov
2019-09-04 11:43:48 +03:00
parent d139491c9a
commit 6d1bd0da1f
2 changed files with 17 additions and 1 deletions
@@ -0,0 +1,13 @@
Index: git/configure.ac
===================================================================
--- git.orig/configure.ac
+++ git/configure.ac
@@ -9,7 +9,7 @@ AM_INIT_AUTOMAKE([foreign subdir-objects
AC_CONFIG_FILES([Makefile])
PKG_CHECK_MODULES([TCLAP], [tclap])
-AC_SEARCH_LIBS([do_dump], [imaevm], [], [
+AC_SEARCH_LIBS([imaevm_do_hexdump], [imaevm], [], [
AC_MSG_ERROR([unable to find libimaevm, you need ima-evm-utils-devel or similar package])
])
@@ -3,7 +3,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a23a74b3f4caf9616230789d94217acb"
DEPENDS += "attr ima-evm-utils tclap"
SRC_URI = "git://github.com/mgerstner/ima-inspect.git"
SRC_URI = " \
git://github.com/mgerstner/ima-inspect.git \
file://fix-new-imaevm.patch \
"
SRCREV = "e912be2d2a9fdf30a9693a7fc5d6b2473990a71c"
S = "${WORKDIR}/git"