diff options
author | Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com> | 2019-09-04 11:43:48 +0300 |
---|---|---|
committer | Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com> | 2019-09-04 12:01:45 +0300 |
commit | 6d1bd0da1f8b6f28188fbdcc552df8c0dcf80a79 (patch) | |
tree | 9d8ff8c6a1dbdd98516533c644faa6a8e80e62a6 /meta-integrity | |
parent | d139491c9ad4ca3f85ac01432c856ebcd41d706b (diff) | |
download | meta-secure-core-6d1bd0da1f8b6f28188fbdcc552df8c0dcf80a79.tar.gz |
ima-inspect: add patch to fix compilation with newer ima-evm-utils
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Diffstat (limited to 'meta-integrity')
-rw-r--r-- | meta-integrity/recipes-support/ima-inspect/ima-inspect/fix-new-imaevm.patch | 13 | ||||
-rw-r--r-- | meta-integrity/recipes-support/ima-inspect/ima-inspect_0.11.bb | 5 |
2 files changed, 17 insertions, 1 deletions
diff --git a/meta-integrity/recipes-support/ima-inspect/ima-inspect/fix-new-imaevm.patch b/meta-integrity/recipes-support/ima-inspect/ima-inspect/fix-new-imaevm.patch new file mode 100644 index 0000000..6ba0fcd --- /dev/null +++ b/meta-integrity/recipes-support/ima-inspect/ima-inspect/fix-new-imaevm.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | Index: git/configure.ac | ||
2 | =================================================================== | ||
3 | --- git.orig/configure.ac | ||
4 | +++ git/configure.ac | ||
5 | @@ -9,7 +9,7 @@ AM_INIT_AUTOMAKE([foreign subdir-objects | ||
6 | AC_CONFIG_FILES([Makefile]) | ||
7 | |||
8 | PKG_CHECK_MODULES([TCLAP], [tclap]) | ||
9 | -AC_SEARCH_LIBS([do_dump], [imaevm], [], [ | ||
10 | +AC_SEARCH_LIBS([imaevm_do_hexdump], [imaevm], [], [ | ||
11 | AC_MSG_ERROR([unable to find libimaevm, you need ima-evm-utils-devel or similar package]) | ||
12 | ]) | ||
13 | |||
diff --git a/meta-integrity/recipes-support/ima-inspect/ima-inspect_0.11.bb b/meta-integrity/recipes-support/ima-inspect/ima-inspect_0.11.bb index 8a3b239..09cbe15 100644 --- a/meta-integrity/recipes-support/ima-inspect/ima-inspect_0.11.bb +++ b/meta-integrity/recipes-support/ima-inspect/ima-inspect_0.11.bb | |||
@@ -3,7 +3,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a23a74b3f4caf9616230789d94217acb" | |||
3 | 3 | ||
4 | DEPENDS += "attr ima-evm-utils tclap" | 4 | DEPENDS += "attr ima-evm-utils tclap" |
5 | 5 | ||
6 | SRC_URI = "git://github.com/mgerstner/ima-inspect.git" | 6 | SRC_URI = " \ |
7 | git://github.com/mgerstner/ima-inspect.git \ | ||
8 | file://fix-new-imaevm.patch \ | ||
9 | " | ||
7 | SRCREV = "e912be2d2a9fdf30a9693a7fc5d6b2473990a71c" | 10 | SRCREV = "e912be2d2a9fdf30a9693a7fc5d6b2473990a71c" |
8 | 11 | ||
9 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |