diff options
author | Lans Zhang <jia.zhang@windriver.com> | 2017-07-27 14:03:42 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-27 22:36:52 +0100 |
commit | d95db290e9761166dd0acb6a519a9b4f92b0b6dc (patch) | |
tree | 970d2b421bc508ffa666088fe13d1ef4a7e5dc49 /meta | |
parent | b139ac4910a8c519076eaa865d9b0b7d9e604833 (diff) | |
download | poky-d95db290e9761166dd0acb6a519a9b4f92b0b6dc.tar.gz |
rpm: allow to enable RPM file signing
RPM file signing is enabled with --with-imaevm during configuration.
If enabled, the RPM signing tool rpmsign will call libimaevm.so provided
by the recipe ima-evm-utils.
(From OE-Core rev: 9d7797e4374c111f0dff523fd49354bcc33dc2af)
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
Signed-off-by: Jia Zhang <lans.zhang2008@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm_git.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_git.bb b/meta/recipes-devtools/rpm/rpm_git.bb index 2a0dcafac7..d9ff2c7fa5 100644 --- a/meta/recipes-devtools/rpm/rpm_git.bb +++ b/meta/recipes-devtools/rpm/rpm_git.bb | |||
@@ -71,6 +71,9 @@ EXTRA_OECONF_append_class-native = " --sysconfdir=/etc --localstatedir=/var --di | |||
71 | 71 | ||
72 | BBCLASSEXTEND = "native nativesdk" | 72 | BBCLASSEXTEND = "native nativesdk" |
73 | 73 | ||
74 | PACKAGECONFIG ??= "" | ||
75 | PACKAGECONFIG[imaevm] = "--with-imaevm,,ima-evm-utils" | ||
76 | |||
74 | # Direct rpm-native to read configuration from our sysroot, not the one it was compiled in | 77 | # Direct rpm-native to read configuration from our sysroot, not the one it was compiled in |
75 | # libmagic also has sysroot path contamination, so override it | 78 | # libmagic also has sysroot path contamination, so override it |
76 | do_install_append_class-native() { | 79 | do_install_append_class-native() { |